package cn.iocoder.yudao.module.pms.controller.admin.iotdeviceperson.vo;

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

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

@Schema(description = "管理后台 - 设备负责人关联关系 Request VO")
@Data
public class IotDevicePersonRelationSaveReqVO {

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

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

    @Schema(description = "负责人id 集合", example = "4801")
    private List<Long> userIds;

    @Schema(description = "设备状态", example = "sg")
    private String status;

    @Schema(description = "原因", example = "随便")
    private String reason;

    @Schema(description = "负责人姓名 集合", example = "张三,李四")
    private String userNames;
}