1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.core.entity;
17
18 import java.util.Date;
19
20 import javax.persistence.Column;
21 import javax.persistence.Embeddable;
22 import javax.persistence.Temporal;
23 import javax.persistence.TemporalType;
24
25 @Embeddable
26 public class Meta {
27
28
29
30
31
32
33
34
35
36
37
38
39
40 @Temporal(TemporalType.TIMESTAMP)
41 @Column(updatable=false)
42 private Date createTime;
43
44 @Column(updatable=false)
45 private String createId;
46
47 @Temporal(TemporalType.TIMESTAMP)
48 private Date updateTime;
49
50 private String updateId;
51
52 public Date getCreateTime() {
53 return createTime;
54 }
55
56 public void setCreateTime(Date createTime) {
57 this.createTime = createTime;
58 }
59
60 public String getCreateId() {
61 return createId;
62 }
63
64 public void setCreateId(String createId) {
65 this.createId = createId;
66 }
67
68 public Date getUpdateTime() {
69 return updateTime;
70 }
71
72 public void setUpdateTime(Date updateTime) {
73 this.updateTime = updateTime;
74 }
75
76 public String getUpdateId() {
77 return updateId;
78 }
79
80 public void setUpdateId(String updateId) {
81 this.updateId = updateId;
82 }
83 }