package cn.iocoder.yudao.module.pms.controller.admin.tdparams.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 IotTdParamsSaveReqVO {

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

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

    @Schema(description = "设备名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "设备名称不能为空")
    private String deviceName;

    @Schema(description = "油服编码")
    private String yfCode;

    @Schema(description = "历史编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "历史编码不能为空")
    private String deviceCode;

    @Schema(description = "属性标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "属性标识不能为空")
    private String identifier;

    @Schema(description = "模型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "模型名称不能为空")
    private String modelName;

    @Schema(description = "排序")
    private Long modelOrder;

}
