OtherPayable.java 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. package com.dk.mdm.model.pojo.mac;
  2. import cn.afterturn.easypoi.excel.annotation.Excel;
  3. import com.alibaba.fastjson.JSONArray;
  4. import com.baomidou.mybatisplus.annotation.*;
  5. import java.io.Serializable;
  6. import com.dk.common.infrastructure.annotaiton.ExportTitle;
  7. import com.dk.common.infrastructure.handler.*;
  8. import com.dk.common.model.pojo.PageInfo;
  9. import com.fasterxml.jackson.annotation.JsonFormat;
  10. import lombok.Data;
  11. import lombok.AllArgsConstructor;
  12. import lombok.NoArgsConstructor;
  13. import lombok.EqualsAndHashCode;
  14. import lombok.experimental.Accessors;
  15. import io.swagger.annotations.ApiModel;
  16. import io.swagger.annotations.ApiModelProperty;
  17. import com.alibaba.fastjson.JSONObject;
  18. import java.math.BigDecimal;
  19. import java.time.LocalDate;
  20. import java.util.List;
  21. import java.time.LocalDateTime;
  22. /**
  23. * 其他支出单
  24. */
  25. @Data
  26. @AllArgsConstructor
  27. @NoArgsConstructor
  28. @EqualsAndHashCode(callSuper = true)
  29. @Accessors(chain = true)
  30. @ExportTitle("其他支出单")
  31. @TableName(value = "t_mac_other_payable", autoResultMap = true, schema = "dkic_b")
  32. @ApiModel(value="实体类:其他支出单", description="表名:t_mac_other_payable")
  33. public class OtherPayable extends PageInfo<OtherPayable> implements Serializable {
  34. /*
  35. * 数据库字段
  36. */
  37. /**
  38. * 其它支出单ID
  39. */
  40. // @TableId(value = "payable_id", type = IdType.AUTO)
  41. @ApiModelProperty(value = "其它支出单ID")
  42. @TableField(typeHandler = UuidTypeHandler.class)
  43. private String payableId;
  44. /**
  45. * 其它支出单号
  46. */
  47. @Excel(name = "其它支出单号")
  48. @ApiModelProperty(value = "其它支出单号")
  49. private String payableNo;
  50. /**
  51. * 对象类型 (【系统字典】客户、供应商)
  52. */
  53. @Excel(name = "对象类型 (【系统字典】客户、供应商)")
  54. @ApiModelProperty(value = "对象类型 (【系统字典】客户、供应商)")
  55. private String objectType;
  56. /**
  57. * 是否为业务单据 (0:期初 1:业务)
  58. */
  59. @Excel(name = "是否为业务单据 (0:期初 1:业务)")
  60. @ApiModelProperty(value = "是否为业务单据 (0:期初 1:业务)")
  61. private Integer businessType;
  62. /**
  63. * 账务对象ID (账务对象)
  64. */
  65. @Excel(name = "账务对象ID (账务对象)")
  66. @ApiModelProperty(value = "账务对象ID (账务对象)")
  67. @TableField(typeHandler = UuidTypeHandler.class)
  68. private String objectId;
  69. /**
  70. * 部门
  71. */
  72. @Excel(name = "部门")
  73. @ApiModelProperty(value = "部门")
  74. @TableField(typeHandler = UuidTypeHandler.class)
  75. private String orgId;
  76. /**
  77. * 员工
  78. */
  79. @Excel(name = "员工")
  80. @ApiModelProperty(value = "员工")
  81. @TableField(typeHandler = UuidTypeHandler.class)
  82. private String staffId;
  83. /**
  84. * 合计应付
  85. */
  86. @Excel(name = "合计应付")
  87. @ApiModelProperty(value = "合计应付")
  88. private BigDecimal sumAmtPayable;
  89. /**
  90. * 账务明细ID
  91. */
  92. @Excel(name = "账务明细ID")
  93. @ApiModelProperty(value = "账务明细ID")
  94. @TableField(typeHandler = UuidTypeHandler.class)
  95. private String accItemId;
  96. /**
  97. * 账务日期 (账务日期)
  98. */
  99. @Excel(name = "账务日期 (账务日期)")
  100. @ApiModelProperty(value = "账务日期 (账务日期)")
  101. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  102. @TableField(typeHandler = TimestampTypeHandler.class)
  103. private LocalDate accDate;
  104. /**
  105. * 备注
  106. */
  107. @Excel(name = "备注")
  108. @ApiModelProperty(value = "备注")
  109. private String remarks;
  110. /**
  111. * 附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)
  112. */
  113. @Excel(name = "附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
  114. @ApiModelProperty(value = "附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
  115. @TableField(typeHandler = JsonTypeHandler.class)
  116. private JSONArray annexPaths;
  117. /**
  118. * 制单员
  119. */
  120. @Excel(name = "制单员")
  121. @ApiModelProperty(value = "制单员")
  122. @TableField(typeHandler = UuidTypeHandler.class)
  123. private String makeStaff;
  124. /**
  125. * 制单时间
  126. */
  127. @Excel(name = "制单时间")
  128. @ApiModelProperty(value = "制单时间")
  129. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  130. @TableField(typeHandler = TimestampTypeHandler.class)
  131. private LocalDateTime makeTime;
  132. /**
  133. * 有效标识 (1:正常 0:停用)
  134. */
  135. @Excel(name = "有效标识 (1:正常 0:停用)")
  136. @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
  137. private Boolean flgValid;
  138. /**
  139. * 企业ID
  140. */
  141. @TableField(fill = FieldFill.INSERT)
  142. @Excel(name = "企业ID")
  143. @ApiModelProperty(value = "企业ID")
  144. private Integer cpId;
  145. private static final long serialVersionUID = 1L;
  146. }