package com.ruoyi.quality.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.basic.dto.StorageBlobDTO;
|
import com.ruoyi.basic.dto.StorageBlobVO;
|
import com.ruoyi.dto.DateQueryDto;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* 质量管理--不合格品处理单
|
* quality_unqualified_order
|
*/
|
@TableName(value = "quality_unqualified_order")
|
@Data
|
public class QualityUnqualifiedOrder extends DateQueryDto implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
@Schema(description = "处理单编号")
|
private String orderNo;
|
|
@Schema(description = "关联不合格品ID")
|
private Long unqualifiedId;
|
|
@Excel(name = "项目名称")
|
private String projectName;
|
|
@Excel(name = "项目编号")
|
private String projectNo;
|
|
@Schema(description = "关联设备ID")
|
private Long equipmentId;
|
|
@Excel(name = "设备名称")
|
private String equipmentName;
|
|
@Schema(description = "设备图号")
|
private String equipmentDrawingNo;
|
|
@Excel(name = "物料/部件名称")
|
private String materialName;
|
|
@Schema(description = "关联产品型号ID")
|
private Long productModelId;
|
|
@Schema(description = "物料图号")
|
private String materialDrawingNo;
|
|
@Excel(name = "型号规格")
|
private String specificationModel;
|
|
@Schema(description = "材质")
|
private String materialQuality;
|
|
@Excel(name = "总数量")
|
private BigDecimal quantity;
|
|
@Excel(name = "不合格数量")
|
private BigDecimal unqualifiedQuantity;
|
|
@Excel(name = "不合格工序", readConverterExp = "1=来料,2=制程,3=成品")
|
private Integer unqualifiedProcess;
|
|
@Excel(name = "供应商名称")
|
private String supplierName;
|
|
@Excel(name = "检验员")
|
private String inspectorName;
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "检验日期", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date inspectDate;
|
|
@Schema(description = "责任人")
|
private String responsiblePerson;
|
|
@Schema(description = "责任部门")
|
private String responsibleDept;
|
|
@Schema(description = "问题描述")
|
private String problemDescription;
|
|
@Schema(description = "原因分析及建议")
|
private String reasonAnalysis;
|
|
@Schema(description = "纠正措施")
|
private String correctionAction;
|
|
@Excel(name = "处置方式", readConverterExp = "1=让步接收,2=厂内维修,3=返厂维修,4=换货,5=退货,6=报废")
|
private Integer disposalMethod;
|
|
@Schema(description = "厂内/返厂维修评估")
|
private String repairEvaluation;
|
|
@Schema(description = "预防措施")
|
private String preventiveAction;
|
|
@Excel(name = "状态", readConverterExp = "0=草稿,1=待审批,2=审批中,3=已完成,4=已驳回")
|
private Integer status;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
@Schema(description = "责任部门主管意见")
|
private String deptOpinion;
|
|
@Schema(description = "公司处理决定")
|
private String companyDecision;
|
|
@Schema(description = "总经理意见")
|
private String generalManagerOpinion;
|
|
@Schema(description = "创建用户")
|
@TableField(value = "create_by", fill = FieldFill.INSERT)
|
private Integer createBy;
|
|
@Schema(description = "修改用户")
|
@TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
|
private Integer updateBy;
|
|
@Schema(description = "创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
@Schema(description = "修改时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
@Schema(description = "租户ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
|
@Schema(description = "部门ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
|
@TableField(fill = FieldFill.INSERT)
|
private Integer deleted;
|
|
@Schema(description = "附件列表(新增/编辑时传入)")
|
@TableField(exist = false)
|
private List<StorageBlobDTO> storageBlobDTOs;
|
|
@Schema(description = "附件列表(查询时返回)")
|
@TableField(exist = false)
|
private List<StorageBlobVO> storageBlobVOs;
|
}
|