package webctdbexport.db;
// Generated 17-Jun-2011 11:38:57 by Hibernate Tools 3.4.0.CR1
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* ScrHistory generated by hbm2java
*/
@Entity
@Table(name="SCR_HISTORY"
)
public class ScrHistory implements java.io.Serializable {
private String fileName;
private String scriptType;
private BigDecimal dateApplied;
private String status;
private BigDecimal scriptIndex;
public ScrHistory() {
}
public ScrHistory(String fileName, String scriptType, BigDecimal dateApplied, BigDecimal scriptIndex) {
this.fileName = fileName;
this.scriptType = scriptType;
this.dateApplied = dateApplied;
this.scriptIndex = scriptIndex;
}
public ScrHistory(String fileName, String scriptType, BigDecimal dateApplied, String status, BigDecimal scriptIndex) {
this.fileName = fileName;
this.scriptType = scriptType;
this.dateApplied = dateApplied;
this.status = status;
this.scriptIndex = scriptIndex;
}
@Id
@Column(name="FILE_NAME", nullable=false, length=128)
public String getFileName() {
return this.fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
@Column(name="SCRIPT_TYPE", nullable=false, length=64)
public String getScriptType() {
return this.scriptType;
}
public void setScriptType(String scriptType) {
this.scriptType = scriptType;
}
@Column(name="DATE_APPLIED", nullable=false, precision=20, scale=0)
public BigDecimal getDateApplied() {
return this.dateApplied;
}
public void setDateApplied(BigDecimal dateApplied) {
this.dateApplied = dateApplied;
}
@Column(name="STATUS", length=10)
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
@Column(name="SCRIPT_INDEX", nullable=false, precision=20, scale=0)
public BigDecimal getScriptIndex() {
return this.scriptIndex;
}
public void setScriptIndex(BigDecimal scriptIndex) {
this.scriptIndex = scriptIndex;
}
}