package com.zt.plat.module.qms.resource.material.controller.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Schema(description = "管理后台 - 物料通用流程明细新增/修改 Request VO")
@Data
public class MaterialLifecycleDetailSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "6130")
    private Long id;

    @Schema(description = "父id", example = "6294")
    private Long lifecycleId;

    @Schema(description = "物料大类id", example = "31283")
    private Long productId;

    @Schema(description = "物料批次id", example = "12948")
    private Long batchId;

    @Schema(description = "批次工段id", example = "21334")
    private Long batchGongduanId;

    @Schema(description = "是否检化验,1-是，0-否")
    private Integer assayFlag;

    @Schema(description = "检化验信息")
    private MaterialCorrelationAssaySaveReqVO assayInfo;

    /*@Schema(description = "检化验样品大类")
    private Long assaySampleId;

    @Schema(description = "检化验检测项")
    private List<Long> assayItemIds;*/

    @Schema(description = "物料实例id", example = "968")
    private Long infomationId;

    @Schema(description = "影响数量", example = "15772")
    private BigDecimal influenceCount;

    @Schema(description = "合格/通过数量", example = "15772")
    private BigDecimal qualifiedCount;

    @Schema(description = "不合格/拒绝数量", example = "15772")
    private BigDecimal unqualifiedCount;

    @Schema(description = "明细操作类型,【字典】【jy_material_lifecycle_detail_bsn_type】", example = "1")
    private String businessType;

    @Schema(description = "处理状态,0未处理，1已处理", example = "2")
    private Integer treatmentStatus;

    @Schema(description = "表单数据,表单数据")
    private String formData;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    private String remark;

}