TWarehousebillsfees.java 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  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_warehousebillsfees
  11. *
  12. * @author ruoyi
  13. * @date 2020-12-11
  14. */
  15. public class TWarehousebillsfees extends BaseEntity {
  16. private static final long serialVersionUID = 1L;
  17. /**
  18. * $column.columnComment
  19. */
  20. private Long fId;
  21. /**
  22. * 对应主表id
  23. */
  24. @Excel(name = "对应主表id")
  25. private Long fPid;
  26. /**
  27. * 行号
  28. */
  29. @Excel(name = "行号")
  30. private Long fLineno;
  31. /**
  32. * 客户名称,t_corps 中的no或 name,模糊查找选择后,存储id,显示name
  33. */
  34. @Excel(name = "客户名称,t_corps 中的no或 name,模糊查找选择后,存储id,显示name")
  35. private Long fCorpid;
  36. /**
  37. * 费用名称,存储id 显示名称,t_fees 中的no或 name,模糊查找选择后,存储f_id,显示name
  38. */
  39. @Excel(name = "费用名称,存储id 显示名称,t_fees 中的no或 name,模糊查找选择后,存储f_id,显示name")
  40. private Long fFeeid;
  41. /**
  42. * 计价单位(数据字典),对应,t_unitfees f_id,如果选择为毛重,数量(f_qty)取主表的毛重,如果选择净重,取主表的净重,如果为箱量,取主表的箱量
  43. */
  44. @Excel(name = "计价单位(数据字典),对应,t_unitfees f_id,如果选择为毛重,数量", readConverterExp = "f=_qty")
  45. private Long fFeeunitid;
  46. /**
  47. * 数量
  48. */
  49. @Excel(name = "数量")
  50. private BigDecimal fQty;
  51. /**
  52. * 单价
  53. */
  54. @Excel(name = "单价")
  55. private BigDecimal fUnitprice;
  56. /**
  57. * 金额,2位小数f_qty* f_amount
  58. */
  59. @Excel(name = "金额,2位小数f_qty* f_amount")
  60. private BigDecimal fAmount;
  61. /**
  62. * 币别
  63. */
  64. @Excel(name = "币别")
  65. private String fCurrency;
  66. /**
  67. * 汇率
  68. */
  69. @Excel(name = "汇率")
  70. private BigDecimal fExrate;
  71. /**
  72. * 税率,显示是 3 6 16 用13%
  73. */
  74. @Excel(name = "税率,显示是 3 6 16 用13%")
  75. private BigDecimal fTaxrate;
  76. /**
  77. * 收、付,D:收 C 付
  78. */
  79. @Excel(name = "收、付,D:收 C 付")
  80. private String fDc;
  81. /**
  82. * 状态,N 录入,F审核中,T审核通过,只有录入状态的数据可以修改
  83. */
  84. @Excel(name = "状态,N 录入,F审核中,T审核通过,只有录入状态的数据可以修改")
  85. private Long fBillstatus;
  86. /**
  87. * 审核日期
  88. */
  89. @JsonFormat(pattern = "yyyy-MM-dd")
  90. @Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
  91. private Date fReviewDate;
  92. /**
  93. * 对账金额
  94. */
  95. @Excel(name = "对账金额")
  96. private Long fAccamount;
  97. /**
  98. * 对账单号
  99. */
  100. @Excel(name = "对账单号")
  101. private String fStatementNo;
  102. /**
  103. * 结算金额
  104. */
  105. @Excel(name = "结算金额")
  106. private Long fStlamount;
  107. /**
  108. * 发票号
  109. */
  110. @Excel(name = "发票号")
  111. private String fInvnos;
  112. /**
  113. * 对账日期
  114. */
  115. @JsonFormat(pattern = "yyyy-MM-dd")
  116. @Excel(name = "对账日期", width = 30, dateFormat = "yyyy-MM-dd")
  117. private Date fAccamountDate;
  118. /**
  119. * 开票金额
  120. */
  121. @Excel(name = "开票金额")
  122. private Long fInvamount;
  123. /**
  124. * 结算单号
  125. */
  126. @Excel(name = "结算单号")
  127. private String fStlamountNo;
  128. /**
  129. * 申请金额
  130. */
  131. @Excel(name = "申请金额")
  132. private Long fAskamount;
  133. /**
  134. * 状态
  135. */
  136. @Excel(name = "状态")
  137. private String fStatus;
  138. /**
  139. * 结算日期
  140. */
  141. @JsonFormat(pattern = "yyyy-MM-dd")
  142. @Excel(name = "结算日期", width = 30, dateFormat = "yyyy-MM-dd")
  143. private Date fStlamountDate;
  144. /**
  145. * 删除状态
  146. */
  147. private String delFlag;
  148. /**
  149. * 来源id
  150. */
  151. @Excel(name = "来源id")
  152. private Long srcId;
  153. /**
  154. * 来源编号
  155. */
  156. @Excel(name = "来源编号")
  157. private String srcBillNo;
  158. /**
  159. * 提单号
  160. */
  161. @Excel(name = "提单号")
  162. private String fMblno;
  163. /**
  164. * 明细品名合计
  165. */
  166. @Excel(name = "明细品名合计")
  167. private String fProductName;
  168. /**
  169. * 唛头合计
  170. */
  171. @Excel(name = "唛头合计")
  172. private String fMarks;
  173. /**
  174. * 仓储计费日期
  175. */
  176. @JsonFormat(pattern = "yyyy-MM-dd")
  177. @Excel(name = "仓储计费日期", width = 30, dateFormat = "yyyy-MM-dd")
  178. private Date fChargedate;
  179. /**
  180. * 仓储费计费截至日期
  181. */
  182. @JsonFormat(pattern = "yyyy-MM-dd")
  183. @Excel(name = "仓储费计费截至日期", width = 30, dateFormat = "yyyy-MM-dd")
  184. private Date fBillingDeadline;
  185. /**
  186. * 库存天数(出库日期-仓储费计费日期)
  187. */
  188. @Excel(name = "库存天数(出库日期-仓储费计费日期)")
  189. private Long fInventoryDays;
  190. /**
  191. * 金额
  192. */
  193. @Excel(name = "金额")
  194. private BigDecimal fAmt;
  195. /**
  196. * 计费天数
  197. */
  198. @Excel(name = "计费天数")
  199. private Long fBillingDays;
  200. /**
  201. * 计费数量
  202. */
  203. @Excel(name = "计费数量")
  204. private BigDecimal fBillingQty;
  205. /**
  206. * 单据类型(数据字典)SJRK(入库) SJCK(实际出库) CKDB(调拨) HQZY(货权转移)
  207. */
  208. @Excel(name = "单据类型(数据字典)SJRK", readConverterExp = "入=库")
  209. private String fBilltype;
  210. /** 入(出)库日期 */
  211. @Excel(name = "入", readConverterExp = "出=")
  212. private Date fBsdate;
  213. /** 入库日期(原始) */
  214. @Excel(name = "入库日期", readConverterExp = "原=始")
  215. private Date fOriginalbilldate;
  216. /**
  217. * 计费方式
  218. */
  219. @Excel(name = "计费方式")
  220. private Long fBillingway;
  221. /**
  222. * 结算方式,默认提取corps中stltypeid 也可以从表t_stltypes中下拉选择,存储id,显示name
  223. */
  224. @Excel(name = "结算方式,默认提取corps中stltypeid 也可以从表t_stltypes中下拉选择,存储id,显示name")
  225. private Long fStltypeid;
  226. public void setfId(Long fId) {
  227. this.fId = fId;
  228. }
  229. public Long getfId() {
  230. return fId;
  231. }
  232. public void setfBsdate(Date fBsdate) {
  233. this.fBsdate = fBsdate;
  234. }
  235. public Date getfBsdate() {
  236. return fBsdate;
  237. }
  238. public void setfOriginalbilldate(Date fOriginalbilldate) {
  239. this.fOriginalbilldate = fOriginalbilldate;
  240. }
  241. public Date getfOriginalbilldate() {
  242. return fOriginalbilldate;
  243. }
  244. public void setfPid(Long fPid) {
  245. this.fPid = fPid;
  246. }
  247. public Long getfPid() {
  248. return fPid;
  249. }
  250. public void setfLineno(Long fLineno) {
  251. this.fLineno = fLineno;
  252. }
  253. public Long getfLineno() {
  254. return fLineno;
  255. }
  256. public void setfCorpid(Long fCorpid) {
  257. this.fCorpid = fCorpid;
  258. }
  259. public Long getfCorpid() {
  260. return fCorpid;
  261. }
  262. public void setfFeeid(Long fFeeid) {
  263. this.fFeeid = fFeeid;
  264. }
  265. public Long getfFeeid() {
  266. return fFeeid;
  267. }
  268. public void setfFeeunitid(Long fFeeunitid) {
  269. this.fFeeunitid = fFeeunitid;
  270. }
  271. public Long getfFeeunitid() {
  272. return fFeeunitid;
  273. }
  274. public void setfQty(BigDecimal fQty) {
  275. this.fQty = fQty;
  276. }
  277. public BigDecimal getfQty() {
  278. return fQty;
  279. }
  280. public void setfUnitprice(BigDecimal fUnitprice) {
  281. this.fUnitprice = fUnitprice;
  282. }
  283. public BigDecimal getfUnitprice() {
  284. return fUnitprice;
  285. }
  286. public void setfAmount(BigDecimal fAmount) {
  287. this.fAmount = fAmount;
  288. }
  289. public BigDecimal getfAmount() {
  290. return fAmount;
  291. }
  292. public void setfCurrency(String fCurrency) {
  293. this.fCurrency = fCurrency;
  294. }
  295. public String getfCurrency() {
  296. return fCurrency;
  297. }
  298. public void setfExrate(BigDecimal fExrate) {
  299. this.fExrate = fExrate;
  300. }
  301. public BigDecimal getfExrate() {
  302. return fExrate;
  303. }
  304. public void setfTaxrate(BigDecimal fTaxrate) {
  305. this.fTaxrate = fTaxrate;
  306. }
  307. public BigDecimal getfTaxrate() {
  308. return fTaxrate;
  309. }
  310. public void setfDc(String fDc) {
  311. this.fDc = fDc;
  312. }
  313. public String getfDc() {
  314. return fDc;
  315. }
  316. public void setfBillstatus(Long fBillstatus) {
  317. this.fBillstatus = fBillstatus;
  318. }
  319. public Long getfBillstatus() {
  320. return fBillstatus;
  321. }
  322. public void setfReviewDate(Date fReviewDate) {
  323. this.fReviewDate = fReviewDate;
  324. }
  325. public Date getfReviewDate() {
  326. return fReviewDate;
  327. }
  328. public void setfAccamount(Long fAccamount) {
  329. this.fAccamount = fAccamount;
  330. }
  331. public Long getfAccamount() {
  332. return fAccamount;
  333. }
  334. public void setfStatementNo(String fStatementNo) {
  335. this.fStatementNo = fStatementNo;
  336. }
  337. public String getfStatementNo() {
  338. return fStatementNo;
  339. }
  340. public void setfStlamount(Long fStlamount) {
  341. this.fStlamount = fStlamount;
  342. }
  343. public Long getfStlamount() {
  344. return fStlamount;
  345. }
  346. public void setfInvnos(String fInvnos) {
  347. this.fInvnos = fInvnos;
  348. }
  349. public String getfInvnos() {
  350. return fInvnos;
  351. }
  352. public void setfAccamountDate(Date fAccamountDate) {
  353. this.fAccamountDate = fAccamountDate;
  354. }
  355. public Date getfAccamountDate() {
  356. return fAccamountDate;
  357. }
  358. public void setfInvamount(Long fInvamount) {
  359. this.fInvamount = fInvamount;
  360. }
  361. public Long getfInvamount() {
  362. return fInvamount;
  363. }
  364. public void setfStlamountNo(String fStlamountNo) {
  365. this.fStlamountNo = fStlamountNo;
  366. }
  367. public String getfStlamountNo() {
  368. return fStlamountNo;
  369. }
  370. public void setfAskamount(Long fAskamount) {
  371. this.fAskamount = fAskamount;
  372. }
  373. public Long getfAskamount() {
  374. return fAskamount;
  375. }
  376. public void setfStatus(String fStatus) {
  377. this.fStatus = fStatus;
  378. }
  379. public String getfStatus() {
  380. return fStatus;
  381. }
  382. public void setfStlamountDate(Date fStlamountDate) {
  383. this.fStlamountDate = fStlamountDate;
  384. }
  385. public Date getfStlamountDate() {
  386. return fStlamountDate;
  387. }
  388. public void setDelFlag(String delFlag) {
  389. this.delFlag = delFlag;
  390. }
  391. public String getDelFlag() {
  392. return delFlag;
  393. }
  394. public void setSrcId(Long srcId) {
  395. this.srcId = srcId;
  396. }
  397. public Long getSrcId() {
  398. return srcId;
  399. }
  400. public void setSrcBillNo(String srcBillNo) {
  401. this.srcBillNo = srcBillNo;
  402. }
  403. public String getSrcBillNo() {
  404. return srcBillNo;
  405. }
  406. public void setfMblno(String fMblno) {
  407. this.fMblno = fMblno;
  408. }
  409. public String getfMblno() {
  410. return fMblno;
  411. }
  412. public void setfProductName(String fProductName) {
  413. this.fProductName = fProductName;
  414. }
  415. public String getfProductName() {
  416. return fProductName;
  417. }
  418. public void setfMarks(String fMarks) {
  419. this.fMarks = fMarks;
  420. }
  421. public String getfMarks() {
  422. return fMarks;
  423. }
  424. public void setfChargedate(Date fChargedate) {
  425. this.fChargedate = fChargedate;
  426. }
  427. public Date getfChargedate() {
  428. return fChargedate;
  429. }
  430. public void setfBillingDeadline(Date fBillingDeadline) {
  431. this.fBillingDeadline = fBillingDeadline;
  432. }
  433. public Date getfBillingDeadline() {
  434. return fBillingDeadline;
  435. }
  436. public void setfInventoryDays(Long fInventoryDays) {
  437. this.fInventoryDays = fInventoryDays;
  438. }
  439. public Long getfInventoryDays() {
  440. return fInventoryDays;
  441. }
  442. public void setfAmt(BigDecimal fAmt) {
  443. this.fAmt = fAmt;
  444. }
  445. public BigDecimal getfAmt() {
  446. return fAmt;
  447. }
  448. public void setfBillingDays(Long fBillingDays) {
  449. this.fBillingDays = fBillingDays;
  450. }
  451. public Long getfBillingDays() {
  452. return fBillingDays;
  453. }
  454. public void setfBillingQty(BigDecimal fBillingQty) {
  455. this.fBillingQty = fBillingQty;
  456. }
  457. public BigDecimal getfBillingQty() {
  458. return fBillingQty;
  459. }
  460. public void setfBilltype(String fBilltype) {
  461. this.fBilltype = fBilltype;
  462. }
  463. public String getfBilltype() {
  464. return fBilltype;
  465. }
  466. public void setfBillingway(Long fBillingway) {
  467. this.fBillingway = fBillingway;
  468. }
  469. public Long getfBillingway() {
  470. return fBillingway;
  471. }
  472. public Long getfStltypeid() {
  473. return fStltypeid;
  474. }
  475. public void setfStltypeid(Long fStltypeid) {
  476. this.fStltypeid = fStltypeid;
  477. }
  478. @Override
  479. public String toString() {
  480. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  481. .append("fId", getfId())
  482. .append("fPid", getfPid())
  483. .append("fLineno", getfLineno())
  484. .append("fCorpid", getfCorpid())
  485. .append("fFeeid", getfFeeid())
  486. .append("fFeeunitid", getfFeeunitid())
  487. .append("fQty", getfQty())
  488. .append("fUnitprice", getfUnitprice())
  489. .append("fAmount", getfAmount())
  490. .append("fCurrency", getfCurrency())
  491. .append("fExrate", getfExrate())
  492. .append("fTaxrate", getfTaxrate())
  493. .append("fDc", getfDc())
  494. .append("fBillstatus", getfBillstatus())
  495. .append("fReviewDate", getfReviewDate())
  496. .append("fAccamount", getfAccamount())
  497. .append("fStatementNo", getfStatementNo())
  498. .append("fStlamount", getfStlamount())
  499. .append("fInvnos", getfInvnos())
  500. .append("fAccamountDate", getfAccamountDate())
  501. .append("fInvamount", getfInvamount())
  502. .append("fStlamountNo", getfStlamountNo())
  503. .append("fAskamount", getfAskamount())
  504. .append("fStatus", getfStatus())
  505. .append("fStlamountDate", getfStlamountDate())
  506. .append("delFlag", getDelFlag())
  507. .append("createBy", getCreateBy())
  508. .append("createTime", getCreateTime())
  509. .append("updateBy", getUpdateBy())
  510. .append("updateTime", getUpdateTime())
  511. .append("remark", getRemark())
  512. .append("srcId", getSrcId())
  513. .append("srcBillNo", getSrcBillNo())
  514. .append("fMblno", getfMblno())
  515. .append("fProductName", getfProductName())
  516. .append("fOriginalbilldate", getfOriginalbilldate())
  517. .append("fBsdate", getfBsdate())
  518. .append("fMarks", getfMarks())
  519. .append("fChargedate", getfChargedate())
  520. .append("fBillingDeadline", getfBillingDeadline())
  521. .append("fInventoryDays", getfInventoryDays())
  522. .append("fAmt", getfAmt())
  523. .append("fBillingDays", getfBillingDays())
  524. .append("fBillingQty", getfBillingQty())
  525. .append("fBilltype", getfBilltype())
  526. .append("fBillingway", getfBillingway())
  527. .toString();
  528. }
  529. }