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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
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 IotOperationPlanPageReqVO extends PageParam {

    @Schema(description = "巡检计划标题")
    private String planTitle;

    @Schema(description = "巡检计划编号")
    private String planCode;

    @Schema(description = "周期")
    private BigDecimal planCycle;

    @Schema(description = "单位")
    private String planUnit;

    @Schema(description = "负责人")
    private String charge;

    @Schema(description = "设备")
    private String deviceIds;

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

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

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

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

    @Schema(description = "负责人名称", example = "芋艿")
    private String chargeName;

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

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

    private int isReport;

}