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

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

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 设备状态调整日志新增/修改 Request VO")
@Data
public class IotDeviceStatusLogSaveReqVO {

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

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

    @Schema(description = "设备修改前状态", example = "2")
    private String oldStatus;

    @Schema(description = "设备修改后状态", example = "1")
    private String newStatus;

    @Schema(description = "设备状态调整原因", example = "不对")
    private String reason;

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

}