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

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 物料检测标准来样品位配置分页 Request VO")
@Data
public class MaterialAssayStandardForecastProjectReqVO {

    @Schema(description = "物料检测标准ID", example = "28807")
    private Long materialAssayStandardId;

    @Schema(description = "检测项目ID", example = "16539")
    private Long dictionaryProjectId;

    @Schema(description = "检测项目编码")
    private String dictionaryProjectCode;

    @Schema(description = "检测结果单位ID", example = "11072")
    private Long unitId;

    @Schema(description = "检测结果单位")
    private String unit;

    @Schema(description = "数据类型,【字典】【jy_sample_data_type】字符串，整数，小数,日期，时间", example = "1")
    private String dataType;

    @Schema(description = "小数位")
    private Integer decimalPosition;

    @Schema(description = "是否必填,委托时是否必填；1-是，0-否")
    private Integer isDefault;

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

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


    //=================样品大类属性====================
    @Schema(description = "样品大类ID", example = "1394")
    private Long baseSampleId;
}