package com.dsh.activity.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 惠民卡
|
* </p>
|
*
|
* @author jqs
|
* @since 2023-07-12
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_pay_huimin")
|
public class TPayHuimin extends Model<TPayHuimin> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 金额
|
*/
|
@TableField("salesMoney")
|
private BigDecimal salesMoney;
|
/**
|
*购买用户id
|
*/
|
@TableField("appUserId")
|
private Integer appUserId;
|
/**
|
*绑定人员id,多个逗号拼接,关联student表
|
*/
|
@TableField("studentId")
|
private String studentId;
|
/**
|
*有效期
|
*/
|
@TableField("endTime")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
private Date endTime;
|
/**
|
*创建时间
|
*/
|
@TableField("insertTime")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
private Date insertTime;
|
/**
|
*付款时间
|
*/
|
@TableField("paymentTime")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
private Date paymentTime;
|
/**
|
*退款时间
|
*/
|
@TableField("refundTime")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
private Date refundTime;
|
/**
|
*状态1待支付2已支付3已退款
|
*/
|
@TableField("status")
|
private Integer status;
|
/**
|
*付款方式1微信2支付宝
|
*/
|
@TableField("paymentType")
|
private Integer paymentType;
|
/**
|
*退款状态 1未退款 2已退款 3线下退款(使用过或超过七日退款)
|
*/
|
@TableField("refundStatus")
|
private Integer refundStatus;
|
/**
|
*惠民卡id
|
*/
|
@TableField("cardId")
|
private Integer cardId;
|
/**
|
*订单号
|
*/
|
@TableField("code")
|
private String code;
|
/**
|
*第三方支付流水号
|
*/
|
@TableField("orderNumber")
|
private String orderNumber;
|
/**
|
*退款流水号
|
*/
|
@TableField("refundNumber")
|
private String refundNumber;
|
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|