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

import lombok.*;
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 IotInspectPlanPageReqVO 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 = "21365")
    private Long deptId;

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

    private String chargeName;
}
