package cn.iocoder.yudao.module.pms.controller.admin.devicegroup;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - PMS成套新增/修改 Request VO")
@Data
public class IotDeviceGroupSaveReqVO {

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

    @Schema(description = "成套名称", example = "赵六")
    private String name;

    @Schema(description = "成套编码")
    private String code;

    @Schema(description = "描述", example = "你说的对")
    private String remark;

    @Schema(description = "部门id", requiredMode = Schema.RequiredMode.REQUIRED, example = "646")
    @NotNull(message = "部门id不能为空")
    private Long deptId;
    private String type;

    private List<IotDeviceGroupDetailSaveReqVO> details;
}
