package com.uas.console.donate.model; import javax.persistence.*; import java.util.Date; @Entity @Table(name = "donate$projectfinance") public class ProjectFinance { private static final long serialVersionUID = 1L; /** * 编号 */ @Id @GeneratedValue(strategy= GenerationType.IDENTITY) @Column(name = "id") private Long id; /** * 项目编号 */ @Column(name="pro_id") private Long proId; /** * 支出类型,1:项目支出 2:执行成本 */ @Column(name = "type") private Integer type; /** * 支出金额 */ @Column(name = "amount") private Long amount; /** * 发票图片 */ @Column(name = "receipt") private String path; /** * 项目报告描述 */ @Column(name="finance_description") private String description; /** *表单提交状态 */ @Column(name="status") private Integer status; /** * 提交时间 */ @Column(name="submittime") private Date submitTime; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getProId() { return proId; } public void setProId(Long proId) { this.proId = proId; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public Long getAmount() { return amount; } public void setAmount(Long amount) { this.amount = amount; } public String getPath() { return path; } public void setPath(String path) { this.path = path; } public Date getSubmitTime() { return submitTime; } public void setSubmitTime(Date submitTime) { this.submitTime = submitTime; } }