RecPayHandleItemVO.java 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. package com.dk.mdm.model.vo.mac;
  2. import cn.afterturn.easypoi.excel.annotation.Excel;
  3. import com.baomidou.mybatisplus.annotation.FieldFill;
  4. import com.baomidou.mybatisplus.annotation.TableField;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import com.dk.common.infrastructure.annotaiton.ExportTitle;
  7. import com.dk.common.infrastructure.handler.TimestampTypeHandler;
  8. import com.dk.common.infrastructure.handler.UuidTypeHandler;
  9. import com.dk.common.model.pojo.PageInfo;
  10. import com.fasterxml.jackson.annotation.JsonFormat;
  11. import io.swagger.annotations.ApiModel;
  12. import io.swagger.annotations.ApiModelProperty;
  13. import lombok.AllArgsConstructor;
  14. import lombok.Data;
  15. import lombok.EqualsAndHashCode;
  16. import lombok.NoArgsConstructor;
  17. import lombok.experimental.Accessors;
  18. import java.io.Serializable;
  19. import java.math.BigDecimal;
  20. import java.time.LocalDate;
  21. /**
  22. * 账务冲抵明细
  23. */
  24. @Data
  25. @AllArgsConstructor
  26. @NoArgsConstructor
  27. @EqualsAndHashCode(callSuper = true)
  28. @Accessors(chain = true)
  29. @ExportTitle("账务冲抵明细")
  30. @TableName(value = "t_mac_rec_pay_handle_item", autoResultMap = true)
  31. @ApiModel(value="实体类:账务冲抵明细", description="表名:t_mac_rec_pay_handle_item")
  32. public class RecPayHandleItemVO extends PageInfo<RecPayHandleItemVO> implements Serializable {
  33. /*
  34. * 数据库字段
  35. */
  36. /**
  37. * 明细ID
  38. */
  39. // @TableId(value = "item_id", type = IdType.AUTO)
  40. @ApiModelProperty(value = "明细ID")
  41. @TableField(typeHandler = UuidTypeHandler.class)
  42. private String itemId;
  43. /**
  44. * 收付款单ID
  45. */
  46. @Excel(name = "收付款单ID")
  47. @ApiModelProperty(value = "收付款单ID")
  48. @TableField(typeHandler = UuidTypeHandler.class)
  49. private String rpId;
  50. /**
  51. * 账款明细ID
  52. */
  53. @Excel(name = "账款明细ID")
  54. @ApiModelProperty(value = "账款明细ID")
  55. @TableField(typeHandler = UuidTypeHandler.class)
  56. private String accItemId;
  57. /**
  58. * 应收冲抵金额
  59. */
  60. @Excel(name = "应收冲抵金额")
  61. @ApiModelProperty(value = "应收冲抵金额")
  62. private BigDecimal amtReceivableHandle;
  63. /**
  64. * 应付冲抵金额
  65. */
  66. @Excel(name = "应付冲抵金额")
  67. @ApiModelProperty(value = "应付冲抵金额")
  68. private BigDecimal amtPayableHandle;
  69. /**
  70. * 优惠金额
  71. */
  72. @Excel(name = "优惠金额")
  73. @ApiModelProperty(value = "优惠金额")
  74. private BigDecimal amtWaive;
  75. /**
  76. * 还款日期
  77. */
  78. @Excel(name = "还款日期")
  79. @ApiModelProperty(value = "还款日期")
  80. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  81. @TableField(typeHandler = TimestampTypeHandler.class)
  82. private LocalDate accDate;
  83. /**
  84. * 备注
  85. */
  86. @Excel(name = "备注")
  87. @ApiModelProperty(value = "备注")
  88. private String remarks;
  89. /**
  90. * 有效标识 (1:正常 0:停用)
  91. */
  92. @Excel(name = "有效标识 (1:正常 0:停用)")
  93. @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
  94. private Boolean flgValid;
  95. /**
  96. * 企业ID
  97. */
  98. @TableField(fill = FieldFill.INSERT)
  99. @Excel(name = "企业ID")
  100. @ApiModelProperty(value = "企业ID")
  101. private Integer cpId;
  102. private static final long serialVersionUID = 1L;
  103. }