| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- package com.dk.oauth.model.query.integral;
- import cn.afterturn.easypoi.excel.annotation.Excel;
- import com.baomidou.mybatisplus.annotation.TableField;
- 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.ApiModelProperty;
- import lombok.Data;
- import lombok.experimental.Accessors;
- import java.time.LocalDateTime;
- /**
- * 优惠券使用
- */
- @Data
- @Accessors(chain = true)
- public class CouponReceiveQuery extends PageInfo<CouponReceiveQuery> {
- /*
- * 数据库字段
- */
- /**
- * 优惠券使用ID
- */
- @ApiModelProperty(value = "优惠券使用ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String useId;
- /**
- * 公司ID
- */
- @ApiModelProperty(value = "公司ID")
- private Integer cpId;
- /**
- * 优惠券ID
- */
- @Excel(name = "优惠券ID")
- @ApiModelProperty(value = "优惠券ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String couponId;
- /**
- * 优惠券发出ID
- */
- @ApiModelProperty(value = "优惠券发出ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String sendId;
- /**
- * 微信Id
- */
- @Excel(name = "微信Id")
- @ApiModelProperty(value = "微信Id")
- private Integer userWxid;
- /**
- * 助力日期
- */
- @Excel(name = "助力日期")
- @ApiModelProperty(value = "助力日期")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime assistDate;
- /**
- * 有效标识 (1:正常 0:停用)
- */
- @Excel(name = "有效标识 (1:正常 0:停用)")
- @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
- private Boolean flgValid;
- /*
- * 相关属性
- * @TableField(exist = false)
- */
- /*
- * 关联属性 + 查询条件
- * @TableField(exist = false)
- */
- @Excel(name = "商户名称")
- @ApiModelProperty(value = "商户名称")
- private String cpName;
- @Excel(name = "优惠券名称")
- @ApiModelProperty(value = "优惠券名称")
- private String couponName;
- @ApiModelProperty(value = "查询7天内是否助力过")
- private Boolean assistFlag;
- private static final long serialVersionUID = 1L;
- }
|