提交 | 用户 | 时间
|
71e81e
|
1 |
package cn.stylefeng.guns.modular.sc.serialNumbersConf.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
4 |
import com.baomidou.mybatisplus.annotation.IdType; |
|
5 |
import java.util.Date; |
|
6 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
7 |
import com.baomidou.mybatisplus.annotation.FieldFill; |
|
8 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
9 |
import java.io.Serializable; |
|
10 |
|
|
11 |
/** |
|
12 |
* <p> |
|
13 |
* 产品序列号配置 |
|
14 |
* </p> |
|
15 |
* |
|
16 |
* @author ruimin |
|
17 |
* @since 2023-03-25 |
|
18 |
*/ |
|
19 |
@TableName("sc_serial_numbers_conf") |
|
20 |
public class SerialNumbersConf implements Serializable { |
|
21 |
|
|
22 |
private static final long serialVersionUID=1L; |
|
23 |
|
|
24 |
/** |
|
25 |
* 主键id |
|
26 |
*/ |
|
27 |
@TableId(value = "id", type = IdType.ID_WORKER) |
|
28 |
private Long id; |
|
29 |
|
|
30 |
/** |
|
31 |
* 年份 |
|
32 |
*/ |
|
33 |
@TableField("years") |
|
34 |
private String years; |
|
35 |
|
|
36 |
/** |
|
37 |
* 序列号 |
|
38 |
*/ |
|
39 |
@TableField("serial_number") |
|
40 |
private String serialNumber; |
|
41 |
|
|
42 |
/** |
|
43 |
* 长度 |
|
44 |
*/ |
|
45 |
@TableField("lengths") |
|
46 |
private String lengths; |
|
47 |
|
|
48 |
/** |
|
49 |
* 状态(启用、禁用) |
|
50 |
*/ |
|
51 |
@TableField("state") |
|
52 |
private String state; |
|
53 |
|
|
54 |
/** |
|
55 |
* 创建时间 |
|
56 |
*/ |
|
57 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
58 |
private Date createTime; |
|
59 |
|
|
60 |
/** |
|
61 |
* 创建用户 |
|
62 |
*/ |
|
63 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
64 |
private String createUser; |
|
65 |
|
|
66 |
/** |
|
67 |
* 更改时间 |
|
68 |
*/ |
|
69 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
70 |
private Date updateTime; |
|
71 |
|
|
72 |
/** |
|
73 |
* 更改用户 |
|
74 |
*/ |
|
75 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
76 |
private String updateUser; |
|
77 |
|
|
78 |
|
|
79 |
public Long getId() { |
|
80 |
return id; |
|
81 |
} |
|
82 |
|
|
83 |
public void setId(Long id) { |
|
84 |
this.id = id; |
|
85 |
} |
|
86 |
|
|
87 |
public String getYears() { |
|
88 |
return years; |
|
89 |
} |
|
90 |
|
|
91 |
public void setYears(String years) { |
|
92 |
this.years = years; |
|
93 |
} |
|
94 |
|
|
95 |
public String getSerialNumber() { |
|
96 |
return serialNumber; |
|
97 |
} |
|
98 |
|
|
99 |
public void setSerialNumber(String serialNumber) { |
|
100 |
this.serialNumber = serialNumber; |
|
101 |
} |
|
102 |
|
|
103 |
public String getLengths() { |
|
104 |
return lengths; |
|
105 |
} |
|
106 |
|
|
107 |
public void setLengths(String lengths) { |
|
108 |
this.lengths = lengths; |
|
109 |
} |
|
110 |
|
|
111 |
public String getState() { |
|
112 |
return state; |
|
113 |
} |
|
114 |
|
|
115 |
public void setState(String state) { |
|
116 |
this.state = state; |
|
117 |
} |
|
118 |
|
|
119 |
public Date getCreateTime() { |
|
120 |
return createTime; |
|
121 |
} |
|
122 |
|
|
123 |
public void setCreateTime(Date createTime) { |
|
124 |
this.createTime = createTime; |
|
125 |
} |
|
126 |
|
|
127 |
public String getCreateUser() { |
|
128 |
return createUser; |
|
129 |
} |
|
130 |
|
|
131 |
public void setCreateUser(String createUser) { |
|
132 |
this.createUser = createUser; |
|
133 |
} |
|
134 |
|
|
135 |
public Date getUpdateTime() { |
|
136 |
return updateTime; |
|
137 |
} |
|
138 |
|
|
139 |
public void setUpdateTime(Date updateTime) { |
|
140 |
this.updateTime = updateTime; |
|
141 |
} |
|
142 |
|
|
143 |
public String getUpdateUser() { |
|
144 |
return updateUser; |
|
145 |
} |
|
146 |
|
|
147 |
public void setUpdateUser(String updateUser) { |
|
148 |
this.updateUser = updateUser; |
|
149 |
} |
|
150 |
|
|
151 |
@Override |
|
152 |
public String toString() { |
|
153 |
return "SerialNumbersConf{" + |
|
154 |
"id=" + id + |
|
155 |
", years=" + years + |
|
156 |
", serialNumber=" + serialNumber + |
|
157 |
", lengths=" + lengths + |
|
158 |
", state=" + state + |
|
159 |
", createTime=" + createTime + |
|
160 |
", createUser=" + createUser + |
|
161 |
", updateTime=" + updateTime + |
|
162 |
", updateUser=" + updateUser + |
|
163 |
"}"; |
|
164 |
} |
|
165 |
} |