TWarehousebillsitems.java 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773
  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_warehousebillsitems
  11. *
  12. * @author ruoyi
  13. * @date 2021-01-15
  14. */
  15. public class TWarehousebillsitems extends BaseEntity {
  16. private static final long serialVersionUID = 1L;
  17. /**
  18. * $column.columnComment
  19. */
  20. private Long fId;
  21. /**
  22. * PID,对应主表id
  23. */
  24. @Excel(name = "PID,对应主表id")
  25. private Long fPid;
  26. /** 来源id */
  27. @Excel(name = "来源id")
  28. private Long fSrcid;
  29. /**
  30. * 行号,针对pid顺序排列,1,2,3,4,
  31. */
  32. @Excel(name = "行号,针对pid顺序排列,1,2,3,4,")
  33. private Long fLineno;
  34. /**
  35. * 货物品名,存储id 显示名称 t_goods 中的no或 name,模糊查找选择后,存储f_id,显示name
  36. */
  37. @Excel(name = "货物品名,存储id 显示名称 t_goods 中的no或 name,模糊查找选择后,存储f_id,显示name")
  38. private Long fGoodsid;
  39. /**
  40. * 业务编号,保存主表的
  41. */
  42. @Excel(name = "业务编号,保存主表的")
  43. private String fBillno;
  44. /**
  45. * 提单号
  46. */
  47. @Excel(name = "提单号")
  48. private String fMblno;
  49. /**
  50. * 入库库区,存储库区ID,显示仓库 库位 库区,t_warehouse_area中的f_id
  51. */
  52. @Excel(name = "入库库区,存储库区ID,显示仓库 库位 库区,t_warehouse_area中的f_id")
  53. private Long fWarehouselocid;
  54. /** 调拨库区 */
  55. @Excel(name = "调拨库区")
  56. private Long fTransferWarehouselocid;
  57. /**
  58. * 原始入库业务编号
  59. */
  60. @Excel(name = "原始入库业务编号")
  61. private String fOriginalbillno;
  62. /**
  63. * 入(出)库日期
  64. */
  65. @Excel(name = "入", readConverterExp = "出=")
  66. private Date fBsdate;
  67. /**
  68. * 箱号
  69. */
  70. @Excel(name = "箱号")
  71. private String fBoxno;
  72. /**
  73. * 箱量
  74. */
  75. @Excel(name = "箱量")
  76. private Long fCntqty;
  77. /**
  78. * 货值
  79. */
  80. @Excel(name = "货值")
  81. private BigDecimal fGoodsval;
  82. /**
  83. * 箱型,20GP 4OGP
  84. */
  85. @Excel(name = "箱型,20GP 4OGP")
  86. private String fCntrtype;
  87. /**
  88. * 计划件数
  89. */
  90. @Excel(name = "计划件数")
  91. private Long fPlanqty;
  92. /**
  93. * 计费方式(数据字典)
  94. */
  95. @Excel(name = "计费方式(数据字典)")
  96. private Long fBillingway;
  97. /**
  98. * 计划尺码
  99. */
  100. @Excel(name = "计划尺码")
  101. private BigDecimal fPlanvolumn;
  102. /**
  103. * 入库日期
  104. */
  105. @JsonFormat(pattern = "yyyy-MM-dd")
  106. @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
  107. private Date fOriginalbilldate;
  108. /**
  109. * 包装规格
  110. */
  111. @Excel(name = "包装规格")
  112. private String fPackagespecs;
  113. /**
  114. * 计划毛重
  115. */
  116. @Excel(name = "计划毛重")
  117. private BigDecimal fPlangrossweight;
  118. /**
  119. * 仓储计费日期
  120. */
  121. @JsonFormat(pattern = "yyyy-MM-dd")
  122. @Excel(name = "仓储计费日期", width = 30, dateFormat = "yyyy-MM-dd")
  123. private Date fChargedate;
  124. /**
  125. * 计划净重
  126. */
  127. @Excel(name = "计划净重")
  128. private BigDecimal fPlannetweight;
  129. /**
  130. * 件数
  131. */
  132. @Excel(name = "件数")
  133. private Long fQty;
  134. /**
  135. * 尺码
  136. */
  137. @Excel(name = "尺码")
  138. private BigDecimal fVolumn;
  139. /**
  140. * 毛重
  141. */
  142. @Excel(name = "毛重")
  143. private BigDecimal fGrossweight;
  144. /**
  145. * 净重
  146. */
  147. @Excel(name = "净重")
  148. private BigDecimal fNetweight;
  149. /**
  150. * 箱号
  151. */
  152. @Excel(name = "箱号")
  153. private String fCntrno;
  154. /**
  155. * 车号
  156. */
  157. @Excel(name = "车号")
  158. private String fTruckno;
  159. /**
  160. * 状态,N 入(出)库中,T入(出)库完成,状态为完成不能删除,状态变化,用邮件、微信通知客户。
  161. */
  162. @Excel(name = "状态,N 入", readConverterExp = "出=")
  163. private Long fBillstatus;
  164. /**
  165. * 删除状态
  166. */
  167. private String delFlag;
  168. /**
  169. * 唛头
  170. */
  171. @Excel(name = "唛头")
  172. private String fMarks;
  173. /**
  174. * 库存天数(出库日期-仓储费计费日期)
  175. */
  176. @Excel(name = "库存天数(出库日期-仓储费计费日期)")
  177. private Long fInventoryDays;
  178. /**
  179. * 金额
  180. */
  181. @Excel(name = "金额")
  182. private BigDecimal fAmt;
  183. /** 仓储费截至日期 */
  184. @JsonFormat(pattern = "yyyy-MM-dd")
  185. @Excel(name = "仓储费截至日期", width = 30, dateFormat = "yyyy-MM-dd")
  186. private Date fStorageFeeDeadline;
  187. /**
  188. * 计费天数
  189. */
  190. @Excel(name = "计费天数")
  191. private Long fBillingDays;
  192. /**
  193. * 司机名
  194. */
  195. @Excel(name = "司机名")
  196. private String fDriverName;
  197. /**
  198. * 司机电话
  199. */
  200. @Excel(name = "司机电话")
  201. private String fDriverTel;
  202. /**
  203. * 司机身份证
  204. */
  205. @Excel(name = "司机身份证")
  206. private String fDriverIdCar;
  207. /**
  208. * 流水号
  209. */
  210. @Excel(name = "流水号")
  211. private String fSerialNumber;
  212. /**
  213. * 是否已放行(T为放行、F未放行)
  214. */
  215. @Excel(name = "是否已放行(T为放行、F未放行)")
  216. private String fIsPass;
  217. /**
  218. * 单据类型(数据字典)SJRK(入库) SJCK(实际出库) CKDB(调拨) HQZY(货权转移)
  219. */
  220. @Excel(name = "单据类型(数据字典)SJRK", readConverterExp = "入=库")
  221. private String fBilltype;
  222. /**
  223. * 计费数量
  224. */
  225. @Excel(name = "计费数量")
  226. private BigDecimal fBillingQty;
  227. /**
  228. * 仓储费计费截至日期
  229. */
  230. @JsonFormat(pattern = "yyyy-MM-dd")
  231. @Excel(name = "仓储费计费截至日期", width = 30, dateFormat = "yyyy-MM-dd")
  232. private Date fBillingDeadline;
  233. /** 业务类型(存汉字的,用来选择 产地 规格 品牌) */
  234. @Excel(name = "业务类型(存汉字的,用来选择 产地 规格 品牌)")
  235. private Long fBusinessType;
  236. /** 是否入库0入总帐;1不计入总账(用于入库时候选择场地直装) */
  237. @Excel(name = "是否入库")
  238. private Long fIsInventory;
  239. /** 仓库/库区/库位 */
  240. @Excel(name = "仓库/库区/库位")
  241. private String fWarehouseInformation;
  242. /** 原始仓库/库区/库位 */
  243. @Excel(name = "仓库/库区/库位")
  244. private String fOrgwarehouseInformation;
  245. /**
  246. * 备注
  247. */
  248. private String remark;
  249. private String timeStartBsdate;
  250. private String timeEndBsdate;
  251. @Override
  252. public String getRemark() {
  253. return remark;
  254. }
  255. @Override
  256. public void setRemark(String remark) {
  257. this.remark = remark;
  258. }
  259. public String getTimeStartBsdate() {
  260. return timeStartBsdate;
  261. }
  262. public void setTimeStartBsdate(String timeStartBsdate) {
  263. this.timeStartBsdate = timeStartBsdate;
  264. }
  265. public String getTimeEndBsdate() {
  266. return timeEndBsdate;
  267. }
  268. public void setTimeEndBsdate(String timeEndBsdate) {
  269. this.timeEndBsdate = timeEndBsdate;
  270. }
  271. public void setfId(Long fId) {
  272. this.fId = fId;
  273. }
  274. public Long getfId() {
  275. return fId;
  276. }
  277. public void setfPid(Long fPid) {
  278. this.fPid = fPid;
  279. }
  280. public Long getfPid() {
  281. return fPid;
  282. }
  283. public void setfLineno(Long fLineno) {
  284. this.fLineno = fLineno;
  285. }
  286. public Long getfLineno() {
  287. return fLineno;
  288. }
  289. public void setfSrcid(Long fSrcid) {
  290. this.fSrcid = fSrcid;
  291. }
  292. public Long getfSrcid() {
  293. return fSrcid;
  294. }
  295. public void setfGoodsid(Long fGoodsid) {
  296. this.fGoodsid = fGoodsid;
  297. }
  298. public Long getfGoodsid() {
  299. return fGoodsid;
  300. }
  301. public void setfBillno(String fBillno) {
  302. this.fBillno = fBillno;
  303. }
  304. public String getfBillno() {
  305. return fBillno;
  306. }
  307. public void setfMblno(String fMblno) {
  308. this.fMblno = fMblno;
  309. }
  310. public String getfMblno() {
  311. return fMblno;
  312. }
  313. public void setfWarehouselocid(Long fWarehouselocid) {
  314. this.fWarehouselocid = fWarehouselocid;
  315. }
  316. public Long getfWarehouselocid() {
  317. return fWarehouselocid;
  318. }
  319. public void setfTransferWarehouselocid(Long fTransferWarehouselocid) {
  320. this.fTransferWarehouselocid = fTransferWarehouselocid;
  321. }
  322. public Long getfTransferWarehouselocid() {
  323. return fTransferWarehouselocid;
  324. }
  325. public void setfStorageFeeDeadline(Date fStorageFeeDeadline) {
  326. this.fStorageFeeDeadline = fStorageFeeDeadline;
  327. }
  328. public Date getfStorageFeeDeadline() {
  329. return fStorageFeeDeadline;
  330. }
  331. public void setfOriginalbillno(String fOriginalbillno) {
  332. this.fOriginalbillno = fOriginalbillno;
  333. }
  334. public String getfOriginalbillno() {
  335. return fOriginalbillno;
  336. }
  337. public void setfBsdate(Date fBsdate) {
  338. this.fBsdate = fBsdate;
  339. }
  340. public Date getfBsdate() {
  341. return fBsdate;
  342. }
  343. public void setfBoxno(String fBoxno) {
  344. this.fBoxno = fBoxno;
  345. }
  346. public String getfBoxno() {
  347. return fBoxno;
  348. }
  349. public void setfCntqty(Long fCntqty) {
  350. this.fCntqty = fCntqty;
  351. }
  352. public Long getfCntqty() {
  353. return fCntqty;
  354. }
  355. public void setfGoodsval(BigDecimal fGoodsval) {
  356. this.fGoodsval = fGoodsval;
  357. }
  358. public BigDecimal getfGoodsval() {
  359. return fGoodsval;
  360. }
  361. public void setfCntrtype(String fCntrtype) {
  362. this.fCntrtype = fCntrtype;
  363. }
  364. public String getfCntrtype() {
  365. return fCntrtype;
  366. }
  367. public void setfPlanqty(Long fPlanqty) {
  368. this.fPlanqty = fPlanqty;
  369. }
  370. public Long getfPlanqty() {
  371. return fPlanqty;
  372. }
  373. public void setfBillingway(Long fBillingway) {
  374. this.fBillingway = fBillingway;
  375. }
  376. public Long getfBillingway() {
  377. return fBillingway;
  378. }
  379. public void setfPlanvolumn(BigDecimal fPlanvolumn) {
  380. this.fPlanvolumn = fPlanvolumn;
  381. }
  382. public BigDecimal getfPlanvolumn() {
  383. return fPlanvolumn;
  384. }
  385. public void setfOriginalbilldate(Date fOriginalbilldate) {
  386. this.fOriginalbilldate = fOriginalbilldate;
  387. }
  388. public Date getfOriginalbilldate() {
  389. return fOriginalbilldate;
  390. }
  391. public void setfPackagespecs(String fPackagespecs) {
  392. this.fPackagespecs = fPackagespecs;
  393. }
  394. public String getfPackagespecs() {
  395. return fPackagespecs;
  396. }
  397. public void setfPlangrossweight(BigDecimal fPlangrossweight) {
  398. this.fPlangrossweight = fPlangrossweight;
  399. }
  400. public BigDecimal getfPlangrossweight() {
  401. return fPlangrossweight;
  402. }
  403. public void setfChargedate(Date fChargedate) {
  404. this.fChargedate = fChargedate;
  405. }
  406. public Date getfChargedate() {
  407. return fChargedate;
  408. }
  409. public void setfPlannetweight(BigDecimal fPlannetweight) {
  410. this.fPlannetweight = fPlannetweight;
  411. }
  412. public BigDecimal getfPlannetweight() {
  413. return fPlannetweight;
  414. }
  415. public void setfQty(Long fQty) {
  416. this.fQty = fQty;
  417. }
  418. public Long getfQty() {
  419. return fQty;
  420. }
  421. public void setfVolumn(BigDecimal fVolumn) {
  422. this.fVolumn = fVolumn;
  423. }
  424. public BigDecimal getfVolumn() {
  425. return fVolumn;
  426. }
  427. public void setfGrossweight(BigDecimal fGrossweight) {
  428. this.fGrossweight = fGrossweight;
  429. }
  430. public BigDecimal getfGrossweight() {
  431. return fGrossweight;
  432. }
  433. public void setfNetweight(BigDecimal fNetweight) {
  434. this.fNetweight = fNetweight;
  435. }
  436. public BigDecimal getfNetweight() {
  437. return fNetweight;
  438. }
  439. public void setfCntrno(String fCntrno) {
  440. this.fCntrno = fCntrno;
  441. }
  442. public String getfCntrno() {
  443. return fCntrno;
  444. }
  445. public void setfTruckno(String fTruckno) {
  446. this.fTruckno = fTruckno;
  447. }
  448. public String getfTruckno() {
  449. return fTruckno;
  450. }
  451. public void setfBillstatus(Long fBillstatus) {
  452. this.fBillstatus = fBillstatus;
  453. }
  454. public Long getfBillstatus() {
  455. return fBillstatus;
  456. }
  457. public void setDelFlag(String delFlag) {
  458. this.delFlag = delFlag;
  459. }
  460. public String getDelFlag() {
  461. return delFlag;
  462. }
  463. public void setfMarks(String fMarks) {
  464. this.fMarks = fMarks;
  465. }
  466. public String getfMarks() {
  467. return fMarks;
  468. }
  469. public void setfInventoryDays(Long fInventoryDays) {
  470. this.fInventoryDays = fInventoryDays;
  471. }
  472. public Long getfInventoryDays() {
  473. return fInventoryDays;
  474. }
  475. public void setfAmt(BigDecimal fAmt) {
  476. this.fAmt = fAmt;
  477. }
  478. public BigDecimal getfAmt() {
  479. return fAmt;
  480. }
  481. public void setfBillingDays(Long fBillingDays) {
  482. this.fBillingDays = fBillingDays;
  483. }
  484. public Long getfBillingDays() {
  485. return fBillingDays;
  486. }
  487. public void setfDriverName(String fDriverName) {
  488. this.fDriverName = fDriverName;
  489. }
  490. public String getfDriverName() {
  491. return fDriverName;
  492. }
  493. public void setfDriverTel(String fDriverTel) {
  494. this.fDriverTel = fDriverTel;
  495. }
  496. public String getfDriverTel() {
  497. return fDriverTel;
  498. }
  499. public void setfDriverIdCar(String fDriverIdCar) {
  500. this.fDriverIdCar = fDriverIdCar;
  501. }
  502. public String getfDriverIdCar() {
  503. return fDriverIdCar;
  504. }
  505. public void setfSerialNumber(String fSerialNumber) {
  506. this.fSerialNumber = fSerialNumber;
  507. }
  508. public String getfSerialNumber() {
  509. return fSerialNumber;
  510. }
  511. public void setfIsPass(String fIsPass) {
  512. this.fIsPass = fIsPass;
  513. }
  514. public String getfIsPass() {
  515. return fIsPass;
  516. }
  517. public void setfBilltype(String fBilltype) {
  518. this.fBilltype = fBilltype;
  519. }
  520. public String getfBilltype() {
  521. return fBilltype;
  522. }
  523. public void setfBillingQty(BigDecimal fBillingQty) {
  524. this.fBillingQty = fBillingQty;
  525. }
  526. public BigDecimal getfBillingQty() {
  527. return fBillingQty;
  528. }
  529. public void setfBillingDeadline(Date fBillingDeadline) {
  530. this.fBillingDeadline = fBillingDeadline;
  531. }
  532. public Date getfBillingDeadline() {
  533. return fBillingDeadline;
  534. }
  535. public void setfBusinessType(Long fBusinessType) {
  536. this.fBusinessType = fBusinessType;
  537. }
  538. public Long getfBusinessType() {
  539. return fBusinessType;
  540. }
  541. public void setfIsInventory(Long fIsInventory) {
  542. this.fIsInventory = fIsInventory;
  543. }
  544. public Long getfIsInventory() {
  545. return fIsInventory;
  546. }
  547. public String getfWarehouseInformation() {
  548. return fWarehouseInformation;
  549. }
  550. public void setfWarehouseInformation(String fWarehouseInformation) {
  551. this.fWarehouseInformation = fWarehouseInformation;
  552. }
  553. public String getfOrgwarehouseInformation() {
  554. return fOrgwarehouseInformation;
  555. }
  556. public void setfOrgwarehouseInformation(String fOrgwarehouseInformation) {
  557. this.fOrgwarehouseInformation = fOrgwarehouseInformation;
  558. }
  559. @Override
  560. public String toString() {
  561. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  562. .append("fId", getfId())
  563. .append("fPid", getfPid())
  564. .append("fLineno", getfLineno())
  565. .append("fSrcid", getfSrcid())
  566. .append("fGoodsid", getfGoodsid())
  567. .append("fBillno", getfBillno())
  568. .append("fMblno", getfMblno())
  569. .append("fWarehouselocid", getfWarehouselocid())
  570. .append("fTransferWarehouselocid", getfTransferWarehouselocid())
  571. .append("fOriginalbillno", getfOriginalbillno())
  572. .append("fBsdate", getfBsdate())
  573. .append("fBoxno", getfBoxno())
  574. .append("fCntqty", getfCntqty())
  575. .append("fGoodsval", getfGoodsval())
  576. .append("fCntrtype", getfCntrtype())
  577. .append("fPlanqty", getfPlanqty())
  578. .append("fStorageFeeDeadline", getfStorageFeeDeadline())
  579. .append("fBillingway", getfBillingway())
  580. .append("fPlanvolumn", getfPlanvolumn())
  581. .append("fOriginalbilldate", getfOriginalbilldate())
  582. .append("fPackagespecs", getfPackagespecs())
  583. .append("fPlangrossweight", getfPlangrossweight())
  584. .append("fChargedate", getfChargedate())
  585. .append("fPlannetweight", getfPlannetweight())
  586. .append("fQty", getfQty())
  587. .append("fVolumn", getfVolumn())
  588. .append("fGrossweight", getfGrossweight())
  589. .append("fNetweight", getfNetweight())
  590. .append("fCntrno", getfCntrno())
  591. .append("fWarehouseInformation", getfWarehouseInformation())
  592. .append("fOrgwarehouseInformation", getfOrgwarehouseInformation())
  593. .append("fTruckno", getfTruckno())
  594. .append("fBillstatus", getfBillstatus())
  595. .append("delFlag", getDelFlag())
  596. .append("createBy", getCreateBy())
  597. .append("createTime", getCreateTime())
  598. .append("updateBy", getUpdateBy())
  599. .append("updateTime", getUpdateTime())
  600. .append("remark", getRemark())
  601. .append("fMarks", getfMarks())
  602. .append("fInventoryDays", getfInventoryDays())
  603. .append("fAmt", getfAmt())
  604. .append("fBillingDays", getfBillingDays())
  605. .append("fDriverName", getfDriverName())
  606. .append("fDriverTel", getfDriverTel())
  607. .append("fDriverIdCar", getfDriverIdCar())
  608. .append("fSerialNumber", getfSerialNumber())
  609. .append("fIsPass", getfIsPass())
  610. .append("fBilltype", getfBilltype())
  611. .append("fBillingQty", getfBillingQty())
  612. .append("fIsInventory", getfIsInventory())
  613. .append("fBusinessType", getfBusinessType())
  614. .append("fBillingDeadline", getfBillingDeadline())
  615. .toString();
  616. }
  617. }