package cn.iocoder.yudao.module.mes.controller.admin.zjtask.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 质量管理-检验任务分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ZjTaskPageReqVO extends PageParam {

    @Schema(description = "单号")
    private String code;

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

    @Schema(description = "质检分类", example = "2")
    private String type;

    @Schema(description = "检验方案id", example = "3630")
    private Long schemaId;

    @Schema(description = "检验方案名称", example = "赵六")
    private String schemaName;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "工单")
    private String ticket;

    @Schema(description = "工序", example = "1")
    private String orgType;

    @Schema(description = "负责人id", example = "6442")
    private Long managerId;

    @Schema(description = "负责人名称", example = "张三")
    private String managerName;

    @Schema(description = "执行人id", example = "10505")
    private Long executorId;

    @Schema(description = "执行人名称", example = "王五")
    private String executorName;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "结果")
    private String result;

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

    @Schema(description = "执行时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] executeTime;

    @Schema(description = "ids集合导出用")
    private String ids;

    @Schema(description = "取消原因")
    private String cancelReason;

}