InboundItemVO.java 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. package com.dk.mdm.model.vo.ivt;
  2. import cn.afterturn.easypoi.excel.annotation.Excel;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.dk.common.infrastructure.handler.UuidTypeHandler;
  5. import com.fasterxml.jackson.annotation.JsonProperty;
  6. import io.swagger.annotations.ApiModelProperty;
  7. import lombok.Data;
  8. import lombok.experimental.Accessors;
  9. import java.math.BigDecimal;
  10. /**
  11. * 入库明细
  12. */
  13. @Data
  14. @Accessors(chain = true)
  15. public class InboundItemVO {
  16. /*
  17. * 数据库字段
  18. */
  19. /**
  20. * 明细ID
  21. */
  22. @ApiModelProperty(value = "明细ID")
  23. @TableField(typeHandler = UuidTypeHandler.class)
  24. private String itemId;
  25. /**
  26. * 入库ID
  27. */
  28. @ApiModelProperty(value = "入库ID")
  29. @TableField(typeHandler = UuidTypeHandler.class)
  30. private String intoId;
  31. /**
  32. * 入库类型 (【系统字典】采购入库、销退入库、其他入库)
  33. */
  34. @ApiModelProperty(value = "入库类型 (【系统字典】采购入库、销退入库、其他入库)")
  35. private String intoType;
  36. /**
  37. * 来源单ID (采购订单、出库退货)
  38. */
  39. @ApiModelProperty(value = "来源单ID (采购订单、出库退货)")
  40. @TableField(typeHandler = UuidTypeHandler.class)
  41. private String fromId;
  42. /**
  43. * 来源单明细ID (采购订单、出库退货)
  44. */
  45. @ApiModelProperty(value = "来源单明细ID (采购订单、出库退货)")
  46. @TableField(typeHandler = UuidTypeHandler.class)
  47. private String fromItemId;
  48. /**
  49. * 商品顺序
  50. */
  51. @ApiModelProperty(value = "商品顺序")
  52. private Integer itemIndex;
  53. /**
  54. * 商品ID
  55. */
  56. @ApiModelProperty(value = "商品ID")
  57. @TableField(typeHandler = UuidTypeHandler.class)
  58. private String skuId;
  59. /**
  60. * 入库价
  61. */
  62. @ApiModelProperty(value = "入库价")
  63. private BigDecimal priceInto;
  64. /**
  65. * 非标号
  66. */
  67. @ApiModelProperty(value = "非标号")
  68. private String nonStdCode;
  69. /**
  70. * 入库状态 (【系统字典】)
  71. */
  72. @ApiModelProperty(value = "入库状态 (【系统字典】)")
  73. private String intoStatus;
  74. /**
  75. * 入库中数量
  76. */
  77. @ApiModelProperty(value = "入库中数量")
  78. private BigDecimal intoingQty;
  79. /**
  80. * 入库中金额
  81. */
  82. @ApiModelProperty(value = "入库中金额")
  83. private BigDecimal intoingAmt;
  84. /**
  85. * 已入库数量
  86. */
  87. @ApiModelProperty(value = "已入库数量")
  88. private BigDecimal intoQty;
  89. /**
  90. * 已入库金额
  91. */
  92. @ApiModelProperty(value = "已入库金额")
  93. private BigDecimal intoAmt;
  94. /**
  95. * 已入库退货数量
  96. */
  97. @ApiModelProperty(value = "已入库退货数量")
  98. private BigDecimal returnQty;
  99. /**
  100. * 已入库退货金额
  101. */
  102. @ApiModelProperty(value = "已入库退货金额")
  103. private BigDecimal returnAmt;
  104. /**
  105. * 备注
  106. */
  107. @ApiModelProperty(value = "备注")
  108. private String remarks;
  109. @ApiModelProperty(value = "商品型号")
  110. private String skuModel;
  111. @ApiModelProperty(value = "商品名称")
  112. private String skuName;
  113. /**
  114. * 库存ID
  115. */
  116. @ApiModelProperty(value = "库存ID")
  117. @TableField(typeHandler = UuidTypeHandler.class)
  118. private String invId;
  119. /**
  120. * 入库核对单价
  121. */
  122. @ApiModelProperty(value = "入库核对单价")
  123. private BigDecimal costPrice;
  124. /**
  125. * 入库核对金额
  126. */
  127. @ApiModelProperty(value = "入库核对金额")
  128. private BigDecimal costAmt;
  129. /**
  130. * 出库数量
  131. */
  132. @ApiModelProperty(value = "出库数量")
  133. private BigDecimal outQty;
  134. /**
  135. * 库存数量 (库存数量=商品数量-出库数量)
  136. */
  137. @ApiModelProperty(value = "库存数量 (库存数量=商品数量-出库数量)")
  138. private BigDecimal invQty;
  139. /**
  140. * 有效标识 (1:正常 0:停用)
  141. */
  142. @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
  143. private Boolean flgValid;
  144. /**
  145. * 企业ID
  146. */
  147. @ApiModelProperty(value = "企业ID")
  148. private Integer cpId;
  149. @TableField(typeHandler = UuidTypeHandler.class)
  150. @ApiModelProperty(value = "入库仓库")
  151. private String whId;
  152. @ApiModelProperty(value = "源入库单ID")
  153. @JsonProperty(value = "sIntoId")
  154. @TableField(typeHandler = UuidTypeHandler.class)
  155. private String sIntoId;
  156. @ApiModelProperty(value = "源入库单明细ID")
  157. @JsonProperty(value = "sIntoItemId")
  158. @TableField(typeHandler = UuidTypeHandler.class)
  159. private String sIntoItemId;
  160. @ApiModelProperty(value = "源采购订单ID")
  161. @JsonProperty(value = "sPurId")
  162. @TableField(typeHandler = UuidTypeHandler.class)
  163. private String sPurId;
  164. @ApiModelProperty(value = "源采购明细ID")
  165. @JsonProperty(value = "sPurItemId")
  166. @TableField(typeHandler = UuidTypeHandler.class)
  167. private String sPurItemId;
  168. @ApiModelProperty(value = "箱(入库中)")
  169. private Integer intoingBox;
  170. @ApiModelProperty(value = "片(入库中)")
  171. private BigDecimal intoingPiece;
  172. @ApiModelProperty(value = "箱(已入库)")
  173. private Integer intoBox;
  174. @ApiModelProperty(value = "片(已入库)")
  175. private BigDecimal intoPiece;
  176. @ApiModelProperty(value = "基本单位")
  177. @TableField(typeHandler = UuidTypeHandler.class)
  178. private String unitId;
  179. @ApiModelProperty(value = "包装单位")
  180. @TableField(typeHandler = UuidTypeHandler.class)
  181. private String subUnitId;
  182. @ApiModelProperty(value = "包装")
  183. private BigDecimal packBox;
  184. /*
  185. * 相关属性
  186. * @TableField(exist = false)
  187. */
  188. @ApiModelProperty(value = "库存类型(入库,出库)")
  189. private String inventoryType;
  190. @ApiModelProperty(value = "库存业务类型(入库4种,出库4中)")
  191. private String inventoryDocCode;
  192. @ApiModelProperty(value = "已入库数量编辑之前")
  193. private BigDecimal qtyBeforeUpdate;
  194. @ApiModelProperty(value = "已入库金额编辑之前")
  195. private BigDecimal amtBeforeUpdate;
  196. @ApiModelProperty(value = "新建编辑标识true:新建,false:编辑")
  197. private Boolean addOrEditFlag;
  198. /**
  199. * 出库ID
  200. */
  201. @ApiModelProperty(value = "出库ID")
  202. @TableField(typeHandler = UuidTypeHandler.class)
  203. private String outId;
  204. @ApiModelProperty(value = "成本核对标识")
  205. private Boolean flgCostCheck;
  206. private static final long serialVersionUID = 1L;
  207. }