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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 基地维修记录新增/修改 Request VO")
@Data
public class IotJdRecordSaveReqVO {

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

    @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED, example = "5588")
//    @NotNull(message = "设备id不能为空")
    private Long deviceId;

    @Schema(description = "维修id")
    private Long repairId;

    @Schema(description = "维修日期时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "维修日期时间不能为空")
    private LocalDateTime repairTime;

    @Schema(description = "维修内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "维修内容不能为空")
    private String repairContent;

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

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

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

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

    @Schema(description = "配合维修人员")
    private String repairPerson;
    @Schema(description = "配合维修人员")
    private String repairPersonName;
}
