package cn.iocoder.yudao.module.pms.controller.admin.maintain.record.vo;

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

    @Schema(description = "设备id", example = "5588")
    private Long deviceId;
    @Schema(description = "维修工单id")
    private Long repairId;

    @Schema(description = "维修日期时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] repairTime;

    @Schema(description = "维修内容")
    private String repairContent;

    @Schema(description = "图片")
    private String pic;

    @Schema(description = "解决办法")
    private String solution;

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

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

    @Schema(description = "设备名称", example = "芋艿")
    private String deviceName;

    @Schema(description = "维修项")
    private String repairItem;
}
