package webctdbexport.db;
// Generated 17-Jun-2011 11:38:57 by Hibernate Tools 3.4.0.CR1
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* RptLearningContextSize generated by hbm2java
*/
@Entity
@Table(name="RPT_LEARNING_CONTEXT_SIZE"
)
public class RptLearningContextSize implements java.io.Serializable {
private RptLearningContextSizeId id;
public RptLearningContextSize() {
}
public RptLearningContextSize(RptLearningContextSizeId id) {
this.id = id;
}
@EmbeddedId
@AttributeOverrides( {
@AttributeOverride(name="learningContextId", column=@Column(name="LEARNING_CONTEXT_ID", nullable=false, precision=20, scale=0) ),
@AttributeOverride(name="totalSize", column=@Column(name="TOTAL_SIZE", nullable=false, precision=20, scale=0) ),
@AttributeOverride(name="templateSize", column=@Column(name="TEMPLATE_SIZE", nullable=false, precision=20, scale=0) ),
@AttributeOverride(name="additionalFileSize", column=@Column(name="ADDITIONAL_FILE_SIZE", nullable=false, precision=20, scale=0) ) } )
public RptLearningContextSizeId getId() {
return this.id;
}
public void setId(RptLearningContextSizeId id) {
this.id = id;
}
}