MemberOrder.java 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. package com.goafanti.common.model;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import com.fasterxml.jackson.annotation.JsonFormat.Shape;
  5. public class MemberOrder {
  6. private Long id;
  7. /**
  8. * 付费会员类型
  9. */
  10. private Integer menberType;
  11. /**
  12. * 价格
  13. */
  14. private Double price;
  15. /**
  16. * 会员月类型
  17. */
  18. private Integer validMonth;
  19. /**
  20. * 付款状态 0:未付款 1:已付款
  21. */
  22. private Integer orderState;
  23. /**
  24. * 下单时间
  25. */
  26. private Date orderTime;
  27. /**
  28. * 用户ID 外键
  29. */
  30. private String userId;
  31. /**
  32. * 支付时间
  33. */
  34. private Date paymentTime;
  35. /**
  36. * 实际支付金额
  37. */
  38. private Double paymentValue;
  39. /**
  40. * 支付方式
  41. */
  42. private String paymentType;
  43. /**
  44. * 支付流水号
  45. */
  46. private String paymentId;
  47. /**
  48. * 有效时间
  49. */
  50. private Date validTime;
  51. @JsonFormat(shape = Shape.STRING)
  52. public Long getId() {
  53. return id;
  54. }
  55. public void setId(Long id) {
  56. this.id = id;
  57. }
  58. public Integer getMenberType() {
  59. return menberType;
  60. }
  61. public void setMenberType(Integer menberType) {
  62. this.menberType = menberType;
  63. }
  64. public Double getPrice() {
  65. return price;
  66. }
  67. public void setPrice(Double price) {
  68. this.price = price;
  69. }
  70. public Integer getValidMonth() {
  71. return validMonth;
  72. }
  73. public void setValidMonth(Integer validMonth) {
  74. this.validMonth = validMonth;
  75. }
  76. public Integer getOrderState() {
  77. return orderState;
  78. }
  79. public void setOrderState(Integer orderState) {
  80. this.orderState = orderState;
  81. }
  82. public Date getOrderTime() {
  83. return orderTime;
  84. }
  85. public void setOrderTime(Date orderTime) {
  86. this.orderTime = orderTime;
  87. }
  88. public String getUserId() {
  89. return userId;
  90. }
  91. public void setUserId(String userId) {
  92. this.userId = userId;
  93. }
  94. public Date getPaymentTime() {
  95. return paymentTime;
  96. }
  97. public void setPaymentTime(Date paymentTime) {
  98. this.paymentTime = paymentTime;
  99. }
  100. public Double getPaymentValue() {
  101. return paymentValue;
  102. }
  103. public void setPaymentValue(Double paymentValue) {
  104. this.paymentValue = paymentValue;
  105. }
  106. public String getPaymentType() {
  107. return paymentType;
  108. }
  109. public void setPaymentType(String paymentType) {
  110. this.paymentType = paymentType;
  111. }
  112. public String getPaymentId() {
  113. return paymentId;
  114. }
  115. public void setPaymentId(String paymentId) {
  116. this.paymentId = paymentId;
  117. }
  118. public Date getValidTime() {
  119. return validTime;
  120. }
  121. public void setValidTime(Date validTime) {
  122. this.validTime = validTime;
  123. }
  124. }