package com.sap.nwce.ra.edm.ejb.entity;
import java.io.Serializable; import java.util.Date; import java.sql.Timestamp;
import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.TableGenerator; import javax.persistence.Temporal; import javax.persistence.TemporalType; import javax.persistence.Version;
@Entity @Table(name="CERA_PRJ_HISTORY") public class CeraPrjHistory implements Serializable { @Id @TableGenerator(name="IdGenerator", table="CERA_GENERATOR", pkColumnName="BEAN_NAME", valueColumnName="MAX_ID") @GeneratedValue(strategy=GenerationType.TABLE, generator="IdGenerator") private int id;
@Column(name="END_DATE") @Temporal(TemporalType.DATE) private java.util.Date endDate;
@Version private int version;
private String description;
private String title;
private Timestamp changeDate;
private int status;
@Column(name="LEAD_ID") private int leader;
@Column(name="PROJECT_ID") private int projectId;
@Column(name="CHANGER_ID") private String changerId;
@Column(name="START_DATE") @Temporal (TemporalType.DATE) private java.util.Date startDate;
private static final long serialVersionUID = 1L;
public CeraPrjHistory() { super(); }
public int getId() { return this.id; }
public void setId(int id) { this.id = id; }
public Date getEndDate() { return this.endDate; }
public void setEndDate(Date endDate) { this.endDate = endDate; }
public int getVersion() { return this.version; }
public void setVersion(int version) { this.version = version; }
public String getDescription() { return this.description; }
public void setDescription(String description) { this.description = description; }
public String getTitle() { return this.title; }
public void setTitle(String title) { this.title = title; }
public Timestamp getChangeDate() { return this.changeDate; }
public void setChangeDate(Timestamp changeDate) { this.changeDate = changeDate; }
public int getStatus() { return this.status; }
public void setStatus(int status) { this.status = status; }
public int getProjectId() { return this.projectId; }
public void setProjectId(int projectId) { this.projectId = projectId; }
public String getChangerId() { return this.changerId; }
public void setChangerId(String changerId) { this.changerId = changerId; }
public Date getStartDate() { return this.startDate; }
public void setStartDate(Date startDate) { this.startDate = startDate; }
public int getLeader() { return leader; }
public void setLeader(int leader) { this.leader = leader; }
}
|