TCntrno.java 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  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. private String fUpdateaddress;
  98. /** 数据字典 空重 */
  99. private String fUpdateef;
  100. /** 数据字典 好 坏 */
  101. private String fCntrstatus;
  102. /** 默认 T ,正常T 停用F 下拉选择 */
  103. private String fStatus;
  104. /**数据字典 调箱动作*/
  105. private String fOpctnstatus;
  106. //铅封号
  107. private String fSealno;
  108. //提单号
  109. private String fMblno;
  110. //查询时间区间
  111. private List<String> cLoadDate;
  112. //集装箱尺码
  113. private Long cntrsize;
  114. //集装箱尺码中文
  115. private String cntrsizeName;
  116. //船名
  117. private String fVsl;
  118. //航次
  119. private String fVoy;
  120. //船ID
  121. private Long fVslid;
  122. //航次ID
  123. private Long fVoyid;
  124. //调入地点
  125. private String foldSite;
  126. //调入空重
  127. private String foldFUpdateef;
  128. //调入状态
  129. private String foldFCntrstatus;
  130. //调入时间
  131. private Date foldtime;
  132. //修改信息
  133. private List<TCntrno> tCntrno;
  134. //附件信息
  135. private List<TConditionAccessory> accessoryList;
  136. //调箱动作中文名
  137. private String opctnstatusName;
  138. //箱重量
  139. private BigDecimal fBoxWeight;
  140. //单航次配船修改状态 1 离港出运 2 到港卸船
  141. private Long updateStatus;
  142. //港口名称中文名
  143. private String portName;
  144. //港口名称
  145. private String port;
  146. /**
  147. * 是否按日志分组
  148. */
  149. private Integer whether = 0;
  150. public Integer getWhether() {
  151. return whether;
  152. }
  153. public void setWhether(Integer whether) {
  154. this.whether = whether;
  155. }
  156. public String getPort() {
  157. return port;
  158. }
  159. public void setPort(String port) {
  160. this.port = port;
  161. }
  162. public String getPortName() {
  163. return portName;
  164. }
  165. public void setPortName(String portName) {
  166. this.portName = portName;
  167. }
  168. public Long getfVslid() {
  169. return fVslid;
  170. }
  171. public void setfVslid(Long fVslid) {
  172. this.fVslid = fVslid;
  173. }
  174. public Long getfVoyid() {
  175. return fVoyid;
  176. }
  177. public void setfVoyid(Long fVoyid) {
  178. this.fVoyid = fVoyid;
  179. }
  180. public Long getUpdateStatus() {
  181. return updateStatus;
  182. }
  183. public void setUpdateStatus(Long updateStatus) {
  184. this.updateStatus = updateStatus;
  185. }
  186. public BigDecimal getfBoxWeight() {
  187. return fBoxWeight;
  188. }
  189. public void setfBoxWeight(BigDecimal fBoxWeight) {
  190. this.fBoxWeight = fBoxWeight;
  191. }
  192. public String getfBoxLord() {
  193. return fBoxLord;
  194. }
  195. public void setfBoxLord(String fBoxLord) {
  196. this.fBoxLord = fBoxLord;
  197. }
  198. public String getfPactDealHorn() {
  199. return fPactDealHorn;
  200. }
  201. public void setfPactDealHorn(String fPactDealHorn) {
  202. this.fPactDealHorn = fPactDealHorn;
  203. }
  204. public Date getfBuildBoxTime() {
  205. return fBuildBoxTime;
  206. }
  207. public void setfBuildBoxTime(Date fBuildBoxTime) {
  208. this.fBuildBoxTime = fBuildBoxTime;
  209. }
  210. public String getfBoxTurtleYear() {
  211. return fBoxTurtleYear;
  212. }
  213. public void setfBoxTurtleYear(String fBoxTurtleYear) {
  214. this.fBoxTurtleYear = fBoxTurtleYear;
  215. }
  216. public String getfBoxTurtleMonth() {
  217. return fBoxTurtleMonth;
  218. }
  219. public void setfBoxTurtleMonth(String fBoxTurtleMonth) {
  220. this.fBoxTurtleMonth = fBoxTurtleMonth;
  221. }
  222. public String getfSealno() {
  223. return fSealno;
  224. }
  225. public void setfSealno(String fSealno) {
  226. this.fSealno = fSealno;
  227. }
  228. public String getOpctnstatusName() {
  229. return opctnstatusName;
  230. }
  231. public void setOpctnstatusName(String opctnstatusName) {
  232. this.opctnstatusName = opctnstatusName;
  233. }
  234. public List<TConditionAccessory> getAccessoryList() {
  235. return accessoryList;
  236. }
  237. public void setAccessoryList(List<TConditionAccessory> accessoryList) {
  238. this.accessoryList = accessoryList;
  239. }
  240. public String getfOpctnstatus() {
  241. return fOpctnstatus;
  242. }
  243. public void setfOpctnstatus(String fOpctnstatus) {
  244. this.fOpctnstatus = fOpctnstatus;
  245. }
  246. public void setfId(Long fId)
  247. {
  248. this.fId = fId;
  249. }
  250. public Long getfId()
  251. {
  252. return fId;
  253. }
  254. public void setfNo(String fNo)
  255. {
  256. this.fNo = fNo;
  257. }
  258. public String getfNo()
  259. {
  260. return fNo;
  261. }
  262. public void setfTypeid(Long fTypeid)
  263. {
  264. this.fTypeid = fTypeid;
  265. }
  266. public Long getfTypeid()
  267. {
  268. return fTypeid;
  269. }
  270. public void setfOwner(String fOwner)
  271. {
  272. this.fOwner = fOwner;
  273. }
  274. public String getfOwner()
  275. {
  276. return fOwner;
  277. }
  278. public void setfSource(String fSource)
  279. {
  280. this.fSource = fSource;
  281. }
  282. public String getfSource()
  283. {
  284. return fSource;
  285. }
  286. public void setfRent(String fRent)
  287. {
  288. this.fRent = fRent;
  289. }
  290. public String getfRent()
  291. {
  292. return fRent;
  293. }
  294. public void setfUpdatetime(Date fUpdatetime)
  295. {
  296. this.fUpdatetime = fUpdatetime;
  297. }
  298. public Date getfUpdatetime()
  299. {
  300. return fUpdatetime;
  301. }
  302. public void setfUpdateaddress(String fUpdateaddress)
  303. {
  304. this.fUpdateaddress = fUpdateaddress;
  305. }
  306. public String getfUpdateaddress()
  307. {
  308. return fUpdateaddress;
  309. }
  310. public void setfUpdateef(String fUpdateef)
  311. {
  312. this.fUpdateef = fUpdateef;
  313. }
  314. public String getfUpdateef()
  315. {
  316. return fUpdateef;
  317. }
  318. public void setfCntrstatus(String fCntrstatus)
  319. {
  320. this.fCntrstatus = fCntrstatus;
  321. }
  322. public String getfCntrstatus()
  323. {
  324. return fCntrstatus;
  325. }
  326. public void setfStatus(String fStatus)
  327. {
  328. this.fStatus = fStatus;
  329. }
  330. public String getfStatus()
  331. {
  332. return fStatus;
  333. }
  334. public String getfMblno() {
  335. return fMblno;
  336. }
  337. public void setfMblno(String fMblno) {
  338. this.fMblno = fMblno;
  339. }
  340. public String getOwnerName() {
  341. return ownerName;
  342. }
  343. public void setOwnerName(String ownerName) {
  344. this.ownerName = ownerName;
  345. }
  346. public String getSourceName() {
  347. return sourceName;
  348. }
  349. public void setSourceName(String sourceName) {
  350. this.sourceName = sourceName;
  351. }
  352. public String getRentName() {
  353. return rentName;
  354. }
  355. public void setRentName(String rentName) {
  356. this.rentName = rentName;
  357. }
  358. public String getUpdateEFName() {
  359. return updateEFName;
  360. }
  361. public void setUpdateEFName(String updateEFName) {
  362. this.updateEFName = updateEFName;
  363. }
  364. public String getCntrstatusName() {
  365. return cntrstatusName;
  366. }
  367. public void setCntrstatusName(String cntrstatusName) {
  368. this.cntrstatusName = cntrstatusName;
  369. }
  370. public List<String> getcLoadDate() {
  371. return cLoadDate;
  372. }
  373. public void setcLoadDate(List<String> cLoadDate) {
  374. this.cLoadDate = cLoadDate;
  375. }
  376. public Long getCntrsize() {
  377. return cntrsize;
  378. }
  379. public void setCntrsize(Long cntrsize) {
  380. this.cntrsize = cntrsize;
  381. }
  382. public String getCntrsizeName() {
  383. return cntrsizeName;
  384. }
  385. public void setCntrsizeName(String cntrsizeName) {
  386. this.cntrsizeName = cntrsizeName;
  387. }
  388. public String getfVsl() {
  389. return fVsl;
  390. }
  391. public void setfVsl(String fVsl) {
  392. this.fVsl = fVsl;
  393. }
  394. public String getfVoy() {
  395. return fVoy;
  396. }
  397. public void setfVoy(String fVoy) {
  398. this.fVoy = fVoy;
  399. }
  400. public String getTypeidName() {
  401. return typeidName;
  402. }
  403. public void setTypeidName(String typeidName) {
  404. this.typeidName = typeidName;
  405. }
  406. public String getFoldSite() {
  407. return foldSite;
  408. }
  409. public void setFoldSite(String foldSite) {
  410. this.foldSite = foldSite;
  411. }
  412. public String getFoldFUpdateef() {
  413. return foldFUpdateef;
  414. }
  415. public void setFoldFUpdateef(String foldFUpdateef) {
  416. this.foldFUpdateef = foldFUpdateef;
  417. }
  418. public String getFoldFCntrstatus() {
  419. return foldFCntrstatus;
  420. }
  421. public void setFoldFCntrstatus(String foldFCntrstatus) {
  422. this.foldFCntrstatus = foldFCntrstatus;
  423. }
  424. public Date getFoldtime() {
  425. return foldtime;
  426. }
  427. public void setFoldtime(Date foldtime) {
  428. this.foldtime = foldtime;
  429. }
  430. public List<TCntrno> gettCntrno() {
  431. return tCntrno;
  432. }
  433. public void settCntrno(List<TCntrno> tCntrno) {
  434. this.tCntrno = tCntrno;
  435. }
  436. public String getAddressName() {
  437. return addressName;
  438. }
  439. public void setAddressName(String addressName) {
  440. this.addressName = addressName;
  441. }
  442. @Override
  443. public String toString() {
  444. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  445. .append("fId", getfId())
  446. .append("fNo", getfNo())
  447. .append("fTypeid", getfTypeid())
  448. .append("fOwner", getfOwner())
  449. .append("fSource", getfSource())
  450. .append("fRent", getfRent())
  451. .append("fUpdatetime", getfUpdatetime())
  452. .append("fUpdateaddress", getfUpdateaddress())
  453. .append("fUpdateef", getfUpdateef())
  454. .append("fCntrstatus", getfCntrstatus())
  455. .append("fStatus", getfStatus())
  456. .append("createBy", getCreateBy())
  457. .append("createTime", getCreateTime())
  458. .append("updateBy", getUpdateBy())
  459. .append("updateTime", getUpdateTime())
  460. .append("remark", getRemark())
  461. .append("fBuildBoxTime", getfBuildBoxTime())
  462. .append("fBoxTurtleYear", getfBoxTurtleYear())
  463. .append("fBoxTurtleMonth", getfBoxTurtleMonth())
  464. .append("fMblno", getfMblno())
  465. .append("fBoxWeight", getfBoxWeight())
  466. .toString();
  467. }
  468. }