提交 | 用户 | 时间
|
71e81e
|
1 |
package cn.stylefeng.guns.modular.sc.scannerConfig.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 zrm |
|
17 |
* @since 2023-07-11 |
|
18 |
*/ |
|
19 |
@TableName("sc_scanner_config") |
|
20 |
public class ScannerConfig 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("location_code") |
|
34 |
private String locationCode; |
|
35 |
|
|
36 |
/** |
|
37 |
* ip地址 |
|
38 |
*/ |
|
39 |
@TableField("ip_address") |
|
40 |
private String ipAddress; |
|
41 |
|
|
42 |
/** |
|
43 |
* 创建人 |
|
44 |
*/ |
|
45 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
46 |
private String createUser; |
|
47 |
|
|
48 |
/** |
|
49 |
* 创建时间 |
|
50 |
*/ |
|
51 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
52 |
private Date createTime; |
|
53 |
|
|
54 |
|
|
55 |
public Long getId() { |
|
56 |
return id; |
|
57 |
} |
|
58 |
|
|
59 |
public void setId(Long id) { |
|
60 |
this.id = id; |
|
61 |
} |
|
62 |
|
|
63 |
public String getLocationCode() { |
|
64 |
return locationCode; |
|
65 |
} |
|
66 |
|
|
67 |
public void setLocationCode(String locationCode) { |
|
68 |
this.locationCode = locationCode; |
|
69 |
} |
|
70 |
|
|
71 |
public String getIpAddress() { |
|
72 |
return ipAddress; |
|
73 |
} |
|
74 |
|
|
75 |
public void setIpAddress(String ipAddress) { |
|
76 |
this.ipAddress = ipAddress; |
|
77 |
} |
|
78 |
|
|
79 |
public String getCreateUser() { |
|
80 |
return createUser; |
|
81 |
} |
|
82 |
|
|
83 |
public void setCreateUser(String createUser) { |
|
84 |
this.createUser = createUser; |
|
85 |
} |
|
86 |
|
|
87 |
public Date getCreateTime() { |
|
88 |
return createTime; |
|
89 |
} |
|
90 |
|
|
91 |
public void setCreateTime(Date createTime) { |
|
92 |
this.createTime = createTime; |
|
93 |
} |
|
94 |
|
|
95 |
@Override |
|
96 |
public String toString() { |
|
97 |
return "ScannerConfig{" + |
|
98 |
"id=" + id + |
|
99 |
", locationCode=" + locationCode + |
|
100 |
", ipAddress=" + ipAddress + |
|
101 |
", createUser=" + createUser + |
|
102 |
", createTime=" + createTime + |
|
103 |
"}"; |
|
104 |
} |
|
105 |
} |