TWarehousebillsfees.java 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645
  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. public void setfId(Long fId) {
  222. this.fId = fId;
  223. }
  224. public Long getfId() {
  225. return fId;
  226. }
  227. public void setfBsdate(Date fBsdate) {
  228. this.fBsdate = fBsdate;
  229. }
  230. public Date getfBsdate() {
  231. return fBsdate;
  232. }
  233. public void setfOriginalbilldate(Date fOriginalbilldate) {
  234. this.fOriginalbilldate = fOriginalbilldate;
  235. }
  236. public Date getfOriginalbilldate() {
  237. return fOriginalbilldate;
  238. }
  239. public void setfPid(Long fPid) {
  240. this.fPid = fPid;
  241. }
  242. public Long getfPid() {
  243. return fPid;
  244. }
  245. public void setfLineno(Long fLineno) {
  246. this.fLineno = fLineno;
  247. }
  248. public Long getfLineno() {
  249. return fLineno;
  250. }
  251. public void setfCorpid(Long fCorpid) {
  252. this.fCorpid = fCorpid;
  253. }
  254. public Long getfCorpid() {
  255. return fCorpid;
  256. }
  257. public void setfFeeid(Long fFeeid) {
  258. this.fFeeid = fFeeid;
  259. }
  260. public Long getfFeeid() {
  261. return fFeeid;
  262. }
  263. public void setfFeeunitid(Long fFeeunitid) {
  264. this.fFeeunitid = fFeeunitid;
  265. }
  266. public Long getfFeeunitid() {
  267. return fFeeunitid;
  268. }
  269. public void setfQty(BigDecimal fQty) {
  270. this.fQty = fQty;
  271. }
  272. public BigDecimal getfQty() {
  273. return fQty;
  274. }
  275. public void setfUnitprice(BigDecimal fUnitprice) {
  276. this.fUnitprice = fUnitprice;
  277. }
  278. public BigDecimal getfUnitprice() {
  279. return fUnitprice;
  280. }
  281. public void setfAmount(BigDecimal fAmount) {
  282. this.fAmount = fAmount;
  283. }
  284. public BigDecimal getfAmount() {
  285. return fAmount;
  286. }
  287. public void setfCurrency(String fCurrency) {
  288. this.fCurrency = fCurrency;
  289. }
  290. public String getfCurrency() {
  291. return fCurrency;
  292. }
  293. public void setfExrate(BigDecimal fExrate) {
  294. this.fExrate = fExrate;
  295. }
  296. public BigDecimal getfExrate() {
  297. return fExrate;
  298. }
  299. public void setfTaxrate(BigDecimal fTaxrate) {
  300. this.fTaxrate = fTaxrate;
  301. }
  302. public BigDecimal getfTaxrate() {
  303. return fTaxrate;
  304. }
  305. public void setfDc(String fDc) {
  306. this.fDc = fDc;
  307. }
  308. public String getfDc() {
  309. return fDc;
  310. }
  311. public void setfBillstatus(Long fBillstatus) {
  312. this.fBillstatus = fBillstatus;
  313. }
  314. public Long getfBillstatus() {
  315. return fBillstatus;
  316. }
  317. public void setfReviewDate(Date fReviewDate) {
  318. this.fReviewDate = fReviewDate;
  319. }
  320. public Date getfReviewDate() {
  321. return fReviewDate;
  322. }
  323. public void setfAccamount(Long fAccamount) {
  324. this.fAccamount = fAccamount;
  325. }
  326. public Long getfAccamount() {
  327. return fAccamount;
  328. }
  329. public void setfStatementNo(String fStatementNo) {
  330. this.fStatementNo = fStatementNo;
  331. }
  332. public String getfStatementNo() {
  333. return fStatementNo;
  334. }
  335. public void setfStlamount(Long fStlamount) {
  336. this.fStlamount = fStlamount;
  337. }
  338. public Long getfStlamount() {
  339. return fStlamount;
  340. }
  341. public void setfInvnos(String fInvnos) {
  342. this.fInvnos = fInvnos;
  343. }
  344. public String getfInvnos() {
  345. return fInvnos;
  346. }
  347. public void setfAccamountDate(Date fAccamountDate) {
  348. this.fAccamountDate = fAccamountDate;
  349. }
  350. public Date getfAccamountDate() {
  351. return fAccamountDate;
  352. }
  353. public void setfInvamount(Long fInvamount) {
  354. this.fInvamount = fInvamount;
  355. }
  356. public Long getfInvamount() {
  357. return fInvamount;
  358. }
  359. public void setfStlamountNo(String fStlamountNo) {
  360. this.fStlamountNo = fStlamountNo;
  361. }
  362. public String getfStlamountNo() {
  363. return fStlamountNo;
  364. }
  365. public void setfAskamount(Long fAskamount) {
  366. this.fAskamount = fAskamount;
  367. }
  368. public Long getfAskamount() {
  369. return fAskamount;
  370. }
  371. public void setfStatus(String fStatus) {
  372. this.fStatus = fStatus;
  373. }
  374. public String getfStatus() {
  375. return fStatus;
  376. }
  377. public void setfStlamountDate(Date fStlamountDate) {
  378. this.fStlamountDate = fStlamountDate;
  379. }
  380. public Date getfStlamountDate() {
  381. return fStlamountDate;
  382. }
  383. public void setDelFlag(String delFlag) {
  384. this.delFlag = delFlag;
  385. }
  386. public String getDelFlag() {
  387. return delFlag;
  388. }
  389. public void setSrcId(Long srcId) {
  390. this.srcId = srcId;
  391. }
  392. public Long getSrcId() {
  393. return srcId;
  394. }
  395. public void setSrcBillNo(String srcBillNo) {
  396. this.srcBillNo = srcBillNo;
  397. }
  398. public String getSrcBillNo() {
  399. return srcBillNo;
  400. }
  401. public void setfMblno(String fMblno) {
  402. this.fMblno = fMblno;
  403. }
  404. public String getfMblno() {
  405. return fMblno;
  406. }
  407. public void setfProductName(String fProductName) {
  408. this.fProductName = fProductName;
  409. }
  410. public String getfProductName() {
  411. return fProductName;
  412. }
  413. public void setfMarks(String fMarks) {
  414. this.fMarks = fMarks;
  415. }
  416. public String getfMarks() {
  417. return fMarks;
  418. }
  419. public void setfChargedate(Date fChargedate) {
  420. this.fChargedate = fChargedate;
  421. }
  422. public Date getfChargedate() {
  423. return fChargedate;
  424. }
  425. public void setfBillingDeadline(Date fBillingDeadline) {
  426. this.fBillingDeadline = fBillingDeadline;
  427. }
  428. public Date getfBillingDeadline() {
  429. return fBillingDeadline;
  430. }
  431. public void setfInventoryDays(Long fInventoryDays) {
  432. this.fInventoryDays = fInventoryDays;
  433. }
  434. public Long getfInventoryDays() {
  435. return fInventoryDays;
  436. }
  437. public void setfAmt(BigDecimal fAmt) {
  438. this.fAmt = fAmt;
  439. }
  440. public BigDecimal getfAmt() {
  441. return fAmt;
  442. }
  443. public void setfBillingDays(Long fBillingDays) {
  444. this.fBillingDays = fBillingDays;
  445. }
  446. public Long getfBillingDays() {
  447. return fBillingDays;
  448. }
  449. public void setfBillingQty(BigDecimal fBillingQty) {
  450. this.fBillingQty = fBillingQty;
  451. }
  452. public BigDecimal getfBillingQty() {
  453. return fBillingQty;
  454. }
  455. public void setfBilltype(String fBilltype) {
  456. this.fBilltype = fBilltype;
  457. }
  458. public String getfBilltype() {
  459. return fBilltype;
  460. }
  461. public void setfBillingway(Long fBillingway) {
  462. this.fBillingway = fBillingway;
  463. }
  464. public Long getfBillingway() {
  465. return fBillingway;
  466. }
  467. @Override
  468. public String toString() {
  469. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  470. .append("fId", getfId())
  471. .append("fPid", getfPid())
  472. .append("fLineno", getfLineno())
  473. .append("fCorpid", getfCorpid())
  474. .append("fFeeid", getfFeeid())
  475. .append("fFeeunitid", getfFeeunitid())
  476. .append("fQty", getfQty())
  477. .append("fUnitprice", getfUnitprice())
  478. .append("fAmount", getfAmount())
  479. .append("fCurrency", getfCurrency())
  480. .append("fExrate", getfExrate())
  481. .append("fTaxrate", getfTaxrate())
  482. .append("fDc", getfDc())
  483. .append("fBillstatus", getfBillstatus())
  484. .append("fReviewDate", getfReviewDate())
  485. .append("fAccamount", getfAccamount())
  486. .append("fStatementNo", getfStatementNo())
  487. .append("fStlamount", getfStlamount())
  488. .append("fInvnos", getfInvnos())
  489. .append("fAccamountDate", getfAccamountDate())
  490. .append("fInvamount", getfInvamount())
  491. .append("fStlamountNo", getfStlamountNo())
  492. .append("fAskamount", getfAskamount())
  493. .append("fStatus", getfStatus())
  494. .append("fStlamountDate", getfStlamountDate())
  495. .append("delFlag", getDelFlag())
  496. .append("createBy", getCreateBy())
  497. .append("createTime", getCreateTime())
  498. .append("updateBy", getUpdateBy())
  499. .append("updateTime", getUpdateTime())
  500. .append("remark", getRemark())
  501. .append("srcId", getSrcId())
  502. .append("srcBillNo", getSrcBillNo())
  503. .append("fMblno", getfMblno())
  504. .append("fProductName", getfProductName())
  505. .append("fOriginalbilldate", getfOriginalbilldate())
  506. .append("fBsdate", getfBsdate())
  507. .append("fMarks", getfMarks())
  508. .append("fChargedate", getfChargedate())
  509. .append("fBillingDeadline", getfBillingDeadline())
  510. .append("fInventoryDays", getfInventoryDays())
  511. .append("fAmt", getfAmt())
  512. .append("fBillingDays", getfBillingDays())
  513. .append("fBillingQty", getfBillingQty())
  514. .append("fBilltype", getfBilltype())
  515. .append("fBillingway", getfBillingway())
  516. .toString();
  517. }
  518. }