| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- package com.dk.oauth.model.VO.integral;
- import cn.afterturn.easypoi.excel.annotation.Excel;
- 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.dk.common.infrastructure.annotaiton.ExportTitle;
- import com.dk.common.infrastructure.handler.TimestampTypeHandler;
- import com.dk.common.infrastructure.handler.UuidTypeHandler;
- import com.dk.common.model.pojo.PageInfo;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.AllArgsConstructor;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import lombok.NoArgsConstructor;
- import lombok.experimental.Accessors;
- import java.io.Serializable;
- import java.time.LocalDateTime;
- /**
- * 优惠券发出
- */
- @Data
- @Accessors(chain = true)
- public class CouponSendVO {
- /*
- * 数据库字段
- */
- /**
- * 公司ID
- */
- @ApiModelProperty(value = "公司ID")
- private Integer cpId;
- /**
- * 优惠券ID
- */
- @Excel(name = "优惠券ID")
- @ApiModelProperty(value = "优惠券ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String couponId;
- /**
- * 发出时间
- */
- @Excel(name = "发出时间")
- @ApiModelProperty(value = "发出时间")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime sendDate;
- /**
- * 截止时间
- */
- @Excel(name = "截止时间")
- @ApiModelProperty(value = "截止时间")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime endDate;
- /**
- * 所需人数
- */
- @Excel(name = "所需人数")
- @ApiModelProperty(value = "所需人数")
- private Integer userNum;
- /**
- * 有效标识 (1:正常 0:停用)
- */
- @Excel(name = "有效标识 (1:正常 0:停用)")
- @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
- private Boolean flgValid;
- /*
- * 相关属性
- * @TableField(exist = false)
- */
- /*
- * 关联属性 + 查询条件
- * @TableField(exist = false)
- */
- private static final long serialVersionUID = 1L;
- }
|