NewBaseEntity.java
1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.bjivt.entity;
import java.io.Serializable;
import java.util.Date;
public class NewBaseEntity implements Serializable {
/**
* 实体基类
*/
private static final long serialVersionUID = 1L;
protected String id = null; //主键
protected Date createDate = null; //创建日期
protected String createTime = null; //格式: 2001-01-01 01:01:01
protected String operatorType = null; //创建人class对应的table名,例如"jm_user"
protected String operatorId=null; //创建人ID
//--------------------------------------
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getOperatorType() {
return operatorType;
}
public void setOperatorType(String operatorType) {
this.operatorType = operatorType;
}
public String getOperatorId() {
return operatorId;
}
public void setOperatorId(String operatorId) {
this.operatorId = operatorId;
}
}