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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 巡检工单巡检明细新增/修改 Request VO")
@Data
public class IotInspectOrderDetailSaveReqVO {

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

    @Schema(description = "工单id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9096")
    @NotNull(message = "工单id不能为空")
    private Long orderId;

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

    @Schema(description = "巡检项id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14105")
    @NotNull(message = "巡检项id不能为空")
    private Long itemId;

    @Schema(description = "是否正常", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否正常不能为空")
    private Boolean ifNormal;

    @Schema(description = "异常描述", example = "你猜")
    private String description;

    @Schema(description = "图片", example = "https://www.iocoder.cn")
    private String picUrl;

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

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

}
