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;
|
|
}
|