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.FetchType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;
/**
* GradeBookAuditLog generated by hbm2java
*/
@Entity
@Table(name="GRADE_BOOK_AUDIT_LOG"
)
public class GradeBookAuditLog implements java.io.Serializable {
private BigDecimal id;
private BigDecimal sectionId;
private BigDecimal sectionBookId;
private BigDecimal userPersonId;
private String userFirstName;
private String userLastName;
private String role;
private BigDecimal logTime;
private BigDecimal createTs;
private BigDecimal lastmodifyTs;
private BigDecimal memberPersonId;
private String memberFirstName;
private String memberLastName;
private BigDecimal sectionColumnId;
private String sectionColumnLabel;
private String note;
private String userNameNOther;
private String userNameNPrefix;
private String userNameNSuffix;
private String userNameNickname;
private String memberNameNOther;
private String memberNameNPrefix;
private String memberNameNSuffix;
private String memberNameNickname;
private GradeBookAuditLogValue gradeBookAuditLogValue;
public GradeBookAuditLog() {
}
public GradeBookAuditLog(BigDecimal id, BigDecimal sectionId, BigDecimal sectionBookId, BigDecimal userPersonId, String userFirstName, String userLastName, String role, BigDecimal logTime, BigDecimal createTs, BigDecimal lastmodifyTs) {
this.id = id;
this.sectionId = sectionId;
this.sectionBookId = sectionBookId;
this.userPersonId = userPersonId;
this.userFirstName = userFirstName;
this.userLastName = userLastName;
this.role = role;
this.logTime = logTime;
this.createTs = createTs;
this.lastmodifyTs = lastmodifyTs;
}
public GradeBookAuditLog(BigDecimal id, BigDecimal sectionId, BigDecimal sectionBookId, BigDecimal userPersonId, String userFirstName, String userLastName, String role, BigDecimal logTime, BigDecimal createTs, BigDecimal lastmodifyTs, BigDecimal memberPersonId, String memberFirstName, String memberLastName, BigDecimal sectionColumnId, String sectionColumnLabel, String note, String userNameNOther, String userNameNPrefix, String userNameNSuffix, String userNameNickname, String memberNameNOther, String memberNameNPrefix, String memberNameNSuffix, String memberNameNickname, GradeBookAuditLogValue gradeBookAuditLogValue) {
this.id = id;
this.sectionId = sectionId;
this.sectionBookId = sectionBookId;
this.userPersonId = userPersonId;
this.userFirstName = userFirstName;
this.userLastName = userLastName;
this.role = role;
this.logTime = logTime;
this.createTs = createTs;
this.lastmodifyTs = lastmodifyTs;
this.memberPersonId = memberPersonId;
this.memberFirstName = memberFirstName;
this.memberLastName = memberLastName;
this.sectionColumnId = sectionColumnId;
this.sectionColumnLabel = sectionColumnLabel;
this.note = note;
this.userNameNOther = userNameNOther;
this.userNameNPrefix = userNameNPrefix;
this.userNameNSuffix = userNameNSuffix;
this.userNameNickname = userNameNickname;
this.memberNameNOther = memberNameNOther;
this.memberNameNPrefix = memberNameNPrefix;
this.memberNameNSuffix = memberNameNSuffix;
this.memberNameNickname = memberNameNickname;
this.gradeBookAuditLogValue = gradeBookAuditLogValue;
}
@Id
@Column(name="ID", nullable=false, precision=20, scale=0)
public BigDecimal getId() {
return this.id;
}
public void setId(BigDecimal id) {
this.id = id;
}
@Column(name="SECTION_ID", nullable=false, precision=20, scale=0)
public BigDecimal getSectionId() {
return this.sectionId;
}
public void setSectionId(BigDecimal sectionId) {
this.sectionId = sectionId;
}
@Column(name="SECTION_BOOK_ID", nullable=false, precision=20, scale=0)
public BigDecimal getSectionBookId() {
return this.sectionBookId;
}
public void setSectionBookId(BigDecimal sectionBookId) {
this.sectionBookId = sectionBookId;
}
@Column(name="USER_PERSON_ID", nullable=false, precision=20, scale=0)
public BigDecimal getUserPersonId() {
return this.userPersonId;
}
public void setUserPersonId(BigDecimal userPersonId) {
this.userPersonId = userPersonId;
}
@Column(name="USER_FIRST_NAME", nullable=false, length=768)
public String getUserFirstName() {
return this.userFirstName;
}
public void setUserFirstName(String userFirstName) {
this.userFirstName = userFirstName;
}
@Column(name="USER_LAST_NAME", nullable=false, length=768)
public String getUserLastName() {
return this.userLastName;
}
public void setUserLastName(String userLastName) {
this.userLastName = userLastName;
}
@Column(name="ROLE", nullable=false, length=200)
public String getRole() {
return this.role;
}
public void setRole(String role) {
this.role = role;
}
@Column(name="LOG_TIME", nullable=false, precision=20, scale=0)
public BigDecimal getLogTime() {
return this.logTime;
}
public void setLogTime(BigDecimal logTime) {
this.logTime = logTime;
}
@Column(name="CREATE_TS", nullable=false, precision=20, scale=0)
public BigDecimal getCreateTs() {
return this.createTs;
}
public void setCreateTs(BigDecimal createTs) {
this.createTs = createTs;
}
@Column(name="LASTMODIFY_TS", nullable=false, precision=20, scale=0)
public BigDecimal getLastmodifyTs() {
return this.lastmodifyTs;
}
public void setLastmodifyTs(BigDecimal lastmodifyTs) {
this.lastmodifyTs = lastmodifyTs;
}
@Column(name="MEMBER_PERSON_ID", precision=20, scale=0)
public BigDecimal getMemberPersonId() {
return this.memberPersonId;
}
public void setMemberPersonId(BigDecimal memberPersonId) {
this.memberPersonId = memberPersonId;
}
@Column(name="MEMBER_FIRST_NAME", length=768)
public String getMemberFirstName() {
return this.memberFirstName;
}
public void setMemberFirstName(String memberFirstName) {
this.memberFirstName = memberFirstName;
}
@Column(name="MEMBER_LAST_NAME", length=768)
public String getMemberLastName() {
return this.memberLastName;
}
public void setMemberLastName(String memberLastName) {
this.memberLastName = memberLastName;
}
@Column(name="SECTION_COLUMN_ID", precision=20, scale=0)
public BigDecimal getSectionColumnId() {
return this.sectionColumnId;
}
public void setSectionColumnId(BigDecimal sectionColumnId) {
this.sectionColumnId = sectionColumnId;
}
@Column(name="SECTION_COLUMN_LABEL", length=1000)
public String getSectionColumnLabel() {
return this.sectionColumnLabel;
}
public void setSectionColumnLabel(String sectionColumnLabel) {
this.sectionColumnLabel = sectionColumnLabel;
}
@Column(name="NOTE", length=3000)
public String getNote() {
return this.note;
}
public void setNote(String note) {
this.note = note;
}
@Column(name="USER_NAME_N_OTHER", length=768)
public String getUserNameNOther() {
return this.userNameNOther;
}
public void setUserNameNOther(String userNameNOther) {
this.userNameNOther = userNameNOther;
}
@Column(name="USER_NAME_N_PREFIX", length=96)
public String getUserNameNPrefix() {
return this.userNameNPrefix;
}
public void setUserNameNPrefix(String userNameNPrefix) {
this.userNameNPrefix = userNameNPrefix;
}
@Column(name="USER_NAME_N_SUFFIX", length=96)
public String getUserNameNSuffix() {
return this.userNameNSuffix;
}
public void setUserNameNSuffix(String userNameNSuffix) {
this.userNameNSuffix = userNameNSuffix;
}
@Column(name="USER_NAME_NICKNAME", length=768)
public String getUserNameNickname() {
return this.userNameNickname;
}
public void setUserNameNickname(String userNameNickname) {
this.userNameNickname = userNameNickname;
}
@Column(name="MEMBER_NAME_N_OTHER", length=768)
public String getMemberNameNOther() {
return this.memberNameNOther;
}
public void setMemberNameNOther(String memberNameNOther) {
this.memberNameNOther = memberNameNOther;
}
@Column(name="MEMBER_NAME_N_PREFIX", length=96)
public String getMemberNameNPrefix() {
return this.memberNameNPrefix;
}
public void setMemberNameNPrefix(String memberNameNPrefix) {
this.memberNameNPrefix = memberNameNPrefix;
}
@Column(name="MEMBER_NAME_N_SUFFIX", length=96)
public String getMemberNameNSuffix() {
return this.memberNameNSuffix;
}
public void setMemberNameNSuffix(String memberNameNSuffix) {
this.memberNameNSuffix = memberNameNSuffix;
}
@Column(name="MEMBER_NAME_NICKNAME", length=768)
public String getMemberNameNickname() {
return this.memberNameNickname;
}
public void setMemberNameNickname(String memberNameNickname) {
this.memberNameNickname = memberNameNickname;
}
@OneToOne(fetch=FetchType.EAGER, mappedBy="gradeBookAuditLog")
public GradeBookAuditLogValue getGradeBookAuditLogValue() {
return this.gradeBookAuditLogValue;
}
public void setGradeBookAuditLogValue(GradeBookAuditLogValue gradeBookAuditLogValue) {
this.gradeBookAuditLogValue = gradeBookAuditLogValue;
}
}