package cn.iocoder.yudao.module.mes.dal.dataobject.qc.outsourcetest;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* MES 委外检测/试验单 DO
|
*
|
* <p>第三方电力检测、委外试验单据管理,留存检测报告与资质文件
|
*
|
* @author xiaoyi
|
*/
|
@TableName("mes_qc_outsource_test")
|
@KeySequence("mes_qc_outsource_test_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class MesQcOutsourceTestDO extends BaseDO {
|
|
/**
|
* 编号
|
*/
|
@TableId
|
private Long id;
|
|
/**
|
* 单据编码
|
*/
|
private String code;
|
|
/**
|
* 单据名称
|
*/
|
private String name;
|
|
/**
|
* 检测类型
|
*
|
* 1: 第三方检测
|
* 2: 委外试验
|
*
|
* 字典 {@link DictTypeConstants#MES_QC_OUTSOURCE_TEST_TYPE}
|
*/
|
private Integer testType;
|
|
/**
|
* 检测对象(物料/设备编号)
|
*/
|
private Long itemId;
|
|
/**
|
* 检测机构
|
*/
|
private String testOrg;
|
|
/**
|
* 检测日期
|
*/
|
private LocalDateTime testDate;
|
|
/**
|
* 检测结果
|
*
|
* 1: 合格
|
* 2: 不合格
|
*
|
* 字典 {@link DictTypeConstants#MES_QC_OUTSOURCE_TEST_RESULT}
|
*/
|
private Integer result;
|
|
/**
|
* 检测报告编号
|
*/
|
private String reportNo;
|
|
/**
|
* 状态
|
*
|
* 0: 草稿
|
* 10: 已提交
|
* 20: 已完成
|
*/
|
private Integer status;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|