| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- package com.dk.mdm.model.pojo.mst;
- 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.math.BigDecimal;
- import java.util.List;
- import java.time.LocalDateTime;
- /**
- * 活动明细
- */
- @Data
- @AllArgsConstructor
- @NoArgsConstructor
- @EqualsAndHashCode(callSuper = true)
- @Accessors(chain = true)
- @ExportTitle("活动明细")
- @TableName(value = "t_mst_activity_item", autoResultMap = true,schema = "dkic_a")
- @ApiModel(value="实体类:活动明细", description="表名:t_mst_activity_item")
- public class ActivityItemQuery extends PageInfo<ActivityItemQuery> implements Serializable {
- /*
- * 数据库字段
- */
- /**
- * 明细ID
- */
- @TableId(value = "item_id", type = IdType.AUTO)
- @ApiModelProperty(value = "明细ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String itemId;
- /**
- * 活动ID
- */
- @Excel(name = "活动ID")
- @ApiModelProperty(value = "活动ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String activityId;
- /**
- * 明细描述
- */
- @Excel(name = "明细描述")
- @ApiModelProperty(value = "明细描述")
- private String activityItemDescribe;
- /**
- * 活动明细名称
- */
- @Excel(name = "活动明细名称")
- @ApiModelProperty(value = "活动明细名称")
- private String activityItemName;
- /**
- * 打包价格
- */
- @Excel(name = "打包价格")
- @ApiModelProperty(value = "打包价格")
- private BigDecimal stdPrice;
- /**
- * PC端价格
- */
- @Excel(name = "PC端价格")
- @ApiModelProperty(value = "PC端价格")
- private BigDecimal webPrice;
- /**
- * 手机端价格
- */
- @Excel(name = "手机端价格")
- @ApiModelProperty(value = "手机端价格")
- private BigDecimal wxPrice;
- /**
- * 时长 (单位(天))
- */
- @Excel(name = "时长 (单位(天))")
- @ApiModelProperty(value = "时长 (单位(天))")
- private Integer validLong;
- /**
- * 赠送时长 (单位(天))
- */
- @Excel(name = "赠送时长 (单位(天))")
- @ApiModelProperty(value = "赠送时长 (单位(天))")
- private Integer extraLong;
- /**
- * 有效标识 (1:正常 0:停用)
- */
- @Excel(name = "有效标识 (1:正常 0:停用)")
- @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
- private Boolean flgValid;
- /**
- * 创建时间 (触发器自动处理)
- */
- @Excel(name = "创建时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
- @ApiModelProperty(value = "创建时间 (触发器自动处理)")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime opCreateTime;
- /**
- * 创建用户 (触发器自动处理)
- */
- @Excel(name = "创建用户 (触发器自动处理)")
- @ApiModelProperty(value = "创建用户 (触发器自动处理)")
- private Long opCreateUserId;
- /**
- * 修改时间 (触发器自动处理)
- */
- @Excel(name = "修改时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
- @ApiModelProperty(value = "修改时间 (触发器自动处理)")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime opUpdateTime;
- /**
- * 修改用户 (触发器自动处理)
- */
- @Excel(name = "修改用户 (触发器自动处理)")
- @ApiModelProperty(value = "修改用户 (触发器自动处理)")
- private Long opUpdateUserId;
- /**
- * 数据操作应用 (触发器自动处理)
- */
- @Excel(name = "数据操作应用 (触发器自动处理)")
- @ApiModelProperty(value = "数据操作应用 (触发器自动处理)")
- private String opAppCode;
- /**
- * 数据时间戳 (触发器自动处理)
- */
- @Excel(name = "数据时间戳 (触发器自动处理)")
- @ApiModelProperty(value = "数据时间戳 (触发器自动处理)")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime opTimestamp;
- /**
- * 数据操作数据库用户 (触发器自动处理)
- */
- @Excel(name = "数据操作数据库用户 (触发器自动处理)")
- @ApiModelProperty(value = "数据操作数据库用户 (触发器自动处理)")
- private String opDbUser;
- /*
- * 相关属性
- * @TableField(exist = false)
- */
- /*
- * 关联属性 + 查询条件
- * @TableField(exist = false)
- */
- private static final long serialVersionUID = 1L;
- }
|