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.*;

@Schema(description = "管理后台 - 主样业务 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BusinessBaseSampleRespVO {

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

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

    @Schema(description = "样品大类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("样品大类名称")
    private String baseSampleName;

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

    @Schema(description = "主样配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3221")
    @ExcelProperty("主样配置ID")
    private Long configBaseSampleId;

    @Schema(description = "主样类型ID,字典表：【T_DIC_BSN】结算样、抽查样、委检样", requiredMode = Schema.RequiredMode.REQUIRED, example = "32376")
    @ExcelProperty("主样类型ID,字典表：【T_DIC_BSN】结算样、抽查样、委检样")
    private Long dictionaryBusinessId;

    @Schema(description = "样品生成时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("样品生成时间")
    private LocalDateTime sampleTime;

    @Schema(description = "打印次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "31445")
    @ExcelProperty("打印次数")
    private Integer printCount;

    @Schema(description = "末次打印时间")
    @ExcelProperty("末次打印时间")
    private LocalDateTime printLastTime;

    @Schema(description = "样品流程配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30581")
    @ExcelProperty("样品流程配置ID")
    private Long configSampleFlowId;

    @Schema(description = "样品流程节点KEY", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("样品流程节点KEY")
    private String sampleFlowNodeKey;

    @Schema(description = "样品流程节点时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("样品流程节点时间")
    private LocalDateTime sampleFlowNodeTime;

    @Schema(description = "样品状态,【字典】【jy_sample_status】normal-正常、isolation-隔离、void-作废", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("样品状态,【字典】【jy_sample_status】normal-正常、isolation-隔离、void-作废")
    private String sampleStatus;

    @Schema(description = "操作人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("操作人")
    private String operator;

    @Schema(description = "所属部门", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

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

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

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

}