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.Embeddable;
/**
* PersonEnrollmentId generated by hbm2java
*/
@Embeddable
public class PersonEnrollmentId implements java.io.Serializable {
private BigDecimal personId;
private BigDecimal learningContextId;
private String lcTypeCode;
public PersonEnrollmentId() {
}
public PersonEnrollmentId(BigDecimal personId, BigDecimal learningContextId, String lcTypeCode) {
this.personId = personId;
this.learningContextId = learningContextId;
this.lcTypeCode = lcTypeCode;
}
@Column(name="PERSON_ID", nullable=false, precision=20, scale=0)
public BigDecimal getPersonId() {
return this.personId;
}
public void setPersonId(BigDecimal personId) {
this.personId = personId;
}
@Column(name="LEARNING_CONTEXT_ID", nullable=false, precision=20, scale=0)
public BigDecimal getLearningContextId() {
return this.learningContextId;
}
public void setLearningContextId(BigDecimal learningContextId) {
this.learningContextId = learningContextId;
}
@Column(name="LC_TYPE_CODE", nullable=false, length=128)
public String getLcTypeCode() {
return this.lcTypeCode;
}
public void setLcTypeCode(String lcTypeCode) {
this.lcTypeCode = lcTypeCode;
}
}