package com.zt.plat.module.qms.resource.device.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 DeviceCalibrationPlanPageReqVO extends PageParam {

    @Schema(description = "汇总计划id", example = "11537")
    private Long productId;

    @Schema(description = "年度")
    private String checkYear;

    @Schema(description = "申请人", example = "赵六")
    private String applyUserName;

    @Schema(description = "流程实例id", example = "24442")
    private String flowInstanceId;

    @Schema(description = "审批状态", example = "2")
    private String flowStatus;

    @Schema(description = "申请标题")
    private String title;

    @Schema(description = "班组提交标识：1-已提交")
    private Integer basicSubmitFlag;

    @Schema(description = "退回意见")
    private String rollbackRemark;

    @Schema(description = "数据类型：班组/汇总", example = "1")
    private String dataType;

    @Schema(description = "作废标识：0-有效；1-作废")
    private String cancelFlag;

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

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

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

}