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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
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 BusinessSubParentSamplePageReqVO extends PageParam {

    @Schema(description = "样品ID", example = "28356")
    private Long sampleId;

    @Schema(description = "样品主样ID", example = "26456")
    private Long businessBaseSampleId;

    @Schema(description = "分样配置ID", example = "13475")
    private Long configSubSampleParentId;

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

    @Schema(description = "样品编号")
    private String sampleCode;

    @Schema(description = "样品名称", example = "张三")
    private String sampleName;

    @Schema(description = "子样样品编号")
    private String subSampleCode;

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

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

    @Schema(description = "上报时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] reportTime;

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

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

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

    @Schema(description = "是否启用,1-启用，0-不启用")
    private Integer isEnabled;

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

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

    @Schema(description = "乐观锁", example = "21148")
    private Integer updateCount;

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

}