package com.zt.plat.module.qms.business.config.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 ConfigBaseSampleRespVO {

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

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

    @Schema(description = "父级ID", example = "25043")
    @ExcelProperty("父级ID")
    private Long parentId;

    @Schema(description = "编码规则", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编码规则")
    private String codeRule;

    @Schema(description = "样品流程Key", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("样品流程Key")
    private String flowKey;

    @Schema(description = "样品标签打印模版", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("样品标签打印模版")
    private String printTemplate;

    @Schema(description = "样品标签打印份数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("样品标签打印份数")
    private byte[] codePrintQuantity;

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

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

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

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

    @Schema(description = "版本", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("版本")
    private Integer version;

}