1 | |
package org.kuali.student.r2.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 | |
import org.kuali.student.common.entity.KSEntityConstants; |
13 | |
|
14 | |
|
15 | |
@MappedSuperclass |
16 | |
@AttributeOverrides({ |
17 | |
@AttributeOverride(name="id", column=@Column(name="TYPE_KEY"))}) |
18 | 0 | public class BaseTypeEntity extends BaseVersionEntity { |
19 | |
@Column(name = "NAME") |
20 | |
private String name; |
21 | |
|
22 | |
@Column(name = "TYPE_DESC",length=KSEntityConstants.LONG_TEXT_LENGTH) |
23 | |
private String descr; |
24 | |
|
25 | |
@Temporal(TemporalType.TIMESTAMP) |
26 | |
@Column(name = "EFF_DT") |
27 | |
private Date effectiveDate; |
28 | |
|
29 | |
@Temporal(TemporalType.TIMESTAMP) |
30 | |
@Column(name = "EXPIR_DT") |
31 | |
private Date expirationDate; |
32 | |
|
33 | |
public String getName() { |
34 | 0 | return name; |
35 | |
} |
36 | |
|
37 | |
public void setName(String name) { |
38 | 0 | this.name = name; |
39 | 0 | } |
40 | |
|
41 | |
public Date getEffectiveDate() { |
42 | 0 | return effectiveDate; |
43 | |
} |
44 | |
|
45 | |
public void setEffectiveDate(Date effectiveDate) { |
46 | 0 | this.effectiveDate = effectiveDate; |
47 | 0 | } |
48 | |
|
49 | |
public Date getExpirationDate() { |
50 | 0 | return expirationDate; |
51 | |
} |
52 | |
|
53 | |
public void setExpirationDate(Date expirationDate) { |
54 | 0 | this.expirationDate = expirationDate; |
55 | 0 | } |
56 | |
|
57 | |
public String getDescr() { |
58 | 0 | return descr; |
59 | |
} |
60 | |
|
61 | |
public void setDescr(String descr) { |
62 | 0 | this.descr = descr; |
63 | 0 | } |
64 | |
} |