package com.dsh.account.feignclient.activity.model;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2023/11/28 10:38
|
*/
|
@Data
|
public class UserCouponPayment {
|
/**
|
* 主键
|
*/
|
private Long id;
|
/**
|
* 优惠券id
|
*/
|
private Integer couponId;
|
/**
|
* 用户id
|
*/
|
private Integer userId;
|
/**
|
* 支付状态(1=待支付,2=已支付)
|
*/
|
private Integer status;
|
/**
|
* 流水号
|
*/
|
private String code;
|
/**
|
* 支付方式(1=积分兑换,2=积分+现金)
|
*/
|
private Integer payType;
|
/**
|
* 积分支付数量
|
*/
|
private Integer integral;
|
/**
|
* 现金支付金额
|
*/
|
private Double cash;
|
/**
|
* 现金支付方式(1=微信,2=支付宝)
|
*/
|
private Integer cashPayType;
|
/**
|
* 第三方支付流水号
|
*/
|
private String orderNumber;
|
/**
|
* 支付时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date paymentTime;
|
/**
|
* 添加时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date insertTime;
|
}
|