1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package cn.flightfeather.supervision.lightshare.vo
 
import cn.flightfeather.supervision.common.utils.Constant
import cn.flightfeather.supervision.domain.ds1.entity.MonitorDeviceInfo
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.beans.BeanUtils
 
/**
 *
 * @date 2024/8/13
 * @author feiyu02
 */
@ApiModel(value = "监控设备信息")
class MonitorDeviceInfoVo : MonitorDeviceInfo {
    constructor():super()
    constructor(obj: MonitorDeviceInfo){
        BeanUtils.copyProperties(obj, this)
        this.sceneType = Constant.SceneType.getByValue(this.diSceneTypeId.toString()).text
        this.type
    }
 
    // 场景类型
    @ApiModelProperty(value = "场景类型")
    var sceneType: String? = null
    // 设备类型
    @ApiModelProperty(value = "设备类型")
    var type: String? = null
    // 设备子类型
    @ApiModelProperty(value = "设备子类型")
    var subType: String? = null
    // 运维频次
    @ApiModelProperty(value = "运维频次")
    var maintainFrequency: String? = null
    // 运行状态
    @ApiModelProperty(value = "运行状态")
    var runningStatus: String? = null
    // 所有权
    @ApiModelProperty(value = "所有权")
    var ownership: String? = null
}