ProjectFinance.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. package com.uas.console.donate.model;
  2. import javax.persistence.*;
  3. import java.util.Date;
  4. @Entity
  5. @Table(name = "donate$projectfinance")
  6. public class ProjectFinance {
  7. private static final long serialVersionUID = 1L;
  8. /**
  9. * 编号
  10. */
  11. @Id
  12. @GeneratedValue(strategy= GenerationType.IDENTITY)
  13. @Column(name = "id")
  14. private Long id;
  15. /**
  16. * 项目编号
  17. */
  18. @Column(name="pro_id")
  19. private Long proId;
  20. /**
  21. * 支出类型,1:项目支出 2:执行成本
  22. */
  23. @Column(name = "type")
  24. private Integer type;
  25. /**
  26. * 支出金额
  27. */
  28. @Column(name = "amount")
  29. private Long amount;
  30. /**
  31. * 发票图片
  32. */
  33. @Column(name = "receipt")
  34. private String path;
  35. /**
  36. * 项目报告描述
  37. */
  38. @Column(name="finance_description")
  39. private String description;
  40. /**
  41. *表单提交状态
  42. */
  43. @Column(name="status")
  44. private Integer status;
  45. /**
  46. * 提交时间
  47. */
  48. @Column(name="submittime")
  49. private Date submitTime;
  50. public Long getId() {
  51. return id;
  52. }
  53. public void setId(Long id) {
  54. this.id = id;
  55. }
  56. public Long getProId() {
  57. return proId;
  58. }
  59. public void setProId(Long proId) {
  60. this.proId = proId;
  61. }
  62. public String getDescription() {
  63. return description;
  64. }
  65. public void setDescription(String description) {
  66. this.description = description;
  67. }
  68. public Integer getStatus() {
  69. return status;
  70. }
  71. public void setStatus(Integer status) {
  72. this.status = status;
  73. }
  74. public Integer getType() {
  75. return type;
  76. }
  77. public void setType(Integer type) {
  78. this.type = type;
  79. }
  80. public Long getAmount() {
  81. return amount;
  82. }
  83. public void setAmount(Long amount) {
  84. this.amount = amount;
  85. }
  86. public String getPath() {
  87. return path;
  88. }
  89. public void setPath(String path) {
  90. this.path = path;
  91. }
  92. public Date getSubmitTime() {
  93. return submitTime;
  94. }
  95. public void setSubmitTime(Date submitTime) {
  96. this.submitTime = submitTime;
  97. }
  98. }