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 BusinessSampleEntrustDepartmentRespVO {

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

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

    @Schema(description = "分析部门ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28753")
    @ExcelProperty("分析部门ID")
    private Long assayDepartmentId;

    @Schema(description = "分析部门名称", example = "赵六")
    @ExcelProperty("分析部门名称")
    private String assayDepartmentName;

    @Schema(description = "检测项目")
    @ExcelProperty("检测项目")
    private String assayProject;

    @Schema(description = "检测项目带单位")
    @ExcelProperty("检测项目带单位")
    private String assayProjectUnit;

    @Schema(description = "表单设计器模板id", example = "18483")
    @ExcelProperty("表单设计器模板id")
    private Long dataTemplateId;

    @Schema(description = "表单设计器模板key")
    @ExcelProperty("表单设计器模板key")
    private String dataTemplateKey;

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

    @Schema(description = "分析人")
    @ExcelProperty("分析人")
    private String assayOperator;

    @Schema(description = "分析人", example = "3028")
    @ExcelProperty("分析人")
    private String assayOperatorId;

    @Schema(description = "是否已上报")
    @ExcelProperty("是否已上报")
    private Integer isReported;

    @Schema(description = "上报时间")
    @ExcelProperty("上报时间")
    private LocalDateTime reportTime;

    @Schema(description = "上报人")
    @ExcelProperty("上报人")
    private String reportOperator;

    @Schema(description = "上报人ID", example = "5738")
    @ExcelProperty("上报人ID")
    private Long reportOperatorId;

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

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

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

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

}