RecPayResponse.java 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. package com.dk.mdm.model.response.mac;
  2. import cn.afterturn.easypoi.excel.annotation.Excel;
  3. import com.alibaba.fastjson.JSONObject;
  4. import com.baomidou.mybatisplus.annotation.FieldFill;
  5. import com.baomidou.mybatisplus.annotation.TableField;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import com.dk.common.infrastructure.annotaiton.ExportTitle;
  8. import com.dk.common.infrastructure.handler.JsonTypeHandler;
  9. import com.dk.common.infrastructure.handler.TimestampTypeHandler;
  10. import com.dk.common.infrastructure.handler.UuidTypeHandler;
  11. import com.dk.common.model.pojo.PageInfo;
  12. import com.fasterxml.jackson.annotation.JsonFormat;
  13. import io.swagger.annotations.ApiModel;
  14. import io.swagger.annotations.ApiModelProperty;
  15. import lombok.AllArgsConstructor;
  16. import lombok.Data;
  17. import lombok.EqualsAndHashCode;
  18. import lombok.NoArgsConstructor;
  19. import lombok.experimental.Accessors;
  20. import java.io.Serializable;
  21. import java.math.BigDecimal;
  22. import java.time.LocalDate;
  23. import java.time.LocalDateTime;
  24. /**
  25. * 收付款单
  26. */
  27. @Data
  28. @AllArgsConstructor
  29. @NoArgsConstructor
  30. @EqualsAndHashCode(callSuper = true)
  31. @Accessors(chain = true)
  32. @ExportTitle("收付款单")
  33. @TableName(value = "t_mac_rec_pay", autoResultMap = true)
  34. @ApiModel(value="实体类:收付款单", description="表名:t_mac_rec_pay")
  35. public class RecPayResponse extends PageInfo<RecPayResponse> implements Serializable {
  36. /*
  37. * 数据库字段
  38. */
  39. /**
  40. * 收款单ID
  41. */
  42. // @TableId(value = "rp_id", type = IdType.AUTO)
  43. @ApiModelProperty(value = "收款单ID")
  44. @TableField(typeHandler = UuidTypeHandler.class)
  45. private String rpId;
  46. /**
  47. * 收付款单号
  48. */
  49. @Excel(name = "收付款单号")
  50. @ApiModelProperty(value = "收付款单号")
  51. private String rpNo;
  52. /**
  53. * 收付款类型 (【系统字典】收款、付款)
  54. */
  55. @Excel(name = "收付款类型 (【系统字典】收款、付款)")
  56. @ApiModelProperty(value = "收付款类型 (【系统字典】收款、付款)")
  57. private String rpType;
  58. /**
  59. * 账务对象ID (账务对象:客户、供应商)
  60. */
  61. @Excel(name = "账务对象ID (账务对象:客户、供应商)")
  62. @ApiModelProperty(value = "账务对象ID (账务对象:客户、供应商)")
  63. @TableField(typeHandler = UuidTypeHandler.class)
  64. private String objectId;
  65. /**
  66. * 部门
  67. */
  68. @Excel(name = "部门")
  69. @ApiModelProperty(value = "部门")
  70. @TableField(typeHandler = UuidTypeHandler.class)
  71. private String orgId;
  72. /**
  73. * 员工
  74. */
  75. @Excel(name = "员工")
  76. @ApiModelProperty(value = "员工")
  77. @TableField(typeHandler = UuidTypeHandler.class)
  78. private String staffId;
  79. /**
  80. * 收款金额
  81. */
  82. @Excel(name = "收款金额")
  83. @ApiModelProperty(value = "收款金额")
  84. private BigDecimal sumAmtRec;
  85. /**
  86. * 付款金额
  87. */
  88. @Excel(name = "付款金额")
  89. @ApiModelProperty(value = "付款金额")
  90. private BigDecimal sumAmtPay;
  91. @Excel(name = "合计应收冲抵金额")
  92. @ApiModelProperty(value = "合计应收冲抵金额")
  93. private BigDecimal sumAmtReceivableHandle;
  94. @Excel(name = "合计应付冲抵金额")
  95. @ApiModelProperty(value = "合计应付冲抵金额")
  96. private BigDecimal sumAmtPayableHandle;
  97. @Excel(name = "合计核销金额")
  98. @ApiModelProperty(value = "合计核销金额")
  99. private BigDecimal sumWaiveAmt;
  100. /**
  101. * 收付款日期 (账务日期)
  102. */
  103. @Excel(name = "收付款日期 (账务日期)")
  104. @ApiModelProperty(value = "收付款日期 (账务日期)")
  105. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  106. @TableField(typeHandler = TimestampTypeHandler.class)
  107. private LocalDate accDate;
  108. /**
  109. * 备注
  110. */
  111. @Excel(name = "备注")
  112. @ApiModelProperty(value = "备注")
  113. private String remarks;
  114. /**
  115. * 附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)
  116. */
  117. @Excel(name = "附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
  118. @ApiModelProperty(value = "附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
  119. @TableField(typeHandler = JsonTypeHandler.class)
  120. private JSONObject annexPaths;
  121. /**
  122. * 业务单据 (表名(哪个业务单据触发的收款))
  123. */
  124. @Excel(name = "业务单据 (表名(哪个业务单据触发的收款))")
  125. @ApiModelProperty(value = "业务单据 (表名(哪个业务单据触发的收款))")
  126. private String biznisType;
  127. /**
  128. * 业务单ID
  129. */
  130. @Excel(name = "业务单ID")
  131. @ApiModelProperty(value = "业务单ID")
  132. @TableField(typeHandler = UuidTypeHandler.class)
  133. private String biznisId;
  134. /**
  135. * 业务单号
  136. */
  137. @Excel(name = "业务单号")
  138. @ApiModelProperty(value = "业务单号")
  139. private String biznisNo;
  140. /**
  141. * 锁定标识
  142. */
  143. @Excel(name = "锁定标识")
  144. @ApiModelProperty(value = "锁定标识")
  145. private Boolean flgLock;
  146. /**
  147. * 制单员
  148. */
  149. @Excel(name = "制单员")
  150. @ApiModelProperty(value = "制单员")
  151. @TableField(typeHandler = UuidTypeHandler.class)
  152. private String makeStaff;
  153. /**
  154. * 制单时间
  155. */
  156. @Excel(name = "制单时间")
  157. @ApiModelProperty(value = "制单时间")
  158. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  159. @TableField(typeHandler = TimestampTypeHandler.class)
  160. private LocalDateTime makeTime;
  161. /**
  162. * 有效标识 (1:正常 0:停用)
  163. */
  164. @Excel(name = "有效标识 (1:正常 0:停用)")
  165. @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
  166. private Boolean flgValid;
  167. /**
  168. * 企业ID
  169. */
  170. @TableField(fill = FieldFill.INSERT)
  171. @Excel(name = "企业ID")
  172. @ApiModelProperty(value = "企业ID")
  173. private Integer cpId;
  174. /**
  175. * 创建时间 (触发器自动处理)
  176. */
  177. @Excel(name = "创建时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
  178. @ApiModelProperty(value = "创建时间 (触发器自动处理)")
  179. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  180. @TableField(typeHandler = TimestampTypeHandler.class)
  181. private LocalDateTime opCreateTime;
  182. /**
  183. * 创建用户 (触发器自动处理)
  184. */
  185. @Excel(name = "创建用户 (触发器自动处理)")
  186. @ApiModelProperty(value = "创建用户 (触发器自动处理)")
  187. @TableField(typeHandler = UuidTypeHandler.class)
  188. private String opCreateUserId;
  189. /**
  190. * 修改时间 (触发器自动处理)
  191. */
  192. @Excel(name = "修改时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
  193. @ApiModelProperty(value = "修改时间 (触发器自动处理)")
  194. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  195. @TableField(typeHandler = TimestampTypeHandler.class)
  196. private LocalDateTime opUpdateTime;
  197. /**
  198. * 修改用户 (触发器自动处理)
  199. */
  200. @Excel(name = "修改用户 (触发器自动处理)")
  201. @ApiModelProperty(value = "修改用户 (触发器自动处理)")
  202. @TableField(typeHandler = UuidTypeHandler.class)
  203. private String opUpdateUserId;
  204. /**
  205. * 数据操作应用 (触发器自动处理)
  206. */
  207. @Excel(name = "数据操作应用 (触发器自动处理)")
  208. @ApiModelProperty(value = "数据操作应用 (触发器自动处理)")
  209. private String opAppCode;
  210. /**
  211. * 数据时间戳 (触发器自动处理)
  212. */
  213. @Excel(name = "数据时间戳 (触发器自动处理)")
  214. @ApiModelProperty(value = "数据时间戳 (触发器自动处理)")
  215. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  216. @TableField(typeHandler = TimestampTypeHandler.class)
  217. private LocalDateTime opTimestamp;
  218. /**
  219. * 数据操作数据库用户 (触发器自动处理)
  220. */
  221. @Excel(name = "数据操作数据库用户 (触发器自动处理)")
  222. @ApiModelProperty(value = "数据操作数据库用户 (触发器自动处理)")
  223. private String opDbUser;
  224. @ApiModelProperty(value = "收付款类型")
  225. private String rpTypeName;
  226. @ApiModelProperty(value = "组织名称")
  227. private String orgName;
  228. @ApiModelProperty(value = "员工姓名")
  229. private String staffName;
  230. @ApiModelProperty(value = "客户编码")
  231. private String cusCode;
  232. @ApiModelProperty(value = "客户名称")
  233. private String cusName;
  234. @ApiModelProperty(value = "客户电话")
  235. private String cusPhone;
  236. @ApiModelProperty(value = "详细地址")
  237. private String addressFull;
  238. @ApiModelProperty(value = "制单员")
  239. private String makeStaffName;
  240. private static final long serialVersionUID = 1L;
  241. }