1 package org.kuali.student.core.bo; 2 3 import java.util.Date; 4 5 import javax.persistence.Column; 6 import javax.persistence.Embeddable; 7 import javax.persistence.Temporal; 8 import javax.persistence.TemporalType; 9 10 @Embeddable 11 public class Meta { 12 13 @Temporal(TemporalType.TIMESTAMP) 14 @Column(updatable=false) 15 private Date createTime; 16 17 @Column(updatable=false) 18 private String createId; 19 20 @Temporal(TemporalType.TIMESTAMP) 21 private Date updateTime; 22 23 private String updateId; 24 25 public Date getCreateTime() { 26 return createTime; 27 } 28 29 public void setCreateTime(Date createTime) { 30 this.createTime = createTime; 31 } 32 33 public String getCreateId() { 34 return createId; 35 } 36 37 public void setCreateId(String createId) { 38 this.createId = createId; 39 } 40 41 public Date getUpdateTime() { 42 return updateTime; 43 } 44 45 public void setUpdateTime(Date updateTime) { 46 this.updateTime = updateTime; 47 } 48 49 public String getUpdateId() { 50 return updateId; 51 } 52 53 public void setUpdateId(String updateId) { 54 this.updateId = updateId; 55 } 56 } 57