gaoluyang
昨天 8c65f898ed6e5b0c7a94c792c4562f6ec831dccd
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
package cn.iocoder.yudao.module.mes.dal.dataobject.qc.template;
 
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.*;
 
/**
 * MES 质检方案-工序绑定 DO
 *
 * <p>维护工序默认使用的质检方案,新建过程检验选择工序时按此带出检测指标字段。
 *
 * @author 超级管理员
 */
@TableName("mes_qc_template_process")
@KeySequence("mes_qc_template_process_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesQcTemplateProcessDO extends BaseDO {
 
    @TableId
    private Long id;
    /**
     * 工序编号
     *
     * 关联 {@link MesProProcessDO#getId()}
     */
    private Long processId;
    /**
     * 质检方案编号
     *
     * 关联 {@link MesQcTemplateDO#getId()}
     */
    private Long templateId;
    /**
     * 质检种类
     *
     * 枚举 {@link cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum}
     */
    private Integer qcType;
    /**
     * 是否默认方案
     */
    private Boolean defaultFlag;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 状态:0-启用 1-禁用
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;
 
}