| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- package com.goafanti.common.model;
- import java.util.Date;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.fasterxml.jackson.annotation.JsonFormat.Shape;
- public class MemberOrder {
- private Long id;
- /**
- * 付费会员类型
- */
- private Integer menberType;
- /**
- * 价格
- */
- private Double price;
- /**
- * 会员月类型
- */
- private Integer validMonth;
- /**
- * 付款状态 0:未付款 1:已付款
- */
- private Integer orderState;
- /**
- * 下单时间
- */
- private Date orderTime;
- /**
- * 用户ID 外键
- */
- private String userId;
- /**
- * 支付时间
- */
- private Date paymentTime;
- /**
- * 实际支付金额
- */
- private Double paymentValue;
- /**
- * 支付方式
- */
- private String paymentType;
- /**
- * 支付流水号
- */
- private String paymentId;
- /**
- * 有效时间
- */
- private Date validTime;
- @JsonFormat(shape = Shape.STRING)
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public Integer getMenberType() {
- return menberType;
- }
- public void setMenberType(Integer menberType) {
- this.menberType = menberType;
- }
- public Double getPrice() {
- return price;
- }
- public void setPrice(Double price) {
- this.price = price;
- }
- public Integer getValidMonth() {
- return validMonth;
- }
- public void setValidMonth(Integer validMonth) {
- this.validMonth = validMonth;
- }
- public Integer getOrderState() {
- return orderState;
- }
- public void setOrderState(Integer orderState) {
- this.orderState = orderState;
- }
- public Date getOrderTime() {
- return orderTime;
- }
- public void setOrderTime(Date orderTime) {
- this.orderTime = orderTime;
- }
- public String getUserId() {
- return userId;
- }
- public void setUserId(String userId) {
- this.userId = userId;
- }
- public Date getPaymentTime() {
- return paymentTime;
- }
- public void setPaymentTime(Date paymentTime) {
- this.paymentTime = paymentTime;
- }
- public Double getPaymentValue() {
- return paymentValue;
- }
- public void setPaymentValue(Double paymentValue) {
- this.paymentValue = paymentValue;
- }
- public String getPaymentType() {
- return paymentType;
- }
- public void setPaymentType(String paymentType) {
- this.paymentType = paymentType;
- }
- public String getPaymentId() {
- return paymentId;
- }
- public void setPaymentId(String paymentId) {
- this.paymentId = paymentId;
- }
- public Date getValidTime() {
- return validTime;
- }
- public void setValidTime(Date validTime) {
- this.validTime = validTime;
- }
- }
|