liyong
8 天以前 1ab2b329a40decba8ff7eefbeb158ff259aceb6d
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
package cn.iocoder.yudao.module.mes.dal.dataobject.pro.route;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import cn.iocoder.yudao.module.mes.dal.dataobject.pro.process.MesProProcessDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
 
/**
 * MES 工艺路线工序 DO
 *
 * @author 芋道源码
 */
@TableName("mes_pro_route_process")
@KeySequence("mes_pro_route_process_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesProRouteProcessDO extends BaseDO {
 
    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 工艺路线编号
     *
     * 关联 {@link MesProRouteDO#getId()}
     */
    private Long routeId;
    /**
     * 工序编号
     *
     * 关联 {@link MesProProcessDO#getId()}
     */
    private Long processId;
    /**
     * 序号
     */
    private Integer sort;
    /**
     * 下一道工序编号
     *
     * 关联 {@link MesProProcessDO#getId()}
     */
    private Long nextProcessId;
    /**
     * 与下一道工序关系
     *
     * 字典 {@link cn.iocoder.yudao.module.mes.enums.DictTypeConstants#MES_PRO_LINK_TYPE}
     * 枚举 {@link cn.iocoder.yudao.module.mes.enums.pro.MesProLinkTypeEnum}
     */
    private Integer linkType;
    /**
     * 准备时间(分钟)
     */
    private Integer prepareTime;
    /**
     * 等待时间(分钟)
     */
    private Integer waitTime;
    /**
     * 甘特图显示颜色
     */
    private String colorCode;
    /**
     * 是否关键工序
     */
    private Boolean keyFlag;
    /**
     * 是否质检工序
     */
    private Boolean checkFlag;
    /**
     * 是否倒冲
     *
     * true=报工时按 BOM 自动扣料;false=不自动扣料,物料走手工领料/投料
     */
    private Boolean backflushFlag;
    /**
     * 备注
     */
    private String remark;
 
}