@@ -0,0 +1,1596 @@
+package com.dim.jit.skyearth.prj.entity;%0A%0Aimport java.util.Date;%0A%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.GeneratedValue;%0Aimport javax.persistence.GenerationType;%0Aimport javax.persistence.Id;%0Aimport javax.persistence.JoinColumn;%0Aimport javax.persistence.ManyToOne;%0Aimport javax.persistence.Table;%0A%0Aimport com.dim.jit.skyearth.engineer.entity.Engineer;%0A%0A/**%0A * %E2%B4%A6%C2%BC%0A * %0A * @author yanming_dai%0A * %0A */%0A@Entity%0A@Table(name=%22TB_SUPPORT%22)%0Apublic class Support %7B%0A%09@Id%0A%09@GeneratedValue(strategy=GenerationType.AUTO)%0A%09private Integer supportId;%0A%09//%D6%A7%D6%B5%C4%BF%0A%09private Project project;%0A%09//%F0%B9%A4%B3%CA%A6%0A%09private Engineer engineer;%0A%09// %0A%09private Date supportDate;%0A%09//%0A%09private String result;%0A%0A%09@Id%0A%09@Column(name=%22support_id%22)%0A%09@GeneratedValue(strategy=GenerationType.AUTO)%0A%09public Integer getSupportId() %7B%0A%09%09return supportId;%0A%09%7D%0A%0A%09public void setSupportId(Integer supportId) %7B%0A%09%09this.supportId = supportId;%0A%09%7D%0A%0A%09@ManyToOne%0A%09@JoinColumn(name=%22engineer_id%22)%0A%09public Engineer getEngineer() %7B%0A%09%09return engineer;%0A%09%7D%0A%0A%09public void setEngineer(Engineer engineer) %7B%0A%09%09this.engineer = engineer;%0A%09%7D%0A%09%0A%09@Column(name=%22support_date%22)%0A%09public Date getSupportDate() %7B%0A%09%09return supportDate;%0A%09%7D%0A%0A%09public void setSupportDate(Date supportDate) %7B%0A%09%09this.supportDate = supportDate;%0A%09%7D%0A%0A%09@Column(name=%22result%22)%0A%09public String getResult() %7B%0A%09%09return result;%0A%09%7D%0A%0A%09public void setResult(String result) %7B%0A%09%09this.result = result;%0A%09%7D%0A%0A%09@ManyToOne%0A%09@JoinColumn(name=%22prj_id%22)%0A%09public Project getProject() %7B%0A%09%09return project;%0A%09%7D%0A%0A%09public void setProject(Project project) %7B%0A%09%09this.project = project;%0A%09%7D%0A%0A%7D%0A

add Support class