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; /** * RptLearningContextSizeV generated by hbm2java */ @Entity @Table(name="RPT_LEARNING_CONTEXT_SIZE_V" ) public class RptLearningContextSizeV implements java.io.Serializable { private RptLearningContextSizeVId id; public RptLearningContextSizeV() { } public RptLearningContextSizeV(RptLearningContextSizeVId 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=22, scale=0) ), @AttributeOverride(name="templateSize", column=@Column(name="TEMPLATE_SIZE", nullable=false, precision=22, scale=0) ), @AttributeOverride(name="additionalFileSize", column=@Column(name="ADDITIONAL_FILE_SIZE", nullable=false, precision=22, scale=0) ) } ) public RptLearningContextSizeVId getId() { return this.id; } public void setId(RptLearningContextSizeVId id) { this.id = id; } }