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 BusinessSampleEntrustUnStandardProjectPageReqVO extends PageParam {

    @Schema(description = "委托登记样品明细ID", example = "6940")
    private Long businessSampleEntrustDetailId;

    @Schema(description = "分析部门ID", example = "18509")
    private Long assayDepartmentId;

    @Schema(description = "分析部门名称", example = "赵六")
    private String assayDepartmentName;

    @Schema(description = "分样子样ID", example = "30545")
    private Long businessSubSampleId;

    @Schema(description = "检测任务ID", example = "978")
    private Long businessAssayTaskDataId;

    @Schema(description = "检测方法配置ID", example = "14672")
    private Long configAssayMethodId;

    @Schema(description = "检测方法分析项目配置ID", example = "7934")
    private Long configAssayMethodProjectId;

    @Schema(description = "任务数", example = "15264")
    private Integer taskCount;

    @Schema(description = "是否已分配任务")
    private Integer isAssignTasked;

    @Schema(description = "检测项目ID,字典表：【T_DIC_PRJ】", example = "17192")
    private Long dictionaryProjectId;

    @Schema(description = "用途,ingredient-配料、report-报出、ingredient_report-配料及报出")
    private String usage;

    @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 = "14203")
    private Integer updateCount;

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

    //=======扩展字段

    @Schema(description = "样品流程节点时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] sampleFlowNodeTime;
    
    @Schema(description = "检测项目字典id列表")
    private List<Long> dictionaryProjectIdList;

    @Schema(description = "收样时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] sampleReceiveTime;

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

    @Schema(description = "分析编号")
    private String sampleAssayCode;

    @Schema(description = "归库编号")
    private String sampleReturnCode;

    @Schema(description = "样品状态")
    private String sampleStatus;
}