TWarehousebillsfees.java 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807
  1. package com.ruoyi.warehouseBusiness.domain;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.core.domain.BaseEntity;
  6. import org.apache.commons.lang3.builder.ToStringBuilder;
  7. import org.apache.commons.lang3.builder.ToStringStyle;
  8. import java.math.BigDecimal;
  9. import java.util.Date;
  10. import java.util.List;
  11. /**
  12. * 仓库费用明细对象 t_warehousebillsfees
  13. *
  14. * @author ruoyi
  15. * @date 2020-12-11
  16. */
  17. public class TWarehousebillsfees extends BaseEntity {
  18. private static final long serialVersionUID = 1L;
  19. /**
  20. * $column.columnComment
  21. */
  22. private Long fId;
  23. /**
  24. * 对应主表id
  25. */
  26. @Excel(name = "对应主表id")
  27. private Long fPid;
  28. /**
  29. * 行号
  30. */
  31. @Excel(name = "行号")
  32. private Long fLineno;
  33. /**
  34. * 仓库id
  35. */
  36. @Excel(name = "仓库id")
  37. private Long fWarehouseid;
  38. /**
  39. * 客户名称,t_corps 中的no或 name,模糊查找选择后,存储id,显示name
  40. */
  41. @Excel(name = "客户名称,t_corps 中的no或 name,模糊查找选择后,存储id,显示name")
  42. private Long fCorpid;
  43. /**
  44. * 费用名称,存储id 显示名称,t_fees 中的no或 name,模糊查找选择后,存储f_id,显示name
  45. */
  46. @Excel(name = "费用名称,存储id 显示名称,t_fees 中的no或 name,模糊查找选择后,存储f_id,显示name")
  47. private Long fFeeid;
  48. /**
  49. * 计价单位(数据字典),对应,t_unitfees f_id,如果选择为毛重,数量(f_qty)取主表的毛重,如果选择净重,取主表的净重,如果为箱量,取主表的箱量
  50. */
  51. @Excel(name = "计价单位(数据字典),对应,t_unitfees f_id,如果选择为毛重,数量", readConverterExp = "f=_qty")
  52. private Long fFeeunitid;
  53. /**
  54. * 数量
  55. */
  56. @Excel(name = "数量")
  57. private BigDecimal fQty;
  58. /**
  59. * 单价
  60. */
  61. @Excel(name = "单价")
  62. private BigDecimal fUnitprice;
  63. /**
  64. * 金额,2位小数f_qty* f_amount
  65. */
  66. @Excel(name = "金额,2位小数f_qty* f_amount")
  67. private BigDecimal fAmount;
  68. /**
  69. * 币别
  70. */
  71. @Excel(name = "币别")
  72. private String fCurrency;
  73. /**
  74. * 汇率
  75. */
  76. @Excel(name = "汇率")
  77. private BigDecimal fExrate;
  78. /**
  79. * 税率,显示是 3 6 16 用13%
  80. */
  81. @Excel(name = "税率,显示是 3 6 16 用13%")
  82. private BigDecimal fTaxrate;
  83. /**
  84. * 收、付,D:收 C 付
  85. */
  86. @Excel(name = "收、付,D:收 C 付")
  87. private String fDc;
  88. /**
  89. * 状态,N 录入,F审核中,T审核通过,只有录入状态的数据可以修改
  90. */
  91. @Excel(name = "状态,N 录入,F审核中,T审核通过,只有录入状态的数据可以修改")
  92. private Long fBillstatus;
  93. /**
  94. * 审核日期
  95. */
  96. @JsonFormat(pattern = "yyyy-MM-dd")
  97. @Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
  98. private Date fReviewDate;
  99. /**
  100. * 对账金额
  101. */
  102. @Excel(name = "对账金额")
  103. private BigDecimal fAccamount;
  104. /**
  105. * 对账单号
  106. */
  107. @Excel(name = "对账单号")
  108. private String fStatementNo;
  109. /**
  110. * 结算金额
  111. */
  112. @Excel(name = "结算金额")
  113. private BigDecimal fStlamount;
  114. /**
  115. * 发票号
  116. */
  117. @Excel(name = "发票号")
  118. private String fInvnos;
  119. /**
  120. * 对账日期
  121. */
  122. @JsonFormat(pattern = "yyyy-MM-dd")
  123. @Excel(name = "对账日期", width = 30, dateFormat = "yyyy-MM-dd")
  124. private Date fAccamountDate;
  125. /**
  126. * 开票金额
  127. */
  128. @Excel(name = "开票金额")
  129. private BigDecimal fInvamount;
  130. /**
  131. * 结算单号
  132. */
  133. @Excel(name = "结算单号")
  134. private String fStlamountNo;
  135. /**
  136. * 申请金额
  137. */
  138. @Excel(name = "申请金额")
  139. private BigDecimal fAskamount;
  140. /**
  141. * 状态
  142. */
  143. @Excel(name = "状态")
  144. private String fStatus;
  145. /**
  146. * 结算日期
  147. */
  148. @JsonFormat(pattern = "yyyy-MM-dd")
  149. @Excel(name = "结算日期", width = 30, dateFormat = "yyyy-MM-dd")
  150. private Date fStlamountDate;
  151. /**
  152. * 删除状态
  153. */
  154. private String delFlag;
  155. /**
  156. * 来源id
  157. */
  158. @Excel(name = "来源id")
  159. private Long srcId;
  160. /**
  161. * 来源编号
  162. */
  163. @Excel(name = "来源编号")
  164. private String srcBillNo;
  165. /**
  166. * 提单号
  167. */
  168. @Excel(name = "提单号")
  169. private String fMblno;
  170. /**
  171. * 明细品名合计
  172. */
  173. @Excel(name = "明细品名合计")
  174. private String fProductName;
  175. /**
  176. * 唛头合计
  177. */
  178. @Excel(name = "唛头合计")
  179. private String fMarks;
  180. /**
  181. * 仓储计费日期
  182. */
  183. @JsonFormat(pattern = "yyyy-MM-dd")
  184. @Excel(name = "仓储计费日期", width = 30, dateFormat = "yyyy-MM-dd")
  185. private Date fChargedate;
  186. /**
  187. * 仓储费计费截至日期
  188. */
  189. @JsonFormat(pattern = "yyyy-MM-dd")
  190. @Excel(name = "仓储费计费截至日期", width = 30, dateFormat = "yyyy-MM-dd")
  191. private Date fBillingDeadline;
  192. /**
  193. * 库存天数(出库日期-仓储费计费日期)
  194. */
  195. @Excel(name = "库存天数(出库日期-仓储费计费日期)")
  196. private Long fInventoryDays;
  197. /**
  198. * 金额
  199. */
  200. @Excel(name = "金额")
  201. private BigDecimal fAmt;
  202. /**
  203. * 计费天数
  204. */
  205. @Excel(name = "计费天数")
  206. private Long fBillingDays;
  207. /**
  208. * 计费数量
  209. */
  210. @Excel(name = "计费数量")
  211. private BigDecimal fBillingQty;
  212. /**
  213. * 单据类型(数据字典)SJRK(入库) SJCK(实际出库) CKDB(调拨) HQZY(货权转移)
  214. */
  215. @Excel(name = "单据类型(数据字典)SJRK", readConverterExp = "入=库")
  216. private String fBilltype;
  217. /**
  218. * 入(出)库日期
  219. */
  220. @Excel(name = "入", readConverterExp = "出=")
  221. private Date fBsdate;
  222. /**
  223. * 入库日期(原始)
  224. */
  225. @Excel(name = "入库日期", readConverterExp = "原=始")
  226. private Date fOriginalbilldate;
  227. /**
  228. * 计费方式
  229. */
  230. @Excel(name = "计费方式")
  231. private Long fBillingway;
  232. /**
  233. * 结算方式,默认提取corps中stltypeid 也可以从表t_stltypes中下拉选择,存储id,显示name
  234. */
  235. @Excel(name = "结算方式,默认提取corps中stltypeid 也可以从表t_stltypes中下拉选择,存储id,显示name")
  236. private Long fStltypeid;
  237. /**
  238. * 业务类型(存汉字的,用来区别 如: 来车提货,出库装箱 区别)
  239. */
  240. @Excel(name = "业务类型(存汉字的,用来区别 如: 来车提货,出库装箱 区别)")
  241. private String fBusinessType;
  242. /**
  243. * 费用信息备注
  244. */
  245. @Excel(name = "费用信息备注")
  246. private String priceDateRemarks;
  247. /**
  248. * 查询费用报表时间区间
  249. */
  250. private List<String> fBsdateList;
  251. public List<String> getfBsdateList() {
  252. return fBsdateList;
  253. }
  254. public void setfBsdateList(List<String> fBsdateList) {
  255. this.fBsdateList = fBsdateList;
  256. }
  257. /**
  258. * 是否可修改 0 手动录入
  259. */
  260. private Long fSrcTypeId;
  261. //客户中文名
  262. private String corpName;
  263. //费用中文名
  264. private String feeName;
  265. //状态中文
  266. private String fBillstatusName;
  267. // 仓库名称
  268. @TableField(exist = false)
  269. private String warehouseName;
  270. public String getWarehouseName() {
  271. return warehouseName;
  272. }
  273. public String getPriceDateRemarks() {
  274. return priceDateRemarks;
  275. }
  276. public void setPriceDateRemarks(String priceDateRemarks) {
  277. this.priceDateRemarks = priceDateRemarks;
  278. }
  279. public void setWarehouseName(String warehouseName) {
  280. this.warehouseName = warehouseName;
  281. }
  282. public String getfBillstatusName() {
  283. return fBillstatusName;
  284. }
  285. public void setfBillstatusName(String fBillstatusName) {
  286. this.fBillstatusName = fBillstatusName;
  287. }
  288. /**
  289. * 年份
  290. */
  291. private String fYears;
  292. /**
  293. * 月份
  294. */
  295. private List<String> fMonth;
  296. public String getfYears() {
  297. return fYears;
  298. }
  299. public void setfYears(String fYears) {
  300. this.fYears = fYears;
  301. }
  302. public List<String> getfMonth() {
  303. return fMonth;
  304. }
  305. public void setfMonth(List<String> fMonth) {
  306. this.fMonth = fMonth;
  307. }
  308. public String getCorpName() {
  309. return corpName;
  310. }
  311. public void setCorpName(String corpName) {
  312. this.corpName = corpName;
  313. }
  314. public String getFeeName() {
  315. return feeName;
  316. }
  317. public void setFeeName(String feeName) {
  318. this.feeName = feeName;
  319. }
  320. public Long getfSrcTypeId() {
  321. return fSrcTypeId;
  322. }
  323. public void setfSrcTypeId(Long fSrcTypeId) {
  324. this.fSrcTypeId = fSrcTypeId;
  325. }
  326. public void setfId(Long fId) {
  327. this.fId = fId;
  328. }
  329. public Long getfId() {
  330. return fId;
  331. }
  332. public void setfBsdate(Date fBsdate) {
  333. this.fBsdate = fBsdate;
  334. }
  335. public Date getfBsdate() {
  336. return fBsdate;
  337. }
  338. public void setfOriginalbilldate(Date fOriginalbilldate) {
  339. this.fOriginalbilldate = fOriginalbilldate;
  340. }
  341. public Date getfOriginalbilldate() {
  342. return fOriginalbilldate;
  343. }
  344. public void setfPid(Long fPid) {
  345. this.fPid = fPid;
  346. }
  347. public Long getfPid() {
  348. return fPid;
  349. }
  350. public void setfLineno(Long fLineno) {
  351. this.fLineno = fLineno;
  352. }
  353. public Long getfLineno() {
  354. return fLineno;
  355. }
  356. public void setfCorpid(Long fCorpid) {
  357. this.fCorpid = fCorpid;
  358. }
  359. public Long getfCorpid() {
  360. return fCorpid;
  361. }
  362. public void setfFeeid(Long fFeeid) {
  363. this.fFeeid = fFeeid;
  364. }
  365. public Long getfFeeid() {
  366. return fFeeid;
  367. }
  368. public void setfFeeunitid(Long fFeeunitid) {
  369. this.fFeeunitid = fFeeunitid;
  370. }
  371. public Long getfFeeunitid() {
  372. return fFeeunitid;
  373. }
  374. public void setfQty(BigDecimal fQty) {
  375. this.fQty = fQty;
  376. }
  377. public BigDecimal getfQty() {
  378. return fQty;
  379. }
  380. public void setfUnitprice(BigDecimal fUnitprice) {
  381. this.fUnitprice = fUnitprice;
  382. }
  383. public BigDecimal getfUnitprice() {
  384. return fUnitprice;
  385. }
  386. public void setfAmount(BigDecimal fAmount) {
  387. this.fAmount = fAmount;
  388. }
  389. public BigDecimal getfAmount() {
  390. return fAmount;
  391. }
  392. public void setfCurrency(String fCurrency) {
  393. this.fCurrency = fCurrency;
  394. }
  395. public String getfCurrency() {
  396. return fCurrency;
  397. }
  398. public void setfExrate(BigDecimal fExrate) {
  399. this.fExrate = fExrate;
  400. }
  401. public BigDecimal getfExrate() {
  402. return fExrate;
  403. }
  404. public void setfTaxrate(BigDecimal fTaxrate) {
  405. this.fTaxrate = fTaxrate;
  406. }
  407. public BigDecimal getfTaxrate() {
  408. return fTaxrate;
  409. }
  410. public void setfDc(String fDc) {
  411. this.fDc = fDc;
  412. }
  413. public String getfDc() {
  414. return fDc;
  415. }
  416. public void setfBillstatus(Long fBillstatus) {
  417. this.fBillstatus = fBillstatus;
  418. }
  419. public Long getfBillstatus() {
  420. return fBillstatus;
  421. }
  422. public void setfReviewDate(Date fReviewDate) {
  423. this.fReviewDate = fReviewDate;
  424. }
  425. public Date getfReviewDate() {
  426. return fReviewDate;
  427. }
  428. public void setfAccamount(BigDecimal fAccamount) {
  429. this.fAccamount = fAccamount;
  430. }
  431. public BigDecimal getfAccamount() {
  432. return fAccamount;
  433. }
  434. public void setfStatementNo(String fStatementNo) {
  435. this.fStatementNo = fStatementNo;
  436. }
  437. public String getfStatementNo() {
  438. return fStatementNo;
  439. }
  440. public void setfStlamount(BigDecimal fStlamount) {
  441. this.fStlamount = fStlamount;
  442. }
  443. public BigDecimal getfStlamount() {
  444. return fStlamount;
  445. }
  446. public void setfInvnos(String fInvnos) {
  447. this.fInvnos = fInvnos;
  448. }
  449. public String getfInvnos() {
  450. return fInvnos;
  451. }
  452. public void setfAccamountDate(Date fAccamountDate) {
  453. this.fAccamountDate = fAccamountDate;
  454. }
  455. public Date getfAccamountDate() {
  456. return fAccamountDate;
  457. }
  458. public void setfInvamount(BigDecimal fInvamount) {
  459. this.fInvamount = fInvamount;
  460. }
  461. public BigDecimal getfInvamount() {
  462. return fInvamount;
  463. }
  464. public void setfStlamountNo(String fStlamountNo) {
  465. this.fStlamountNo = fStlamountNo;
  466. }
  467. public String getfStlamountNo() {
  468. return fStlamountNo;
  469. }
  470. public void setfAskamount(BigDecimal fAskamount) {
  471. this.fAskamount = fAskamount;
  472. }
  473. public BigDecimal getfAskamount() {
  474. return fAskamount;
  475. }
  476. public void setfStatus(String fStatus) {
  477. this.fStatus = fStatus;
  478. }
  479. public String getfStatus() {
  480. return fStatus;
  481. }
  482. public void setfStlamountDate(Date fStlamountDate) {
  483. this.fStlamountDate = fStlamountDate;
  484. }
  485. public Date getfStlamountDate() {
  486. return fStlamountDate;
  487. }
  488. public void setDelFlag(String delFlag) {
  489. this.delFlag = delFlag;
  490. }
  491. public String getDelFlag() {
  492. return delFlag;
  493. }
  494. public void setSrcId(Long srcId) {
  495. this.srcId = srcId;
  496. }
  497. public Long getSrcId() {
  498. return srcId;
  499. }
  500. public void setSrcBillNo(String srcBillNo) {
  501. this.srcBillNo = srcBillNo;
  502. }
  503. public String getSrcBillNo() {
  504. return srcBillNo;
  505. }
  506. public void setfMblno(String fMblno) {
  507. this.fMblno = fMblno;
  508. }
  509. public String getfMblno() {
  510. return fMblno;
  511. }
  512. public void setfProductName(String fProductName) {
  513. this.fProductName = fProductName;
  514. }
  515. public String getfProductName() {
  516. return fProductName;
  517. }
  518. public void setfMarks(String fMarks) {
  519. this.fMarks = fMarks;
  520. }
  521. public String getfMarks() {
  522. return fMarks;
  523. }
  524. public void setfChargedate(Date fChargedate) {
  525. this.fChargedate = fChargedate;
  526. }
  527. public Date getfChargedate() {
  528. return fChargedate;
  529. }
  530. public void setfBillingDeadline(Date fBillingDeadline) {
  531. this.fBillingDeadline = fBillingDeadline;
  532. }
  533. public Date getfBillingDeadline() {
  534. return fBillingDeadline;
  535. }
  536. public void setfInventoryDays(Long fInventoryDays) {
  537. this.fInventoryDays = fInventoryDays;
  538. }
  539. public Long getfInventoryDays() {
  540. return fInventoryDays;
  541. }
  542. public void setfAmt(BigDecimal fAmt) {
  543. this.fAmt = fAmt;
  544. }
  545. public BigDecimal getfAmt() {
  546. return fAmt;
  547. }
  548. public void setfBillingDays(Long fBillingDays) {
  549. this.fBillingDays = fBillingDays;
  550. }
  551. public Long getfBillingDays() {
  552. return fBillingDays;
  553. }
  554. public void setfBillingQty(BigDecimal fBillingQty) {
  555. this.fBillingQty = fBillingQty;
  556. }
  557. public BigDecimal getfBillingQty() {
  558. return fBillingQty;
  559. }
  560. public void setfBilltype(String fBilltype) {
  561. this.fBilltype = fBilltype;
  562. }
  563. public String getfBilltype() {
  564. return fBilltype;
  565. }
  566. public void setfBillingway(Long fBillingway) {
  567. this.fBillingway = fBillingway;
  568. }
  569. public Long getfBillingway() {
  570. return fBillingway;
  571. }
  572. public Long getfStltypeid() {
  573. return fStltypeid;
  574. }
  575. public void setfStltypeid(Long fStltypeid) {
  576. this.fStltypeid = fStltypeid;
  577. }
  578. public String getfBusinessType() {
  579. return fBusinessType;
  580. }
  581. public void setfBusinessType(String fBusinessType) {
  582. this.fBusinessType = fBusinessType;
  583. }
  584. public Long getfWarehouseid() {
  585. return fWarehouseid;
  586. }
  587. public void setfWarehouseid(Long fWarehouseid) {
  588. this.fWarehouseid = fWarehouseid;
  589. }
  590. @Override
  591. public String toString() {
  592. return "TWarehousebillsfees{" +
  593. "fId=" + fId +
  594. ", fPid=" + fPid +
  595. ", fLineno=" + fLineno +
  596. ", fWarehouseid=" + fWarehouseid +
  597. ", fCorpid=" + fCorpid +
  598. ", fFeeid=" + fFeeid +
  599. ", fFeeunitid=" + fFeeunitid +
  600. ", fQty=" + fQty +
  601. ", fUnitprice=" + fUnitprice +
  602. ", fAmount=" + fAmount +
  603. ", fCurrency='" + fCurrency + '\'' +
  604. ", fExrate=" + fExrate +
  605. ", fTaxrate=" + fTaxrate +
  606. ", fDc='" + fDc + '\'' +
  607. ", fBillstatus=" + fBillstatus +
  608. ", fReviewDate=" + fReviewDate +
  609. ", fAccamount=" + fAccamount +
  610. ", fStatementNo='" + fStatementNo + '\'' +
  611. ", fStlamount=" + fStlamount +
  612. ", fInvnos='" + fInvnos + '\'' +
  613. ", fAccamountDate=" + fAccamountDate +
  614. ", fInvamount=" + fInvamount +
  615. ", fStlamountNo='" + fStlamountNo + '\'' +
  616. ", fAskamount=" + fAskamount +
  617. ", fStatus='" + fStatus + '\'' +
  618. ", fStlamountDate=" + fStlamountDate +
  619. ", delFlag='" + delFlag + '\'' +
  620. ", srcId=" + srcId +
  621. ", srcBillNo='" + srcBillNo + '\'' +
  622. ", fMblno='" + fMblno + '\'' +
  623. ", fProductName='" + fProductName + '\'' +
  624. ", fMarks='" + fMarks + '\'' +
  625. ", fChargedate=" + fChargedate +
  626. ", fBillingDeadline=" + fBillingDeadline +
  627. ", fInventoryDays=" + fInventoryDays +
  628. ", fAmt=" + fAmt +
  629. ", fBillingDays=" + fBillingDays +
  630. ", fBillingQty=" + fBillingQty +
  631. ", fBilltype='" + fBilltype + '\'' +
  632. ", fBsdate=" + fBsdate +
  633. ", fOriginalbilldate=" + fOriginalbilldate +
  634. ", fBillingway=" + fBillingway +
  635. ", fStltypeid=" + fStltypeid +
  636. ", fBusinessType='" + fBusinessType + '\'' +
  637. ", fBsdateList=" + fBsdateList +
  638. ", fSrcTypeId=" + fSrcTypeId +
  639. ", corpName='" + corpName + '\'' +
  640. ", feeName='" + feeName + '\'' +
  641. ", fBillstatusName='" + fBillstatusName + '\'' +
  642. ", fYears='" + fYears + '\'' +
  643. ", fMonth=" + fMonth +
  644. '}';
  645. }
  646. }