package com.sinata.system.domain.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* @author mitao
|
* @date 2024/12/20
|
*/
|
@Data
|
@ApiModel("监控设备数据传输对象")
|
public class MwMonitorDeviceDTO {
|
|
@ApiModelProperty("监控设备id")
|
private Long id;
|
|
@ApiModelProperty("区域id")
|
@NotNull(message = "区域id不能为空")
|
private Long departmentId;
|
|
@ApiModelProperty("设备名称")
|
@NotBlank(message = "设备名称不能为空")
|
private String deviceName;
|
|
@ApiModelProperty("监控设备编号")
|
@NotBlank(message = "监控设备编号不能为空")
|
private String deviceNumber;
|
|
@ApiModelProperty("通道号")
|
@NotNull(message = "通道号不能为空")
|
private Integer channelNumber;
|
|
@ApiModelProperty("自动关闭时间(分钟)")
|
@NotNull(message = "自动关闭时间不能为空")
|
private Integer autoShutdownTime;
|
|
@ApiModelProperty("备注信息")
|
private String remark;
|
|
}
|