package com.dsh.course.feignClient.activity.model;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* 用户红包记录
|
*/
|
@Data
|
public class UserRedPacketRecordRes {
|
/**
|
* 主键
|
*/
|
private Integer id;
|
/**
|
* 金额
|
*/
|
private Double money;
|
/**
|
* 过期时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date expirationTime;
|
/**
|
* 添加时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date insertTime;
|
/**
|
* 企业id
|
*/
|
private Integer companyId;
|
/**
|
* 状态(0=临时,1=未使用,2=已使用,3=已过期)
|
*/
|
private Integer state;
|
/**
|
* 使用结束时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date endTime;
|
/**
|
* 订单id(获取红包的订单)
|
*/
|
private Long orderId;
|
/**
|
* 订单类型(1=专车,4=小件物流)
|
*/
|
private Integer orderType;
|
/**
|
* 用户id
|
*/
|
private Integer userId;
|
/**
|
* 活动id
|
* @return
|
*/
|
private Integer redPacketActivityId;
|
}
|