| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- package com.dk.oauth.model.pojo.integral;
- import cn.afterturn.easypoi.excel.annotation.Excel;
- import com.baomidou.mybatisplus.annotation.*;
- import java.io.Serializable;
- import com.dk.common.infrastructure.annotaiton.ExportTitle;
- import com.dk.common.infrastructure.handler.*;
- import com.dk.common.model.pojo.PageInfo;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import lombok.AllArgsConstructor;
- import lombok.NoArgsConstructor;
- import lombok.EqualsAndHashCode;
- import lombok.experimental.Accessors;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import com.alibaba.fastjson.JSONObject;
- import java.util.List;
- import java.time.LocalDateTime;
- /**
- * 优惠券使用
- */
- @Data
- @AllArgsConstructor
- @NoArgsConstructor
- @EqualsAndHashCode(callSuper = true)
- @Accessors(chain = true)
- @ExportTitle("优惠券使用")
- @TableName(value = "t_mst_coupon_use", autoResultMap = true, schema = "dkic_a")
- @ApiModel(value="实体类:优惠券使用", description="表名:t_mst_coupon_use")
- public class CouponUse extends PageInfo<CouponUse> implements Serializable {
- /*
- * 数据库字段
- */
- /**
- * 优惠券使用ID
- */
- // @TableId(value = "use_id", type = IdType.AUTO)
- @ApiModelProperty(value = "优惠券使用ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String useId;
- /**
- * 公司ID
- */
- @ApiModelProperty(value = "公司ID")
- private Integer cpId;
- /**
- * 优惠券发出ID
- */
- @ApiModelProperty(value = "优惠券发出ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String sendId;
- /**
- * 优惠券ID
- */
- @Excel(name = "优惠券ID")
- @ApiModelProperty(value = "优惠券ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String couponId;
- /**
- * 使用有效期
- */
- @Excel(name = "使用有效期")
- @ApiModelProperty(value = "使用有效期")
- private Integer useValidDays;
- /**
- * 获取日期
- */
- @Excel(name = "获取日期")
- @ApiModelProperty(value = "获取日期")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime receiveDate;
- /**
- * 核销日期
- */
- @Excel(name = "核销日期")
- @ApiModelProperty(value = "核销日期")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime useDate;
- /**
- * 优惠券状态 (【系统字典】未使用、已使用、已失效)
- */
- @Excel(name = "优惠券状态 (【系统字典】未使用、已使用、已失效)")
- @ApiModelProperty(value = "优惠券状态 (【系统字典】未使用、已使用、已失效)")
- private String couponStatus;
- /**
- * 获取用户
- */
- @Excel(name = "获取用户")
- @ApiModelProperty(value = "获取用户")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String receiveUser;
- /**
- * 有效标识 (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;
- }
|