| 1 |  |  package org.kuali.student.common.entity; | 
  | 2 |  |   | 
  | 3 |  |  import java.util.Date; | 
  | 4 |  |   | 
  | 5 |  |  import javax.persistence.AttributeOverride; | 
  | 6 |  |  import javax.persistence.AttributeOverrides; | 
  | 7 |  |  import javax.persistence.Column; | 
  | 8 |  |  import javax.persistence.MappedSuperclass; | 
  | 9 |  |  import javax.persistence.Temporal; | 
  | 10 |  |  import javax.persistence.TemporalType; | 
  | 11 |  |   | 
  | 12 |  |  @MappedSuperclass | 
  | 13 |  |  @AttributeOverrides({ | 
  | 14 |  |      @AttributeOverride(name="id", column=@Column(name="TYPE_KEY"))}) | 
  | 15 | 0 |  public class BaseType extends BaseEntity{ | 
  | 16 |  |          @Column(name = "NAME") | 
  | 17 |  |          private String name; | 
  | 18 |  |           | 
  | 19 |  |          @Column(name = "TYPE_DESC",length=KSEntityConstants.LONG_TEXT_LENGTH) | 
  | 20 |  |          private String descr; | 
  | 21 |  |   | 
  | 22 |  |          @Temporal(TemporalType.TIMESTAMP) | 
  | 23 |  |          @Column(name = "EFF_DT") | 
  | 24 |  |          private Date effectiveDate; | 
  | 25 |  |   | 
  | 26 |  |          @Temporal(TemporalType.TIMESTAMP) | 
  | 27 |  |          @Column(name = "EXPIR_DT") | 
  | 28 |  |          private Date expirationDate; | 
  | 29 |  |           | 
  | 30 |  |          public String getName() { | 
  | 31 | 0 |                  return name; | 
  | 32 |  |          } | 
  | 33 |  |   | 
  | 34 |  |          public void setName(String name) { | 
  | 35 | 0 |                  this.name = name; | 
  | 36 | 0 |          } | 
  | 37 |  |   | 
  | 38 |  |          public Date getEffectiveDate() { | 
  | 39 | 0 |                  return effectiveDate; | 
  | 40 |  |          } | 
  | 41 |  |   | 
  | 42 |  |          public void setEffectiveDate(Date effectiveDate) { | 
  | 43 | 0 |                  this.effectiveDate = effectiveDate; | 
  | 44 | 0 |          } | 
  | 45 |  |   | 
  | 46 |  |          public Date getExpirationDate() { | 
  | 47 | 0 |                  return expirationDate; | 
  | 48 |  |          } | 
  | 49 |  |   | 
  | 50 |  |          public void setExpirationDate(Date expirationDate) { | 
  | 51 | 0 |                  this.expirationDate = expirationDate; | 
  | 52 | 0 |          } | 
  | 53 |  |   | 
  | 54 |  |          public String getDescr() { | 
  | 55 | 0 |                  return descr; | 
  | 56 |  |          } | 
  | 57 |  |   | 
  | 58 |  |          public void setDescr(String descr) { | 
  | 59 | 0 |                  this.descr = descr; | 
  | 60 | 0 |          } | 
  | 61 |  |  } |