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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package com.gx.obe.server.management.dictionary.entity;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
/**
* @Description:
* @author mazc
*/
@TableName("obe_template_library")
public class TemplateLibrary extends Model<TemplateLibrary> {
private static final long serialVersionUID = 1L;
/**
* 模板库主键
*/
@TableId("TEMPLATE_LIBRARY_ID")
private String id;
/**
* 模板库名称
*/
@TableField("NAME")
private String name;
/**
* 模板库备注
*/
@TableField("MEMO")
private String memo;
/**
* 模板库编号
*/
@TableField("CODE")
private String code;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getMemo() {
return memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public static final String TEMPLATE_LIBRARY_ID = "TEMPLATE_LIBRARY_ID";
public static final String NAME = "NAME";
public static final String MEMO = "MEMO";
public static final String CODE = "CODE";
@Override
protected Serializable pkVal() {
return this.id;
}
@Override
public String toString() {
return "TemplateLibrary{" + ", id=" + id + ", name=" + name + ", memo=" + memo + ", code=" + code + "}";
}
}