57 lines
1.1 KiB
Java
57 lines
1.1 KiB
Java
package cn.palmte.work.model;
|
|
|
|
import org.hibernate.annotations.GenericGenerator;
|
|
|
|
import javax.persistence.*;
|
|
|
|
@Entity
|
|
@Table(name = "project_settle_month_range")
|
|
public class ProjectSettleMonthRange {
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
@GenericGenerator(name = "persistenceGenerator", strategy = "increment")
|
|
private Integer id;
|
|
|
|
@Column(name = "project_id")
|
|
private int projectId;
|
|
|
|
@Column(name = "start_date")
|
|
private String startDate;
|
|
|
|
@Column(name = "end_date")
|
|
private String endDate;
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public int getProjectId() {
|
|
return projectId;
|
|
}
|
|
|
|
public void setProjectId(int projectId) {
|
|
this.projectId = projectId;
|
|
}
|
|
|
|
public String getStartDate() {
|
|
return startDate;
|
|
}
|
|
|
|
public void setStartDate(String startDate) {
|
|
this.startDate = startDate;
|
|
}
|
|
|
|
public String getEndDate() {
|
|
return endDate;
|
|
}
|
|
|
|
public void setEndDate(String endDate) {
|
|
this.endDate = endDate;
|
|
}
|
|
}
|