package cn.iocoder.yudao.module.pms.controller.admin.inspect.plan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 巡检计划 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotInspectPlanRespVO {

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

    @Schema(description = "巡检计划标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("巡检计划标题")
    private String planTitle;

    @Schema(description = "巡检计划编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("巡检计划编号")
    private String planCode;

    @Schema(description = "周期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("周期")
    private BigDecimal planCycle;

    @Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("单位")
    private String planUnit;

    @Schema(description = "负责人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("负责人")
    private String charge;

    @Schema(description = "设备", requiredMode = Schema.RequiredMode.REQUIRED)
//    @ExcelProperty("设备")
    private String deviceIds;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

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

    @Schema(description = "部门id", example = "21365")
    private Long deptId;

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

    private String chargeName;

    @Schema(description = "开始执行时间")
    private String beginCreateTime;

    @Schema(description = "开始执行时间")
    private String lastCreateTime;

    private List<String> charges;

    private String createName;
    @ExcelProperty("所在部门")
    private String deptName;
}
