| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- 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.UuidTypeHandler;
- import com.dk.common.model.pojo.PageInfo;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
- import lombok.experimental.Accessors;
- import java.math.BigDecimal;
- /**
- * 优惠券
- */
- @Data
- @Accessors(chain = true)
- public class CouponQuery extends PageInfo<CouponQuery>{
- /*
- * 数据库字段
- */
- /**
- * 优惠券ID
- */
- @ApiModelProperty(value = "优惠券ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String couponId;
- /**
- * 优惠券名称
- */
- @Excel(name = "优惠券名称")
- @ApiModelProperty(value = "优惠券名称")
- private String couponName;
- /**
- * 优惠券描述
- */
- @Excel(name = "优惠券描述")
- @ApiModelProperty(value = "优惠券描述")
- private String couponDesc;
- /**
- * 折扣
- */
- @Excel(name = "折扣")
- @ApiModelProperty(value = "折扣")
- private BigDecimal discount;
- /**
- * 使用有效期 (优惠券在使用有效期内有效(单位:天))
- */
- @Excel(name = "使用有效期 (优惠券在使用有效期内有效(单位:天))")
- @ApiModelProperty(value = "使用有效期 (优惠券在使用有效期内有效(单位:天))")
- private Integer useValidDays;
- /**
- * 链接有效期 (优惠券发出链接的有效期(单位:小时))
- */
- @Excel(name = "链接有效期 (优惠券发出链接的有效期(单位:小时))")
- @ApiModelProperty(value = "链接有效期 (优惠券发出链接的有效期(单位:小时))")
- private Integer linkValidTimes;
- /**
- * 所需人数
- */
- @Excel(name = "所需人数")
- @ApiModelProperty(value = "所需人数")
- private Integer userNum;
- /**
- * 显示顺序 (【1 ~ 46655】)
- */
- @Excel(name = "显示顺序 (【1 ~ 46655】)")
- @ApiModelProperty(value = "显示顺序 (【1 ~ 46655】)")
- private Integer displayNo;
- /**
- * 有效标识 (1:正常 0:停用)
- */
- @Excel(name = "有效标识 (1:正常 0:停用)")
- @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
- private Boolean flgValid;
- /**
- * 系统版本
- */
- @Excel(name = "系统版本")
- @ApiModelProperty(value = "系统版本")
- private String gradeCode;
- /*
- * 相关属性
- * @TableField(exist = false)
- */
- /*
- * 关联属性 + 查询条件
- * @TableField(exist = false)
- */
- private static final long serialVersionUID = 1L;
- }
|