package cn.iocoder.yudao.module.iot.controller.admin.deviceattributetype.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 DeviceAttributeTypeSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23550")
    private Long id;

    @Schema(description = "分类编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "分类编码不能为空")
    private String code;

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

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


    @Schema(description = "排序",example = "2")
    private int sort;

}