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

    @Schema(description = "指派单ID", example = "21102")
    private Long businessAssayTaskId;
    
    @Schema(description = "检测任务ID", example = "16505")
    private Long businessAssayTaskDataId;

    @Schema(description = "样品id", example = "9299")
    private Long sampleId;

    @Schema(description = "指派编号")
    private String taskNo;

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

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

    @Schema(description = "杯号")
    private String cupNumber;

    @Schema(description = "数据来源类型,【字典】【jy_assay_task_data_source_type】正常，筛上，筛下", example = "1")
    private String dataSourceType;

    @Schema(description = "排序号")
    private Integer sortNo;

    @Schema(description = "任务退回状态,【字典】【jy_assay_task_rollback_status】默认；审批中；已审批（已退回）；取消退回", example = "1")
    private String rollbackStatus;

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

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

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

}