lyh
3 天以前 b508ec38ddf9ed93d4435e8f1e3c4effef798aaa
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
package com.lxzn.framework.domain.nc;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import java.io.Serializable;
import java.util.Date;
 
@Data
@NoArgsConstructor
@TableName(value = "nc_device_type")
public class DeviceType implements Serializable {
    private static final long serialVersionUID = 1529244980533421687L;
 
    private String id;
 
    //工序或工步id
    @TableField(value = "attribution_id")
    private String attributionId;
 
    //工序/工步  5工序 6工步
    @TableField(value = "attribution_type")
    private Integer attributionType;
 
    //车间id
    @TableField(value = "production_id")
    private String productionId;
 
    //设备类
    @TableField(value = "device_management_id")
    private String deviceManagementId;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(value = "update_time", fill = FieldFill.INSERT)
    private Date updateTime;
 
    @JsonIgnore
    @TableField(value = "create_user", select = false, fill = FieldFill.INSERT)
    private String createUser;
 
    @JsonIgnore
    @TableField(value = "update_user", select = false, fill = FieldFill.UPDATE)
    private String updateUser;
 
    @JsonIgnore
    @TableField(value = "delete_flag", select = false)
    private Integer deleteFlag = 0;
 
}