package cn.iocoder.yudao.module.pms.controller.admin.iotopeationfill.vo;

import cn.hutool.core.date.DateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

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

@Schema(description = "管理后台 - 运行记录填报 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotOpeationFillRespVO {

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

    private Long deviceCategoryId;

    @Schema(description = "资产编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("资产编号")
    private String deviceCode;

    @Schema(description = "设备名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("设备名称")
    private String deviceName;

    @Schema(description = "填写内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("填写内容")
    private String fillContent;

    @Schema(description = "设备类别", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("设备类别")
    private String deviceType;

    @Schema(description = "设备部件", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("设备部件")
    private String deviceComponent;

    @Schema(description = "公司id", example = "17048")
    @ExcelProperty("公司id")
    private Long deptId;

    @Schema(description = "所属组织", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("所属组织")
    private String orgName;

    @Schema(description = "项目部id", example = "2565")
    @ExcelProperty("项目部id")
    private Long proId;

    @Schema(description = "所属项目部", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("所属项目部")
    private String proName;

    @Schema(description = "小队id", example = "26084")
    @ExcelProperty("小队id")
    private Long teamId;

    @Schema(description = "所属小队", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("所属小队")
    private String teamName;

    @Schema(description = "设备负责人", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("设备负责人")
    private String dutyName;

    @Schema(description = "填写日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("填写日期")
    private LocalDateTime creDate;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate createTime;

    private Integer userId;

    private Integer isFill;

    private Long orderId;

    private Integer deviceId;
    private int isReport;
}