| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- package com.dk.mdm.model.pojo.mac;
- 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.time.LocalDate;
- import java.util.List;
- import java.time.LocalDateTime;
- /**
- * 应收还款明细
- */
- @Data
- @AllArgsConstructor
- @NoArgsConstructor
- @EqualsAndHashCode(callSuper = true)
- @Accessors(chain = true)
- @ExportTitle("应收还款明细")
- @TableName(value = "t_mac_receivable_handle_item", autoResultMap = true)
- @ApiModel(value="实体类:应收还款明细", description="表名:t_mac_receivable_handle_item")
- public class ReceivableHandleItem extends PageInfo<ReceivableHandleItem> 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")
- private String handleId;
- /**
- * 还款日期
- */
- @Excel(name = "还款日期")
- @ApiModelProperty(value = "还款日期")
- @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDate handleDate;
- /**
- * 账务对象 (客户)
- */
- @Excel(name = "账务对象 (客户)")
- @ApiModelProperty(value = "账务对象 (客户)")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String objectId;
- /**
- * 应收类型 (正向应收单)
- */
- @Excel(name = "应收类型 (正向应收单)")
- @ApiModelProperty(value = "应收类型 (正向应收单)")
- private String rec1Type;
- /**
- * 应收单ID (正向应收单)
- */
- @Excel(name = "应收单ID (正向应收单)")
- @ApiModelProperty(value = "应收单ID (正向应收单)")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String rec1Id;
- /**
- * 还款金额 (正向应收金额(正数))
- */
- @Excel(name = "还款金额 (正向应收金额(正数))")
- @ApiModelProperty(value = "还款金额 (正向应收金额(正数))")
- private BigDecimal rec1HandleAmt;
- /**
- * 优惠金额
- */
- @Excel(name = "优惠金额")
- @ApiModelProperty(value = "优惠金额")
- private BigDecimal rec1WaiveAmt;
- /**
- * 应收类型 (反向应收单)
- */
- @Excel(name = "应收类型 (反向应收单)")
- @ApiModelProperty(value = "应收类型 (反向应收单)")
- private String rec2Type;
- /**
- * 应收单ID (反向应收单)
- */
- @Excel(name = "应收单ID (反向应收单)")
- @ApiModelProperty(value = "应收单ID (反向应收单)")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String rec2Id;
- /**
- * 还款金额 (反向应收金额(负数))
- */
- @Excel(name = "还款金额 (反向应收金额(负数))")
- @ApiModelProperty(value = "还款金额 (反向应收金额(负数))")
- private BigDecimal rec2HandleAmt;
- /**
- * 备注
- */
- @Excel(name = "备注")
- @ApiModelProperty(value = "备注")
- private String remarks;
- /**
- * 有效标识 (1:正常 0:停用)
- */
- @Excel(name = "有效标识 (1:正常 0:停用)")
- @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
- private Boolean flgValid;
- /**
- * 企业ID
- */
- @TableField(fill = FieldFill.INSERT)
- @Excel(name = "企业ID")
- @ApiModelProperty(value = "企业ID")
- private Integer cpId;
- /**
- * 创建时间 (触发器自动处理)
- */
- @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 = "创建用户 (触发器自动处理)")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String 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 = "修改用户 (触发器自动处理)")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String 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;
- }
|