TCntrno.java 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. package com.ruoyi.shipping.domain;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import java.util.List;
  5. import com.baomidou.mybatisplus.annotation.TableField;
  6. import com.fasterxml.jackson.annotation.JsonFormat;
  7. import lombok.Data;
  8. import lombok.With;
  9. import org.apache.commons.lang3.builder.ToStringBuilder;
  10. import org.apache.commons.lang3.builder.ToStringStyle;
  11. import com.ruoyi.common.annotation.Excel;
  12. import com.ruoyi.common.core.domain.BaseEntity;
  13. /**
  14. * 集装箱号对象 t_cntrno
  15. *
  16. * @author ruoyi
  17. * @date 2021-03-22
  18. */
  19. @Data
  20. public class TCntrno extends BaseEntity
  21. {
  22. private static final long serialVersionUID = 1L;
  23. /** 用户id */
  24. private Long fId;
  25. /** 箱号 */
  26. @Excel(name = "箱号")
  27. private String fNo;
  28. //箱类型中文
  29. @Excel(name = "箱类型")
  30. private String typeidName;
  31. //地点中文名称
  32. @Excel(name = "地点")
  33. private String addressName;
  34. //箱主中文
  35. @Excel(name = "箱主")
  36. private String ownerName;
  37. //箱来源中文
  38. @Excel(name = "箱来源")
  39. private String sourceName;
  40. //箱状态中文
  41. @Excel(name = "箱状态")
  42. private String cntrstatusName;
  43. //租赁方式中文
  44. @Excel(name = "租赁方式")
  45. private String rentName;
  46. //空重中文
  47. @Excel(name = "空重")
  48. private String updateEFName;
  49. /*备注*/
  50. @Excel(name = "备注")
  51. private String remark;
  52. /*创建者*/
  53. @Excel(name = "录入人")
  54. private String createBy;
  55. /* 创建时间*/
  56. @Excel(name = "录入时间",dateFormat = "yyyy-MM-dd")
  57. @JsonFormat(pattern = "yyyy-MM-dd")
  58. private Date createTime;
  59. /* 更新者*/
  60. @Excel(name = "最新修改人")
  61. private String updateBy;
  62. /* 更新时间*/
  63. @Excel(name = "最新修改时间",dateFormat = "yyyy-MM-dd")
  64. @JsonFormat(pattern = "yyyy-MM-dd")
  65. private Date updateTime;
  66. /** 箱类型(存t_cntr 编号 存储id) */
  67. private Long fTypeid;
  68. /** 箱主(选择数据字典 铁路凯和) */
  69. private String fOwner;
  70. /** 箱来源(数据字典 自由,租赁、买入、合作) */
  71. private String fSource;
  72. /** 租赁方式(数据字典 长租、短租) */
  73. private String fRent;
  74. /** 最新时间 */
  75. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  76. //@Excel(name = "最新时间", width = 30, dateFormat = "yyyy-MM-dd")
  77. private Date fUpdatetime;
  78. /** 造箱时间 */
  79. @JsonFormat(pattern = "yyyy-MM-dd")
  80. @Excel(name = "造箱时间", width = 30, dateFormat = "yyyy-MM-dd")
  81. private Date fBuildBoxTime;
  82. /** 箱龄(年) */
  83. @Excel(name = "箱龄(年)")
  84. @JsonFormat(pattern = "yyyy")
  85. private String fBoxTurtleYear;
  86. /** 箱龄(月) */
  87. @Excel(name = "箱龄(月)")
  88. @JsonFormat(pattern = "MM")
  89. private String fBoxTurtleMonth;
  90. /** 箱公司 */
  91. @Excel(name = "箱主(手填)")
  92. private String fBoxLord;
  93. /** 合同协议号 */
  94. @Excel(name = "合同协议号")
  95. private String fPactDealHorn;
  96. /** 起租时间 */
  97. @JsonFormat(pattern = "yyyy-MM-dd")
  98. @Excel(name = "起租时间", width = 30, dateFormat = "yyyy-MM-dd")
  99. private Date onHireStart;
  100. /** 退租时间 */
  101. @JsonFormat(pattern = "yyyy-MM-dd")
  102. // @Excel(name = "退租时间", width = 30, dateFormat = "yyyy-MM-dd")
  103. private Date onHireEnd;
  104. /** 最新地点 */
  105. private String fUpdateaddress;
  106. /** 数据字典 空重 */
  107. private String fUpdateef;
  108. /** 数据字典 好 坏 */
  109. private String fCntrstatus;
  110. /** 默认 T ,正常T 停用F 下拉选择 */
  111. private String fStatus;
  112. /**数据字典 调箱动作*/
  113. private String fOpctnstatus;
  114. //铅封号
  115. private String fSealno;
  116. //提单号
  117. private String fMblno;
  118. //查询时间区间
  119. private List<String> cLoadDate;
  120. //集装箱尺码
  121. private Long cntrsize;
  122. //集装箱尺码中文
  123. private String cntrsizeName;
  124. //船名
  125. private String fVsl;
  126. //航次
  127. private String fVoy;
  128. //船ID
  129. private Long fVslid;
  130. //航次ID
  131. private Long fVoyid;
  132. //调入地点
  133. private String foldSite;
  134. //调入空重
  135. private String foldFUpdateef;
  136. //调入状态
  137. private String foldFCntrstatus;
  138. //调入时间
  139. private Date foldtime;
  140. //修改信息
  141. private List<TCntrno> tCntrno;
  142. //附件信息
  143. private List<TConditionAccessory> accessoryList;
  144. //调箱动作中文名
  145. private String opctnstatusName;
  146. //箱重量
  147. private BigDecimal fBoxWeight;
  148. //单航次配船修改状态 1 离港出运 2 到港卸船
  149. private Long updateStatus;
  150. //港口名称中文名
  151. private String portName;
  152. //港口名称
  153. private String port;
  154. /**
  155. * 是否按日志分组
  156. */
  157. private Integer whether = 0;
  158. /**
  159. * 状态中文名 T正常 F停用
  160. */
  161. private String fStatusName;
  162. /**
  163. * 起租日期区间
  164. * @return
  165. */
  166. private List<String> onHireStartList;
  167. /**
  168. * 退租日期区间
  169. * @return
  170. */
  171. private List<String> onHireEnfList;
  172. /**
  173. * 要修改的集装箱id数组
  174. */
  175. private List<Long> cntrnoList;
  176. public List<Long> getCntrnoList() {
  177. return cntrnoList;
  178. }
  179. public void setCntrnoList(List<Long> cntrnoList) {
  180. this.cntrnoList = cntrnoList;
  181. }
  182. public String getfStatusName() {
  183. return fStatusName;
  184. }
  185. public void setfStatusName(String fStatusName) {
  186. this.fStatusName = fStatusName;
  187. }
  188. public List<String> getOnHireStartList() {
  189. return onHireStartList;
  190. }
  191. public void setOnHireStartList(List<String> onHireStartList) {
  192. this.onHireStartList = onHireStartList;
  193. }
  194. public List<String> getOnHireEnfList() {
  195. return onHireEnfList;
  196. }
  197. public void setOnHireEnfList(List<String> onHireEnfList) {
  198. this.onHireEnfList = onHireEnfList;
  199. }
  200. public Integer getWhether() {
  201. return whether;
  202. }
  203. public void setOnHireStart(Date onHireStart)
  204. {
  205. this.onHireStart = onHireStart;
  206. }
  207. public Date getOnHireStart()
  208. {
  209. return onHireStart;
  210. }
  211. public void setOnHireEnd(Date onHireEnd)
  212. {
  213. this.onHireEnd = onHireEnd;
  214. }
  215. public Date getOnHireEnd()
  216. {
  217. return onHireEnd;
  218. }
  219. public void setWhether(Integer whether) {
  220. this.whether = whether;
  221. }
  222. public String getPort() {
  223. return port;
  224. }
  225. public void setPort(String port) {
  226. this.port = port;
  227. }
  228. public String getPortName() {
  229. return portName;
  230. }
  231. public void setPortName(String portName) {
  232. this.portName = portName;
  233. }
  234. public Long getfVslid() {
  235. return fVslid;
  236. }
  237. public void setfVslid(Long fVslid) {
  238. this.fVslid = fVslid;
  239. }
  240. public Long getfVoyid() {
  241. return fVoyid;
  242. }
  243. public void setfVoyid(Long fVoyid) {
  244. this.fVoyid = fVoyid;
  245. }
  246. public Long getUpdateStatus() {
  247. return updateStatus;
  248. }
  249. public void setUpdateStatus(Long updateStatus) {
  250. this.updateStatus = updateStatus;
  251. }
  252. public BigDecimal getfBoxWeight() {
  253. return fBoxWeight;
  254. }
  255. public void setfBoxWeight(BigDecimal fBoxWeight) {
  256. this.fBoxWeight = fBoxWeight;
  257. }
  258. public String getfBoxLord() {
  259. return fBoxLord;
  260. }
  261. public void setfBoxLord(String fBoxLord) {
  262. this.fBoxLord = fBoxLord;
  263. }
  264. public String getfPactDealHorn() {
  265. return fPactDealHorn;
  266. }
  267. public void setfPactDealHorn(String fPactDealHorn) {
  268. this.fPactDealHorn = fPactDealHorn;
  269. }
  270. public Date getfBuildBoxTime() {
  271. return fBuildBoxTime;
  272. }
  273. public void setfBuildBoxTime(Date fBuildBoxTime) {
  274. this.fBuildBoxTime = fBuildBoxTime;
  275. }
  276. public String getfBoxTurtleYear() {
  277. return fBoxTurtleYear;
  278. }
  279. public void setfBoxTurtleYear(String fBoxTurtleYear) {
  280. this.fBoxTurtleYear = fBoxTurtleYear;
  281. }
  282. public String getfBoxTurtleMonth() {
  283. return fBoxTurtleMonth;
  284. }
  285. public void setfBoxTurtleMonth(String fBoxTurtleMonth) {
  286. this.fBoxTurtleMonth = fBoxTurtleMonth;
  287. }
  288. public String getfSealno() {
  289. return fSealno;
  290. }
  291. public void setfSealno(String fSealno) {
  292. this.fSealno = fSealno;
  293. }
  294. public String getOpctnstatusName() {
  295. return opctnstatusName;
  296. }
  297. public void setOpctnstatusName(String opctnstatusName) {
  298. this.opctnstatusName = opctnstatusName;
  299. }
  300. public List<TConditionAccessory> getAccessoryList() {
  301. return accessoryList;
  302. }
  303. public void setAccessoryList(List<TConditionAccessory> accessoryList) {
  304. this.accessoryList = accessoryList;
  305. }
  306. public String getfOpctnstatus() {
  307. return fOpctnstatus;
  308. }
  309. public void setfOpctnstatus(String fOpctnstatus) {
  310. this.fOpctnstatus = fOpctnstatus;
  311. }
  312. public void setfId(Long fId)
  313. {
  314. this.fId = fId;
  315. }
  316. public Long getfId()
  317. {
  318. return fId;
  319. }
  320. public void setfNo(String fNo)
  321. {
  322. this.fNo = fNo;
  323. }
  324. public String getfNo()
  325. {
  326. return fNo;
  327. }
  328. public void setfTypeid(Long fTypeid)
  329. {
  330. this.fTypeid = fTypeid;
  331. }
  332. public Long getfTypeid()
  333. {
  334. return fTypeid;
  335. }
  336. public void setfOwner(String fOwner)
  337. {
  338. this.fOwner = fOwner;
  339. }
  340. public String getfOwner()
  341. {
  342. return fOwner;
  343. }
  344. public void setfSource(String fSource)
  345. {
  346. this.fSource = fSource;
  347. }
  348. public String getfSource()
  349. {
  350. return fSource;
  351. }
  352. public void setfRent(String fRent)
  353. {
  354. this.fRent = fRent;
  355. }
  356. public String getfRent()
  357. {
  358. return fRent;
  359. }
  360. public void setfUpdatetime(Date fUpdatetime)
  361. {
  362. this.fUpdatetime = fUpdatetime;
  363. }
  364. public Date getfUpdatetime()
  365. {
  366. return fUpdatetime;
  367. }
  368. public void setfUpdateaddress(String fUpdateaddress)
  369. {
  370. this.fUpdateaddress = fUpdateaddress;
  371. }
  372. public String getfUpdateaddress()
  373. {
  374. return fUpdateaddress;
  375. }
  376. public void setfUpdateef(String fUpdateef)
  377. {
  378. this.fUpdateef = fUpdateef;
  379. }
  380. public String getfUpdateef()
  381. {
  382. return fUpdateef;
  383. }
  384. public void setfCntrstatus(String fCntrstatus)
  385. {
  386. this.fCntrstatus = fCntrstatus;
  387. }
  388. public String getfCntrstatus()
  389. {
  390. return fCntrstatus;
  391. }
  392. public void setfStatus(String fStatus)
  393. {
  394. this.fStatus = fStatus;
  395. }
  396. public String getfStatus()
  397. {
  398. return fStatus;
  399. }
  400. public String getfMblno() {
  401. return fMblno;
  402. }
  403. public void setfMblno(String fMblno) {
  404. this.fMblno = fMblno;
  405. }
  406. public String getOwnerName() {
  407. return ownerName;
  408. }
  409. public void setOwnerName(String ownerName) {
  410. this.ownerName = ownerName;
  411. }
  412. public String getSourceName() {
  413. return sourceName;
  414. }
  415. public void setSourceName(String sourceName) {
  416. this.sourceName = sourceName;
  417. }
  418. public String getRentName() {
  419. return rentName;
  420. }
  421. public void setRentName(String rentName) {
  422. this.rentName = rentName;
  423. }
  424. public String getUpdateEFName() {
  425. return updateEFName;
  426. }
  427. public void setUpdateEFName(String updateEFName) {
  428. this.updateEFName = updateEFName;
  429. }
  430. public String getCntrstatusName() {
  431. return cntrstatusName;
  432. }
  433. public void setCntrstatusName(String cntrstatusName) {
  434. this.cntrstatusName = cntrstatusName;
  435. }
  436. public List<String> getcLoadDate() {
  437. return cLoadDate;
  438. }
  439. public void setcLoadDate(List<String> cLoadDate) {
  440. this.cLoadDate = cLoadDate;
  441. }
  442. public Long getCntrsize() {
  443. return cntrsize;
  444. }
  445. public void setCntrsize(Long cntrsize) {
  446. this.cntrsize = cntrsize;
  447. }
  448. public String getCntrsizeName() {
  449. return cntrsizeName;
  450. }
  451. public void setCntrsizeName(String cntrsizeName) {
  452. this.cntrsizeName = cntrsizeName;
  453. }
  454. public String getfVsl() {
  455. return fVsl;
  456. }
  457. public void setfVsl(String fVsl) {
  458. this.fVsl = fVsl;
  459. }
  460. public String getfVoy() {
  461. return fVoy;
  462. }
  463. public void setfVoy(String fVoy) {
  464. this.fVoy = fVoy;
  465. }
  466. public String getTypeidName() {
  467. return typeidName;
  468. }
  469. public void setTypeidName(String typeidName) {
  470. this.typeidName = typeidName;
  471. }
  472. public String getFoldSite() {
  473. return foldSite;
  474. }
  475. public void setFoldSite(String foldSite) {
  476. this.foldSite = foldSite;
  477. }
  478. public String getFoldFUpdateef() {
  479. return foldFUpdateef;
  480. }
  481. public void setFoldFUpdateef(String foldFUpdateef) {
  482. this.foldFUpdateef = foldFUpdateef;
  483. }
  484. public String getFoldFCntrstatus() {
  485. return foldFCntrstatus;
  486. }
  487. public void setFoldFCntrstatus(String foldFCntrstatus) {
  488. this.foldFCntrstatus = foldFCntrstatus;
  489. }
  490. public Date getFoldtime() {
  491. return foldtime;
  492. }
  493. public void setFoldtime(Date foldtime) {
  494. this.foldtime = foldtime;
  495. }
  496. public List<TCntrno> gettCntrno() {
  497. return tCntrno;
  498. }
  499. public void settCntrno(List<TCntrno> tCntrno) {
  500. this.tCntrno = tCntrno;
  501. }
  502. public String getAddressName() {
  503. return addressName;
  504. }
  505. public void setAddressName(String addressName) {
  506. this.addressName = addressName;
  507. }
  508. @Override
  509. public String toString() {
  510. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  511. .append("fId", getfId())
  512. .append("fNo", getfNo())
  513. .append("fTypeid", getfTypeid())
  514. .append("fOwner", getfOwner())
  515. .append("fSource", getfSource())
  516. .append("fRent", getfRent())
  517. .append("fUpdatetime", getfUpdatetime())
  518. .append("fUpdateaddress", getfUpdateaddress())
  519. .append("fUpdateef", getfUpdateef())
  520. .append("fCntrstatus", getfCntrstatus())
  521. .append("fStatus", getfStatus())
  522. .append("createBy", getCreateBy())
  523. .append("createTime", getCreateTime())
  524. .append("updateBy", getUpdateBy())
  525. .append("updateTime", getUpdateTime())
  526. .append("remark", getRemark())
  527. .append("fBuildBoxTime", getfBuildBoxTime())
  528. .append("fBoxTurtleYear", getfBoxTurtleYear())
  529. .append("fBoxTurtleMonth", getfBoxTurtleMonth())
  530. .append("fMblno", getfMblno())
  531. .append("fBoxWeight", getfBoxWeight())
  532. .append("onHireStart", getOnHireStart())
  533. .append("onHireEnd", getOnHireEnd())
  534. .toString();
  535. }
  536. }