package cc.mrbird.febs.vip.entity; import cc.mrbird.febs.common.entity.BaseEntity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; @Data @TableName(value = "mall_vip_benefits_record") public class MallVipBenefitsRecord extends BaseEntity { @TableField(exist = false) private String memberName; @TableField(exist = false) private String memberPhone; @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField(exist = false) private Date birthday; private Long memberId ; /** 权益名称 */ private String benefitsName ; /** 权益类型; 1-会员日 2-生日 */ private Integer benefitsType ; /** 领取名称 */ private String receiveName ; /** 领取数量 */ private Integer receiveCnt ; /** 领取时间 */ @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date receiveTime ; /** 领取类型;2-商品 3-优惠券 */ private Integer receiveType ; /** 领取ID */ private Long receiveId ; private Integer status; @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField(exist = false) private Date birthdayStart; @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField(exist = false) private Date birthdayEnd; @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField(exist = false) private Date receiveStartTime; @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField(exist = false) private Date receiveEndTime; }