VFileBlock.java 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  1. package com.miniframe.model.system;
  2. import com.miniframe.system.MiniserviceBaseModel;
  3. import java.io.Serializable;
  4. import java.math.BigDecimal;
  5. import java.util.Date;
  6. import javax.persistence.*;
  7. @Table(name = "v_file_block")
  8. public class VFileBlock extends MiniserviceBaseModel implements Serializable {
  9. @Column(name = "block_id")
  10. private String blockId;
  11. private String hashcode;
  12. private String uid;
  13. @Column(name = "block_addr")
  14. private String blockAddr;
  15. @Column(name = "block_height")
  16. private Integer blockHeight;
  17. @Column(name = "block_txid")
  18. private String blockTxid;
  19. @Column(name = "block_busiid")
  20. private String blockBusiid;
  21. @Column(name = "upchain_switch")
  22. private String upchainSwitch;
  23. @Column(name = "block_create_time")
  24. private Date blockCreateTime;
  25. @Column(name = "block_update_time")
  26. private Date blockUpdateTime;
  27. @Column(name = "block_timestamp")
  28. private BigDecimal blockTimestamp;
  29. @Column(name = "block_hash_code")
  30. private String blockHashCode;
  31. @Column(name = "block_file_id")
  32. private String blockFileId;
  33. private String id;
  34. private String parentid;
  35. private String storageid;
  36. private String isdir;
  37. private Date lasttime;
  38. private String remarks;
  39. private String filepath;
  40. private String filetype;
  41. private String filetimelength;
  42. private BigDecimal filesize;
  43. private String filename;
  44. @Column(name = "legal_letter_apply_msg")
  45. private String legalLetterApplyMsg;
  46. @Column(name = "notarization_apply_msg")
  47. private String notarizationApplyMsg;
  48. @Column(name = "legal_letter_apply_time")
  49. private Date legalLetterApplyTime;
  50. @Column(name = "notarization_apply_time")
  51. private Date notarizationApplyTime;
  52. @Column(name = "legal_letter_file_id")
  53. private String legalLetterFileId;
  54. @Column(name = "notarization_file_id")
  55. private String notarizationFileId;
  56. @Column(name = "legal_letter_file_time")
  57. private Date legalLetterFileTime;
  58. @Column(name = "notarization_file_time")
  59. private Date notarizationFileTime;
  60. @Column(name = "legal_letter_apply_status")
  61. private String legalLetterApplyStatus;
  62. @Column(name = "notarization_apply_status")
  63. private String notarizationApplyStatus;
  64. @Column(name = "legal_letter_apply_uid")
  65. private String legalLetterApplyUid;
  66. @Column(name = "notarization_apply_uid")
  67. private String notarizationApplyUid;
  68. @Column(name = "link_id")
  69. private String linkId;
  70. private static final long serialVersionUID = 1L;
  71. /**
  72. * @return block_id
  73. */
  74. public String getBlockId() {
  75. return blockId;
  76. }
  77. /**
  78. * @param blockId
  79. */
  80. public void setBlockId(String blockId) {
  81. this.blockId = blockId == null ? null : blockId.trim();
  82. }
  83. /**
  84. * @return hashcode
  85. */
  86. public String getHashcode() {
  87. return hashcode;
  88. }
  89. /**
  90. * @param hashcode
  91. */
  92. public void setHashcode(String hashcode) {
  93. this.hashcode = hashcode == null ? null : hashcode.trim();
  94. }
  95. /**
  96. * @return uid
  97. */
  98. public String getUid() {
  99. return uid;
  100. }
  101. /**
  102. * @param uid
  103. */
  104. public void setUid(String uid) {
  105. this.uid = uid == null ? null : uid.trim();
  106. }
  107. /**
  108. * @return block_addr
  109. */
  110. public String getBlockAddr() {
  111. return blockAddr;
  112. }
  113. /**
  114. * @param blockAddr
  115. */
  116. public void setBlockAddr(String blockAddr) {
  117. this.blockAddr = blockAddr == null ? null : blockAddr.trim();
  118. }
  119. /**
  120. * @return block_height
  121. */
  122. public Integer getBlockHeight() {
  123. return blockHeight;
  124. }
  125. /**
  126. * @param blockHeight
  127. */
  128. public void setBlockHeight(Integer blockHeight) {
  129. this.blockHeight = blockHeight;
  130. }
  131. /**
  132. * @return block_txid
  133. */
  134. public String getBlockTxid() {
  135. return blockTxid;
  136. }
  137. /**
  138. * @param blockTxid
  139. */
  140. public void setBlockTxid(String blockTxid) {
  141. this.blockTxid = blockTxid == null ? null : blockTxid.trim();
  142. }
  143. /**
  144. * @return block_busiid
  145. */
  146. public String getBlockBusiid() {
  147. return blockBusiid;
  148. }
  149. /**
  150. * @param blockBusiid
  151. */
  152. public void setBlockBusiid(String blockBusiid) {
  153. this.blockBusiid = blockBusiid == null ? null : blockBusiid.trim();
  154. }
  155. /**
  156. * @return upchain_switch
  157. */
  158. public String getUpchainSwitch() {
  159. return upchainSwitch;
  160. }
  161. /**
  162. * @param upchainSwitch
  163. */
  164. public void setUpchainSwitch(String upchainSwitch) {
  165. this.upchainSwitch = upchainSwitch == null ? null : upchainSwitch.trim();
  166. }
  167. /**
  168. * @return block_create_time
  169. */
  170. public Date getBlockCreateTime() {
  171. return blockCreateTime;
  172. }
  173. /**
  174. * @param blockCreateTime
  175. */
  176. public void setBlockCreateTime(Date blockCreateTime) {
  177. this.blockCreateTime = blockCreateTime;
  178. }
  179. /**
  180. * @return block_update_time
  181. */
  182. public Date getBlockUpdateTime() {
  183. return blockUpdateTime;
  184. }
  185. /**
  186. * @param blockUpdateTime
  187. */
  188. public void setBlockUpdateTime(Date blockUpdateTime) {
  189. this.blockUpdateTime = blockUpdateTime;
  190. }
  191. /**
  192. * @return block_timestamp
  193. */
  194. public BigDecimal getBlockTimestamp() {
  195. return blockTimestamp;
  196. }
  197. /**
  198. * @param blockTimestamp
  199. */
  200. public void setBlockTimestamp(BigDecimal blockTimestamp) {
  201. this.blockTimestamp = blockTimestamp;
  202. }
  203. /**
  204. * @return block_hash_code
  205. */
  206. public String getBlockHashCode() {
  207. return blockHashCode;
  208. }
  209. /**
  210. * @param blockHashCode
  211. */
  212. public void setBlockHashCode(String blockHashCode) {
  213. this.blockHashCode = blockHashCode == null ? null : blockHashCode.trim();
  214. }
  215. /**
  216. * @return block_file_id
  217. */
  218. public String getBlockFileId() {
  219. return blockFileId;
  220. }
  221. /**
  222. * @param blockFileId
  223. */
  224. public void setBlockFileId(String blockFileId) {
  225. this.blockFileId = blockFileId == null ? null : blockFileId.trim();
  226. }
  227. /**
  228. * @return id
  229. */
  230. public String getId() {
  231. return id;
  232. }
  233. /**
  234. * @param id
  235. */
  236. public void setId(String id) {
  237. this.id = id == null ? null : id.trim();
  238. }
  239. /**
  240. * @return parentid
  241. */
  242. public String getParentid() {
  243. return parentid;
  244. }
  245. /**
  246. * @param parentid
  247. */
  248. public void setParentid(String parentid) {
  249. this.parentid = parentid == null ? null : parentid.trim();
  250. }
  251. /**
  252. * @return storageid
  253. */
  254. public String getStorageid() {
  255. return storageid;
  256. }
  257. /**
  258. * @param storageid
  259. */
  260. public void setStorageid(String storageid) {
  261. this.storageid = storageid == null ? null : storageid.trim();
  262. }
  263. /**
  264. * @return isdir
  265. */
  266. public String getIsdir() {
  267. return isdir;
  268. }
  269. /**
  270. * @param isdir
  271. */
  272. public void setIsdir(String isdir) {
  273. this.isdir = isdir == null ? null : isdir.trim();
  274. }
  275. /**
  276. * @return lasttime
  277. */
  278. public Date getLasttime() {
  279. return lasttime;
  280. }
  281. /**
  282. * @param lasttime
  283. */
  284. public void setLasttime(Date lasttime) {
  285. this.lasttime = lasttime;
  286. }
  287. /**
  288. * @return remarks
  289. */
  290. public String getRemarks() {
  291. return remarks;
  292. }
  293. /**
  294. * @param remarks
  295. */
  296. public void setRemarks(String remarks) {
  297. this.remarks = remarks == null ? null : remarks.trim();
  298. }
  299. /**
  300. * @return filepath
  301. */
  302. public String getFilepath() {
  303. return filepath;
  304. }
  305. /**
  306. * @param filepath
  307. */
  308. public void setFilepath(String filepath) {
  309. this.filepath = filepath == null ? null : filepath.trim();
  310. }
  311. /**
  312. * @return filetype
  313. */
  314. public String getFiletype() {
  315. return filetype;
  316. }
  317. /**
  318. * @param filetype
  319. */
  320. public void setFiletype(String filetype) {
  321. this.filetype = filetype == null ? null : filetype.trim();
  322. }
  323. /**
  324. * @return filetimelength
  325. */
  326. public String getFiletimelength() {
  327. return filetimelength;
  328. }
  329. /**
  330. * @param filetimelength
  331. */
  332. public void setFiletimelength(String filetimelength) {
  333. this.filetimelength = filetimelength == null ? null : filetimelength.trim();
  334. }
  335. /**
  336. * @return filesize
  337. */
  338. public BigDecimal getFilesize() {
  339. return filesize;
  340. }
  341. /**
  342. * @param filesize
  343. */
  344. public void setFilesize(BigDecimal filesize) {
  345. this.filesize = filesize;
  346. }
  347. /**
  348. * @return filename
  349. */
  350. public String getFilename() {
  351. return filename;
  352. }
  353. /**
  354. * @param filename
  355. */
  356. public void setFilename(String filename) {
  357. this.filename = filename == null ? null : filename.trim();
  358. }
  359. /**
  360. * @return legal_letter_apply_msg
  361. */
  362. public String getLegalLetterApplyMsg() {
  363. return legalLetterApplyMsg;
  364. }
  365. /**
  366. * @param legalLetterApplyMsg
  367. */
  368. public void setLegalLetterApplyMsg(String legalLetterApplyMsg) {
  369. this.legalLetterApplyMsg = legalLetterApplyMsg == null ? null : legalLetterApplyMsg.trim();
  370. }
  371. /**
  372. * @return notarization_apply_msg
  373. */
  374. public String getNotarizationApplyMsg() {
  375. return notarizationApplyMsg;
  376. }
  377. /**
  378. * @param notarizationApplyMsg
  379. */
  380. public void setNotarizationApplyMsg(String notarizationApplyMsg) {
  381. this.notarizationApplyMsg = notarizationApplyMsg == null ? null : notarizationApplyMsg.trim();
  382. }
  383. /**
  384. * @return legal_letter_apply_time
  385. */
  386. public Date getLegalLetterApplyTime() {
  387. return legalLetterApplyTime;
  388. }
  389. /**
  390. * @param legalLetterApplyTime
  391. */
  392. public void setLegalLetterApplyTime(Date legalLetterApplyTime) {
  393. this.legalLetterApplyTime = legalLetterApplyTime;
  394. }
  395. /**
  396. * @return notarization_apply_time
  397. */
  398. public Date getNotarizationApplyTime() {
  399. return notarizationApplyTime;
  400. }
  401. /**
  402. * @param notarizationApplyTime
  403. */
  404. public void setNotarizationApplyTime(Date notarizationApplyTime) {
  405. this.notarizationApplyTime = notarizationApplyTime;
  406. }
  407. /**
  408. * @return legal_letter_file_id
  409. */
  410. public String getLegalLetterFileId() {
  411. return legalLetterFileId;
  412. }
  413. /**
  414. * @param legalLetterFileId
  415. */
  416. public void setLegalLetterFileId(String legalLetterFileId) {
  417. this.legalLetterFileId = legalLetterFileId == null ? null : legalLetterFileId.trim();
  418. }
  419. /**
  420. * @return notarization_file_id
  421. */
  422. public String getNotarizationFileId() {
  423. return notarizationFileId;
  424. }
  425. /**
  426. * @param notarizationFileId
  427. */
  428. public void setNotarizationFileId(String notarizationFileId) {
  429. this.notarizationFileId = notarizationFileId == null ? null : notarizationFileId.trim();
  430. }
  431. /**
  432. * @return legal_letter_file_time
  433. */
  434. public Date getLegalLetterFileTime() {
  435. return legalLetterFileTime;
  436. }
  437. /**
  438. * @param legalLetterFileTime
  439. */
  440. public void setLegalLetterFileTime(Date legalLetterFileTime) {
  441. this.legalLetterFileTime = legalLetterFileTime;
  442. }
  443. /**
  444. * @return notarization_file_time
  445. */
  446. public Date getNotarizationFileTime() {
  447. return notarizationFileTime;
  448. }
  449. /**
  450. * @param notarizationFileTime
  451. */
  452. public void setNotarizationFileTime(Date notarizationFileTime) {
  453. this.notarizationFileTime = notarizationFileTime;
  454. }
  455. /**
  456. * @return legal_letter_apply_status
  457. */
  458. public String getLegalLetterApplyStatus() {
  459. return legalLetterApplyStatus;
  460. }
  461. /**
  462. * @param legalLetterApplyStatus
  463. */
  464. public void setLegalLetterApplyStatus(String legalLetterApplyStatus) {
  465. this.legalLetterApplyStatus = legalLetterApplyStatus == null ? null : legalLetterApplyStatus.trim();
  466. }
  467. /**
  468. * @return notarization_apply_status
  469. */
  470. public String getNotarizationApplyStatus() {
  471. return notarizationApplyStatus;
  472. }
  473. /**
  474. * @param notarizationApplyStatus
  475. */
  476. public void setNotarizationApplyStatus(String notarizationApplyStatus) {
  477. this.notarizationApplyStatus = notarizationApplyStatus == null ? null : notarizationApplyStatus.trim();
  478. }
  479. /**
  480. * @return legal_letter_apply_uid
  481. */
  482. public String getLegalLetterApplyUid() {
  483. return legalLetterApplyUid;
  484. }
  485. /**
  486. * @param legalLetterApplyUid
  487. */
  488. public void setLegalLetterApplyUid(String legalLetterApplyUid) {
  489. this.legalLetterApplyUid = legalLetterApplyUid == null ? null : legalLetterApplyUid.trim();
  490. }
  491. /**
  492. * @return notarization_apply_uid
  493. */
  494. public String getNotarizationApplyUid() {
  495. return notarizationApplyUid;
  496. }
  497. /**
  498. * @param notarizationApplyUid
  499. */
  500. public void setNotarizationApplyUid(String notarizationApplyUid) {
  501. this.notarizationApplyUid = notarizationApplyUid == null ? null : notarizationApplyUid.trim();
  502. }
  503. /**
  504. * @return link_id
  505. */
  506. public String getLinkId() {
  507. return linkId;
  508. }
  509. /**
  510. * @param linkId
  511. */
  512. public void setLinkId(String linkId) {
  513. this.linkId = linkId == null ? null : linkId.trim();
  514. }
  515. }