TWarehouseBills.java 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  1. package com.ruoyi.warehouseBusiness.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.ruoyi.common.annotation.Excel;
  4. import com.ruoyi.common.core.domain.BaseEntity;
  5. import org.apache.commons.lang3.builder.ToStringBuilder;
  6. import org.apache.commons.lang3.builder.ToStringStyle;
  7. import java.math.BigDecimal;
  8. import java.util.Date;
  9. /**
  10. * 详情主表对象 t_warehouse_details
  11. *
  12. * @author ruoyi
  13. * @date 2020-12-11
  14. */
  15. public class TWarehouseBills extends BaseEntity {
  16. private static final long serialVersionUID = 1L;
  17. /**
  18. * $column.columnComment
  19. */
  20. private Long fId;
  21. /**
  22. * 业务编号,格式RK+YYYY+YY+NNN,编号不能断号,要连续、如果删除该编号,下次新建单据,优先使用删除单据号,每月从001开始。
  23. * RK CK DB HZ
  24. */
  25. @Excel(name = "业务编号")
  26. private String fBillno;
  27. /**
  28. * 报关号
  29. */
  30. @Excel(name = "报关号")
  31. private String fCustomsdeclartion;
  32. /**
  33. * 原始业务编号,入库时和f_billno 相同,出库 取入库的f_originalbillno
  34. */
  35. @Excel(name = "原始业务编号,入库时和f_billno 相同,出库 取入库的f_originalbillno")
  36. private String fOriginalbillno;
  37. /**
  38. * 制单部门
  39. */
  40. @Excel(name = "制单部门")
  41. private Long fDeptid;
  42. /**
  43. * 业务所属部门
  44. */
  45. @Excel(name = "业务所属部门")
  46. private Long fBsdeptid;
  47. /**
  48. * 联系人
  49. */
  50. @Excel(name = "联系人")
  51. private String fContacts;
  52. /**
  53. * 电话
  54. */
  55. @Excel(name = "电话")
  56. private String fTel;
  57. /**
  58. * 客户名称,t_corps 中的no或 name,模糊查找选择后,存储id,显示name
  59. */
  60. @Excel(name = "客户名称,t_corps 中的no或 name,模糊查找选择后,存储id,显示name")
  61. private Long fCorpid;
  62. /**
  63. * 货转客户名称,t_corps 中的no或 name,模糊查找选择后,存储id,显示name,自有在货权转移是该字段有效
  64. */
  65. @Excel(name = "货转客户名称,t_corps 中的no或 name,模糊查找选择后,存储id,显示name,自有在货权转移是该字段有效")
  66. private Long fTocorpid;
  67. /**
  68. * 结算方式,默认提取corps中stltypeid 也可以从表t_stltypes中下拉选择,存储id,显示name
  69. */
  70. @Excel(name = "结算方式,默认提取corps中stltypeid 也可以从表t_stltypes中下拉选择,存储id,显示name")
  71. private Long fStltypeid;
  72. /**
  73. * 客户存货编号,格式编号客户编号+YYYY +NNNN,
  74. * 编号不能断号,要连续、如果删除该编号,下次新建单据,优先使用,每年从001开始
  75. */
  76. @Excel(name = "客户存货编号")
  77. private String fBscorpno;
  78. /**
  79. * 仓库
  80. */
  81. @Excel(name = "仓库")
  82. private Long fWarehouseid;
  83. /**
  84. * 仓管人
  85. */
  86. @Excel(name = "仓管人")
  87. private String fStorekeeper;
  88. /**
  89. * 入(出)库日期
  90. */
  91. @Excel(name = "入", readConverterExp = "出=")
  92. private Date fBsdate;
  93. /**
  94. * 计划件数,由明细表自动合计生成
  95. */
  96. @Excel(name = "计划件数,由明细表自动合计生成")
  97. private Long fPlanqty;
  98. /**
  99. * 计划毛重,由明细表自动合计生成
  100. */
  101. @Excel(name = "计划毛重,由明细表自动合计生成")
  102. private BigDecimal fPlangrossweight;
  103. /**
  104. * 计划净重,由明细表自动合计生成
  105. */
  106. @Excel(name = "计划净重,由明细表自动合计生成")
  107. private BigDecimal fPlannetweight;
  108. /**
  109. * 计划尺码,由明细表自动合计生成
  110. */
  111. @Excel(name = "计划尺码,由明细表自动合计生成")
  112. private BigDecimal fPlanvolumn;
  113. /**
  114. * 件数,由明细表自动合计生成
  115. */
  116. @Excel(name = "件数,由明细表自动合计生成")
  117. private Long fQty;
  118. /**
  119. * 毛重,由明细表自动合计生成
  120. */
  121. @Excel(name = "毛重,由明细表自动合计生成")
  122. private BigDecimal fGrossweight;
  123. /**
  124. * 净重,由明细表自动合计生成
  125. */
  126. @Excel(name = "净重,由明细表自动合计生成")
  127. private BigDecimal fNetweight;
  128. /**
  129. * 尺码,由明细表自动合计生成
  130. */
  131. @Excel(name = "尺码,由明细表自动合计生成")
  132. private BigDecimal fVolumn;
  133. /**
  134. * 贸易方式(数据字典),对应t_trademodels
  135. */
  136. @Excel(name = "贸易方式(数据字典),对应t_trademodels ")
  137. private Long fTrademodeid;
  138. /**
  139. * 计费方式(数据字典)
  140. */
  141. @Excel(name = "计费方式(数据字典)")
  142. private Long fBillingway;
  143. /**
  144. * 经营单位(客户列表)
  145. */
  146. @Excel(name = "经营单位(客户列表)")
  147. private Long fSbu;
  148. /**
  149. * 计费单位(数据字典),下拉选择毛重或净重
  150. */
  151. @Excel(name = "计费单位(数据字典),下拉选择毛重或净重")
  152. private String fFeetunit;
  153. /**
  154. * 提单号
  155. */
  156. @Excel(name = "提单号")
  157. private String fMblno;
  158. /**
  159. * 船名航次,CMA/A0001
  160. */
  161. @Excel(name = "船名航次,CMA/A0001")
  162. private String fVslvoy;
  163. /**
  164. * 到港日期
  165. */
  166. @JsonFormat(pattern = "yyyy-MM-dd")
  167. @Excel(name = "到港日期", width = 30, dateFormat = "yyyy-MM-dd")
  168. private Date fEta;
  169. /**
  170. * 报关单号
  171. */
  172. @Excel(name = "报关单号")
  173. private String fCustomno;
  174. /**
  175. * 是否过磅(数据字典)默认 F ,过磅T 否者F 下拉选择
  176. */
  177. @Excel(name = "是否过磅(数据字典)默认 F ,过磅T 否者F 下拉选择")
  178. private String fIfweigh;
  179. /**
  180. * 是否质押(数据字典),默认 F ,质押T 否者F 下拉选择
  181. */
  182. @Excel(name = "是否质押(数据字典),默认 F ,质押T 否者F 下拉选择")
  183. private String fIfpledge;
  184. /**
  185. * 是否破损(数据字典),默认F否则T
  186. */
  187. @Excel(name = "是否破损(数据字典),默认F否则T")
  188. private String fIfdamage;
  189. /**
  190. * 银行名称,t_corps 中的no或 name,模糊查找选择后,存储id,显示name
  191. */
  192. @Excel(name = "银行名称,t_corps 中的no或 name,模糊查找选择后,存储id,显示name")
  193. private Long fBankcorpid;
  194. /**
  195. * 单据类型(数据字典)SJRK(入库) SJCK(实际出库) CKDB(调拨) HQZY(货权转移)
  196. */
  197. @Excel(name = "单据类型(数据字典)SJRK", readConverterExp = "入=库")
  198. private String fBilltype;
  199. /**
  200. * 状态(数据字典),N 入(出)库中,T入(出)库完成,状态为完成不能删除,状态变化,用邮件、微信通知客户。
  201. */
  202. @Excel(name = "状态(数据字典),N 入", readConverterExp = "出=")
  203. private String fBillstatus;
  204. /**
  205. * 删除状态
  206. */
  207. private String delFlag;
  208. public void setfId(Long fId) {
  209. this.fId = fId;
  210. }
  211. public Long getfId() {
  212. return fId;
  213. }
  214. public void setfBillno(String fBillno) {
  215. this.fBillno = fBillno;
  216. }
  217. public String getfBillno() {
  218. return fBillno;
  219. }
  220. public void setfCustomsdeclartion(String fCustomsdeclartion) {
  221. this.fCustomsdeclartion = fCustomsdeclartion;
  222. }
  223. public String getfCustomsdeclartion() {
  224. return fCustomsdeclartion;
  225. }
  226. public void setfOriginalbillno(String fOriginalbillno) {
  227. this.fOriginalbillno = fOriginalbillno;
  228. }
  229. public String getfOriginalbillno() {
  230. return fOriginalbillno;
  231. }
  232. public void setfDeptid(Long fDeptid) {
  233. this.fDeptid = fDeptid;
  234. }
  235. public Long getfDeptid() {
  236. return fDeptid;
  237. }
  238. public void setfBsdeptid(Long fBsdeptid) {
  239. this.fBsdeptid = fBsdeptid;
  240. }
  241. public Long getfBsdeptid() {
  242. return fBsdeptid;
  243. }
  244. public void setfContacts(String fContacts) {
  245. this.fContacts = fContacts;
  246. }
  247. public String getfContacts() {
  248. return fContacts;
  249. }
  250. public void setfTel(String fTel) {
  251. this.fTel = fTel;
  252. }
  253. public String getfTel() {
  254. return fTel;
  255. }
  256. public void setfCorpid(Long fCorpid) {
  257. this.fCorpid = fCorpid;
  258. }
  259. public Long getfCorpid() {
  260. return fCorpid;
  261. }
  262. public void setfTocorpid(Long fTocorpid) {
  263. this.fTocorpid = fTocorpid;
  264. }
  265. public Long getfTocorpid() {
  266. return fTocorpid;
  267. }
  268. public void setfStltypeid(Long fStltypeid) {
  269. this.fStltypeid = fStltypeid;
  270. }
  271. public Long getfStltypeid() {
  272. return fStltypeid;
  273. }
  274. public void setfBscorpno(String fBscorpno) {
  275. this.fBscorpno = fBscorpno;
  276. }
  277. public String getfBscorpno() {
  278. return fBscorpno;
  279. }
  280. public void setfWarehouseid(Long fWarehouseid) {
  281. this.fWarehouseid = fWarehouseid;
  282. }
  283. public Long getfWarehouseid() {
  284. return fWarehouseid;
  285. }
  286. public void setfStorekeeper(String fStorekeeper) {
  287. this.fStorekeeper = fStorekeeper;
  288. }
  289. public String getfStorekeeper() {
  290. return fStorekeeper;
  291. }
  292. public void setfBsdate(Date fBsdate) {
  293. this.fBsdate = fBsdate;
  294. }
  295. public Date getfBsdate() {
  296. return fBsdate;
  297. }
  298. public void setfPlanqty(Long fPlanqty) {
  299. this.fPlanqty = fPlanqty;
  300. }
  301. public Long getfPlanqty() {
  302. return fPlanqty;
  303. }
  304. public void setfPlangrossweight(BigDecimal fPlangrossweight) {
  305. this.fPlangrossweight = fPlangrossweight;
  306. }
  307. public BigDecimal getfPlangrossweight() {
  308. return fPlangrossweight;
  309. }
  310. public void setfPlannetweight(BigDecimal fPlannetweight) {
  311. this.fPlannetweight = fPlannetweight;
  312. }
  313. public BigDecimal getfPlannetweight() {
  314. return fPlannetweight;
  315. }
  316. public void setfPlanvolumn(BigDecimal fPlanvolumn) {
  317. this.fPlanvolumn = fPlanvolumn;
  318. }
  319. public BigDecimal getfPlanvolumn() {
  320. return fPlanvolumn;
  321. }
  322. public void setfQty(Long fQty) {
  323. this.fQty = fQty;
  324. }
  325. public Long getfQty() {
  326. return fQty;
  327. }
  328. public void setfGrossweight(BigDecimal fGrossweight) {
  329. this.fGrossweight = fGrossweight;
  330. }
  331. public BigDecimal getfGrossweight() {
  332. return fGrossweight;
  333. }
  334. public void setfNetweight(BigDecimal fNetweight) {
  335. this.fNetweight = fNetweight;
  336. }
  337. public BigDecimal getfNetweight() {
  338. return fNetweight;
  339. }
  340. public void setfVolumn(BigDecimal fVolumn) {
  341. this.fVolumn = fVolumn;
  342. }
  343. public BigDecimal getfVolumn() {
  344. return fVolumn;
  345. }
  346. public void setfTrademodeid(Long fTrademodeid) {
  347. this.fTrademodeid = fTrademodeid;
  348. }
  349. public Long getfTrademodeid() {
  350. return fTrademodeid;
  351. }
  352. public void setfBillingway(Long fBillingway) {
  353. this.fBillingway = fBillingway;
  354. }
  355. public Long getfBillingway() {
  356. return fBillingway;
  357. }
  358. public void setfSbu(Long fSbu) {
  359. this.fSbu = fSbu;
  360. }
  361. public Long getfSbu() {
  362. return fSbu;
  363. }
  364. public void setfFeetunit(String fFeetunit) {
  365. this.fFeetunit = fFeetunit;
  366. }
  367. public String getfFeetunit() {
  368. return fFeetunit;
  369. }
  370. public void setfMblno(String fMblno) {
  371. this.fMblno = fMblno;
  372. }
  373. public String getfMblno() {
  374. return fMblno;
  375. }
  376. public void setfVslvoy(String fVslvoy) {
  377. this.fVslvoy = fVslvoy;
  378. }
  379. public String getfVslvoy() {
  380. return fVslvoy;
  381. }
  382. public void setfEta(Date fEta) {
  383. this.fEta = fEta;
  384. }
  385. public Date getfEta() {
  386. return fEta;
  387. }
  388. public void setfCustomno(String fCustomno) {
  389. this.fCustomno = fCustomno;
  390. }
  391. public String getfCustomno() {
  392. return fCustomno;
  393. }
  394. public void setfIfweigh(String fIfweigh) {
  395. this.fIfweigh = fIfweigh;
  396. }
  397. public String getfIfweigh() {
  398. return fIfweigh;
  399. }
  400. public void setfIfpledge(String fIfpledge) {
  401. this.fIfpledge = fIfpledge;
  402. }
  403. public String getfIfpledge() {
  404. return fIfpledge;
  405. }
  406. public void setfIfdamage(String fIfdamage) {
  407. this.fIfdamage = fIfdamage;
  408. }
  409. public String getfIfdamage() {
  410. return fIfdamage;
  411. }
  412. public void setfBankcorpid(Long fBankcorpid) {
  413. this.fBankcorpid = fBankcorpid;
  414. }
  415. public Long getfBankcorpid() {
  416. return fBankcorpid;
  417. }
  418. public void setfBilltype(String fBilltype) {
  419. this.fBilltype = fBilltype;
  420. }
  421. public String getfBilltype() {
  422. return fBilltype;
  423. }
  424. public void setfBillstatus(String fBillstatus) {
  425. this.fBillstatus = fBillstatus;
  426. }
  427. public String getfBillstatus() {
  428. return fBillstatus;
  429. }
  430. public void setDelFlag(String delFlag) {
  431. this.delFlag = delFlag;
  432. }
  433. public String getDelFlag() {
  434. return delFlag;
  435. }
  436. @Override
  437. public String toString() {
  438. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  439. .append("fId", getfId())
  440. .append("fBillno", getfBillno())
  441. .append("fCustomsdeclartion", getfCustomsdeclartion())
  442. .append("fOriginalbillno", getfOriginalbillno())
  443. .append("fDeptid", getfDeptid())
  444. .append("fBsdeptid", getfBsdeptid())
  445. .append("fContacts", getfContacts())
  446. .append("fTel", getfTel())
  447. .append("fCorpid", getfCorpid())
  448. .append("fTocorpid", getfTocorpid())
  449. .append("fStltypeid", getfStltypeid())
  450. .append("fBscorpno", getfBscorpno())
  451. .append("fWarehouseid", getfWarehouseid())
  452. .append("fStorekeeper", getfStorekeeper())
  453. .append("fBsdate", getfBsdate())
  454. .append("fPlanqty", getfPlanqty())
  455. .append("fPlangrossweight", getfPlangrossweight())
  456. .append("fPlannetweight", getfPlannetweight())
  457. .append("fPlanvolumn", getfPlanvolumn())
  458. .append("fQty", getfQty())
  459. .append("fGrossweight", getfGrossweight())
  460. .append("fNetweight", getfNetweight())
  461. .append("fVolumn", getfVolumn())
  462. .append("fTrademodeid", getfTrademodeid())
  463. .append("fBillingway", getfBillingway())
  464. .append("fSbu", getfSbu())
  465. .append("fFeetunit", getfFeetunit())
  466. .append("fMblno", getfMblno())
  467. .append("fVslvoy", getfVslvoy())
  468. .append("fEta", getfEta())
  469. .append("fCustomno", getfCustomno())
  470. .append("fIfweigh", getfIfweigh())
  471. .append("fIfpledge", getfIfpledge())
  472. .append("fIfdamage", getfIfdamage())
  473. .append("fBankcorpid", getfBankcorpid())
  474. .append("fBilltype", getfBilltype())
  475. .append("fBillstatus", getfBillstatus())
  476. .append("delFlag", getDelFlag())
  477. .append("createBy", getCreateBy())
  478. .append("createTime", getCreateTime())
  479. .append("updateBy", getUpdateBy())
  480. .append("updateTime", getUpdateTime())
  481. .append("remark", getRemark())
  482. .toString();
  483. }
  484. }