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.LocalDate; import java.time.LocalDateTime; /** * 积分明细 */ @Data @Accessors(chain = true) public class IntegralItemQuery extends PageInfo { /* * 数据库字段 */ /** * 积分明细ID */ @ApiModelProperty(value = "积分明细ID") @TableField(typeHandler = UuidTypeHandler.class) private String itemId; /** * 积分类型 (【系统字典】注册;签到;分享;使用) */ @Excel(name = "积分类型 (【系统字典】注册;签到;分享;使用)") @ApiModelProperty(value = "积分类型 (【系统字典】注册;签到;分享;使用)") private String integralType; /** * 积分 (使用存负数) */ @Excel(name = "积分 (使用存负数)") @ApiModelProperty(value = "积分 (使用存负数)") private Integer integral; /** * 公司ID */ @Excel(name = "公司ID") @ApiModelProperty(value = "公司ID") private Integer cpId; /** * 来源公司Id */ @Excel(name = "来源公司Id") @ApiModelProperty(value = "来源公司Id") private Integer cpIdFrom; /** * 日期 */ @Excel(name = "日期") @ApiModelProperty(value = "日期") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField(typeHandler = TimestampTypeHandler.class) private LocalDateTime accDate; /** * 开始日期 */ @ApiModelProperty(value = "开始日期") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField(typeHandler = TimestampTypeHandler.class) private LocalDate accDateStart; /** * 截止日期 */ @Excel(name = "截止日期") @ApiModelProperty(value = "账务截止日期") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField(typeHandler = TimestampTypeHandler.class) private LocalDate accDateEnd; /** * 有效标识 (1:正常 0:停用) */ @Excel(name = "有效标识 (1:正常 0:停用)") @ApiModelProperty(value = "有效标识 (1:正常 0:停用)") private Boolean flgValid; /** * 操作用户 (企业微信ID) */ @Excel(name = "操作用户 (企业微信ID)") @ApiModelProperty(value = "操作用户 (企业微信ID)") @TableField(typeHandler = UuidTypeHandler.class) private String userId; /** * 备注 */ @Excel(name = "备注") @ApiModelProperty(value = "备注") private String remarks; /* * 相关属性 * @TableField(exist = false) */ /* * 关联属性 + 查询条件 * @TableField(exist = false) */ @Excel(name = "商户名称") @ApiModelProperty(value = "商户名称") private String cpName; @Excel(name = "来源商户名称") @ApiModelProperty(value = "来源商户名称") private String cpNameFrom; private static final long serialVersionUID = 1L; }