ContractDeliveryDetail.java 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. package com.jwipc.contract.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import java.io.Serializable;
  7. import java.math.BigDecimal;
  8. import java.time.LocalDateTime;
  9. import lombok.Getter;
  10. import lombok.Setter;
  11. /**
  12. * <p>
  13. * 合同交货明细表
  14. * </p>
  15. *
  16. * @author qzc
  17. * @since 2025-12-09
  18. */
  19. @Getter
  20. @Setter
  21. @TableName("t_contract_delivery_detail")
  22. public class ContractDeliveryDetail implements Serializable {
  23. private static final long serialVersionUID = 1L;
  24. /**
  25. * 主键ID(自增30位长度)
  26. */
  27. @TableId(value = "id", type = IdType.AUTO)
  28. private Long id;
  29. /**
  30. * 收货单行号
  31. */
  32. private String receiptLineNo;
  33. /**
  34. * 合同编号
  35. */
  36. private String contractNo;
  37. /**
  38. * 合同序号
  39. */
  40. private String contractSeq;
  41. /**
  42. * 资产类别
  43. */
  44. private String assetCategory;
  45. /**
  46. * 物品名称
  47. */
  48. private String itemName;
  49. /**
  50. * 型号规格/参数
  51. */
  52. private String modelSpec;
  53. /**
  54. * 品牌
  55. */
  56. private String brand;
  57. /**
  58. * 请购单编号
  59. */
  60. private String requisitionNo;
  61. /**
  62. * 单位
  63. */
  64. private String unit;
  65. /**
  66. * 订单数量
  67. */
  68. private BigDecimal orderQuantity;
  69. /**
  70. * 收货数量
  71. */
  72. private BigDecimal receivedQuantity;
  73. /**
  74. * 设备序列号
  75. */
  76. private String deviceSerialNo;
  77. /**
  78. * 验收状态
  79. */
  80. private String acceptanceStatus;
  81. /**
  82. * 验收单号
  83. */
  84. private String acceptanceNo;
  85. /**
  86. * 请购部门
  87. */
  88. private String requisitionDept;
  89. /**
  90. * 保管人
  91. */
  92. private String custodian;
  93. /**
  94. * 成本中心
  95. */
  96. private String costCenter;
  97. /**
  98. * 存放地点
  99. */
  100. private String storageLocation;
  101. /**
  102. * 资产用途
  103. */
  104. private String assetPurpose;
  105. /**
  106. * 资产情况
  107. */
  108. private String assetCondition;
  109. /**
  110. * 收货单编号
  111. */
  112. private String deliveryNo;
  113. private String requisitionItem;
  114. private Integer deleteFlag;
  115. private Long createId;
  116. private LocalDateTime createTime;
  117. private Long updateId;
  118. private LocalDateTime updateTime;
  119. private Long deliveryId; //收货单id
  120. /**
  121. * 主表字段
  122. */
  123. @TableField(exist = false)
  124. private String supplier;
  125. @TableField(exist = false)
  126. private String supplierCode;
  127. @TableField(exist = false)
  128. private String purchaser;
  129. @TableField(exist = false)
  130. private String purchaserCode;
  131. @TableField(exist = false)
  132. private BigDecimal returnQuantity;
  133. @TableField(exist = false)
  134. private String purchaseGroup;
  135. //统计字段
  136. //在途数量
  137. @TableField(exist = false)
  138. private BigDecimal onlineNum;
  139. //接收数量
  140. @TableField(exist = false)
  141. private BigDecimal receiveNum;
  142. @TableField(exist = false)
  143. private Integer deliveryStatus;
  144. //退货数量
  145. @TableField(exist = false)
  146. private BigDecimal returnedQuantity;
  147. //可退数量
  148. @TableField(exist = false)
  149. private BigDecimal returnableQuantity;
  150. /**
  151. * 请购部门名称
  152. */
  153. private String useDeptName;
  154. /**
  155. * 保管人code
  156. */
  157. private String userCode;
  158. /**
  159. * 未税单价
  160. */
  161. private BigDecimal noTaxPrice;
  162. /**
  163. * 含税单价
  164. */
  165. private BigDecimal price;
  166. private String itemCode;
  167. @TableField(exist = false)
  168. private String contractType; //主表合同分类
  169. }