package cn.iocoder.yudao.module.mes.dal.dataobject.qc.patrol;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* MES 质量巡检记录 DO
|
*
|
* 巡检是独立记录,不生成库存业务单据,也不影响入库。
|
*
|
* @author 超级管理员
|
*/
|
@TableName("mes_qc_patrol")
|
@KeySequence("mes_qc_patrol_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class MesQcPatrolDO extends BaseDO {
|
|
/**
|
* 编号
|
*/
|
@TableId
|
private Long id;
|
/**
|
* 巡检单编号
|
*/
|
private String code;
|
/**
|
* 巡检单名称
|
*/
|
private String name;
|
/**
|
* 产品物料编号
|
*/
|
private Long itemId;
|
/**
|
* 盘号
|
*/
|
private String reelNo;
|
/**
|
* 批次号
|
*/
|
private String batchCode;
|
/**
|
* 合格数量
|
*/
|
private BigDecimal qualifiedQuantity;
|
/**
|
* 不合格数量
|
*/
|
private BigDecimal unqualifiedQuantity;
|
/**
|
* 巡检日期
|
*/
|
private LocalDateTime inspectDate;
|
/**
|
* 巡检人员编号
|
*
|
* 关联 system_users 的编号
|
*/
|
private Long inspectorUserId;
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|