BillProve.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. package com.fjhx.prove.entity;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.baomidou.mybatisplus.annotation.TableName;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import com.fjhx.shipment.entity.ShipmentPackingProduct;
  6. import lombok.Data;
  7. import org.springblade.core.mp.base.BasicsEntity;
  8. import org.springblade.core.tool.utils.DateUtil;
  9. import org.springblade.system.attachment.entity.Attachment;
  10. import java.math.BigDecimal;
  11. import java.util.Date;
  12. import java.util.List;
  13. /**
  14. * 单证表
  15. */
  16. @Data
  17. @TableName("t_erp_bill_prove")
  18. public class BillProve extends BasicsEntity {
  19. private static final long serialVersionUID = -7555712779742471140L;
  20. /**
  21. * 租户ID
  22. */
  23. private String tenantId;
  24. /**
  25. * 合同id
  26. */
  27. private String contractId;
  28. /**
  29. * 合同号
  30. */
  31. private String contractCode;
  32. /**
  33. * 企业ID
  34. */
  35. private String companyId;
  36. /**
  37. * 是否显示公章:0、否;1、是
  38. */
  39. private Integer isShowOfficialSeal;
  40. /**
  41. * 装箱打包批次号
  42. */
  43. private String batchCode;
  44. /**
  45. * 是否已生成运单号,0:否、1:是
  46. */
  47. private Integer isShipment;
  48. /**
  49. * 运单号
  50. */
  51. private String waybillCode;
  52. /**
  53. * 货币类型(字典)
  54. */
  55. private String currencyType;
  56. /**
  57. * 贸易方式(字典)
  58. */
  59. private String tradeModeId;
  60. @TableField(exist = false)
  61. private String tradeModeName;
  62. /**
  63. * 运输方式(字典)
  64. */
  65. private String shippingType;
  66. @TableField(exist = false)
  67. private String shippingTypeName;
  68. /**
  69. * 快递(字典)
  70. */
  71. private String expressId;
  72. @TableField(exist = false)
  73. private String expressName;
  74. /**
  75. * 起运港
  76. */
  77. private String wharf;
  78. /**
  79. * 目的国ID
  80. */
  81. private String toCountryId;
  82. /**
  83. * 目的国(中文)
  84. */
  85. private String toCountry;
  86. /**
  87. * 目的国(英文)
  88. */
  89. private String toCountryEn;
  90. /**
  91. * 预付比例
  92. */
  93. private BigDecimal prePayRatio;
  94. /**
  95. * 保质期,天
  96. */
  97. private Integer warrantyDay;
  98. /**
  99. * 付款条件说明
  100. */
  101. private String paymentRemark;
  102. /**
  103. * 有效期,格式:年-月-日
  104. */
  105. @JsonFormat(pattern = DateUtil.PATTERN_DATE)
  106. private Date validTime;
  107. /**
  108. * 交货天数
  109. */
  110. private Integer deliveryDay;
  111. /**
  112. * 唛头
  113. */
  114. private String shippingMark;
  115. /**
  116. * 是否显示银行信息,0:否、1:是
  117. */
  118. private Integer showBank;
  119. /**
  120. * 付款方式(字典)
  121. */
  122. private String payWay;
  123. @TableField(exist = false)
  124. private String payWayName;
  125. /**
  126. * 银行名称
  127. */
  128. private String bankName;
  129. /**
  130. * 银行SWIFT CODE
  131. */
  132. private String bankSwiftCode;
  133. /**
  134. * 银行账号
  135. */
  136. private String bankAcc;
  137. /**
  138. * 银行地址
  139. */
  140. private String bankAddress;
  141. /**
  142. * 收款人名称
  143. */
  144. private String collectionUserName;
  145. /**
  146. * 收款人地址
  147. */
  148. private String collectionAddress;
  149. /**
  150. * 来源,0:装箱打包生成、1:单证新增
  151. *
  152. * @see com.fjhx.prove.constant.BillProveConstant.Source
  153. */
  154. private Integer source;
  155. /**
  156. * 客户名称
  157. */
  158. @TableField(exist = false)
  159. private String customerCompanyName;
  160. /**
  161. * 货代公司名称
  162. */
  163. @TableField(exist = false)
  164. private String forwarderCompanyName;
  165. /**
  166. * 单证货代公司表id
  167. */
  168. @TableField(exist = false)
  169. private String billProveForwarderId;
  170. /**
  171. * 附件
  172. */
  173. @TableField(exist = false)
  174. private List<Attachment> attachments;
  175. /**
  176. * 装箱产品
  177. */
  178. @TableField(exist = false)
  179. private List<ShipmentPackingProduct> products;
  180. /**
  181. * 境内货源地
  182. */
  183. private String withinChinaSource;
  184. }