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;

@Schema(description = "管理后台 - 设备负责人分配新增/修改 Request VO")
@Data
public class IotDevicePersonSaveReqVO {

    @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 Long personId;

    @Schema(description = "开启状态 0启用  1停用", example = "1")
    private Integer status;

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

}