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

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

    @Schema(description = "样品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28356")
    @ExcelProperty("样品ID")
    private Long sampleId;

    @Schema(description = "样品主样ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26456")
    @ExcelProperty("样品主样ID")
    private Long businessBaseSampleId;

    @Schema(description = "分样配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13475")
    @ExcelProperty("分样配置ID")
    private Long configSubSampleParentId;

    @Schema(description = "分样类型ID,字典表：【T_DIC_BSN】化学样、试金样、仪器样", requiredMode = Schema.RequiredMode.REQUIRED, example = "12061")
    @ExcelProperty("分样类型ID,字典表：【T_DIC_BSN】化学样、试金样、仪器样")
    private Long dictionaryBusinessId;

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

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

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

    @Schema(description = "子样归库码")
    @ExcelProperty("子样归库码")
    private String subSampleReturnCode;

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

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

    @Schema(description = "审核流程code")
    @ExcelProperty("审核流程code")
    private String auditFlowCode;

    @Schema(description = "超差标注", example = "1")
    @ExcelProperty("超差标注")
    private String assessmentStatus;

    @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 = "是否启用,1-启用，0-不启用", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否启用,1-启用，0-不启用")
    private Integer isEnabled;

    @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 = "21148")
    @ExcelProperty("乐观锁")
    private Integer updateCount;

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

}