package cn.iocoder.yudao.module.pms.controller.admin.inspect.route.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 IotInspectRouteSaveReqVO {

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

    @Schema(description = "路线名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "路线名称不能为空")
    private String routeName;

    @Schema(description = "设备分类", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "设备分类不能为空")
    private Long deviceClassify;

    @Schema(description = "设备id", example = "6972")
    private Long deviceId;

    @Schema(description = "设备分类名称", example = "李四")
    private String deviceClassifyName;

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

    @Schema(description = "巡检项", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "巡检项不能为空")
    private String itemJson;

    @Schema(description = "备注", example = "随便")
    private String remark;

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

    @Schema(description = "资产编码")
    private String deviceCode;

    @Schema(description = "路线描述")
    private String routeDesc;

    private Long brand;
    private String brandName;
}
