chenhj
5 天以前 4b9dc71d162f3fcd79bc88b170154b7516fc4962
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
90
91
92
package com.ruoyi.production.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
 
/**
 * @author :yys
 * @date : 2025/12/4 11:13
 */
@Data
@TableName("production_line")
public class ProductionLine {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 名称
     */
    @ApiModelProperty("名称")
    private String name;
 
    /**
     * 父级id
     */
    @ApiModelProperty("父级id")
    private Integer parentId;
 
    /**
     * 类型 1-产线 2-工序
     */
    @ApiModelProperty("类型 1-产线 2-工序")
    private Integer type;
 
    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sort;
 
    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;
 
    /**
     * 子数据
     */
    @TableField(exist = false)
    @ApiModelProperty("子数据")
    private List<ProductionLine> children;
 
    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    /**
     * 修改者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    /**
     * 租户ID
     */
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
 
}