package com.zt.plat.module.qms.resource.device.controller.vo;

import com.zt.plat.module.qms.core.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 设备-检定校准计划 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceCalibrationPlanRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "4957")
    @ExcelProperty("主键")
    private Long id;

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

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

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

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

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

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

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

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

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

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

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

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

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}