package com.zt.plat.module.qms.business.bus.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import com.zt.plat.module.qms.core.aspect.annotation.Dict;

@Schema(description = "管理后台 - 委检登记分析部门样品明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BusinessSampleEntrustDepartmentDetailRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "304")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "检验委托登记ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24581")
    @ExcelProperty("检验委托登记ID")
    private Long businessSampleEntrustRegistrationId;

    @Schema(description = "委检登记分析部门业务ID", example = "14151")
    @ExcelProperty("委检登记分析部门业务ID")
    private Long businessSampleEntrustDepartmentId;

    @Schema(description = "主样业务ID", example = "11395")
    @ExcelProperty("主样业务ID")
    private Long businessBaseSampleId;

    @Schema(description = "样品大类ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24368")
    @ExcelProperty("样品大类ID")
    private Long baseSampleId;

    @Schema(description = "样品类型ID,字典表：【T_DIC_SMP_TP】西南铜委托样、商检委托样、内部委托样、抽查委托样、内审委托样等", requiredMode = Schema.RequiredMode.REQUIRED, example = "30799")
    @ExcelProperty("样品类型ID,字典表：【T_DIC_SMP_TP】西南铜委托样、商检委托样、内部委托样、抽查委托样、内审委托样等")
    private Long sampleTypeDictionaryBusinessId;

    @Schema(description = "样品名称", example = "张三")
    @ExcelProperty("样品名称")
    private String sampleName;

    @Schema(description = "样品编号")
    @ExcelProperty("样品编号")
    private String sampleCode;

    @Schema(description = "委托样品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("委托样品名称")
    private String entrustSampleName;

    @Schema(description = "委托样品编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("委托样品编号")
    private String entrustSampleCode;

    @Schema(description = "检测项目", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("检测项目")
    private String assayProject;

    @Dict(dicCode = "entrust_assay_status")
    @Schema(description = "检验状态,unchecked-未检验；checked-已检验", example = "2")
    @ExcelProperty("检验状态,unchecked-未检验；checked-已检验")
    private String assayStatus;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序")
    private Integer sort;

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

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "乐观锁", requiredMode = Schema.RequiredMode.REQUIRED, example = "25815")
    @ExcelProperty("乐观锁")
    private Integer updateCount;

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


}