package com.zksy.manhole.dto.out;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备状态详情-出参
 *
 * @author xianggx
 */
@Data
@ApiModel(value = "设备状态详情-出参", description = "设备状态详情-出参")
public class EquipmentStatusOutDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "运维状态：1-在用，2-闲置，3-维修，4-报废，5-待入库")
    private Integer currentStatus;

    @ApiModelProperty(value = "报警状态（0-正常，1-报警）")
    private Integer alarmStatus;

    @ApiModelProperty(value = "在线状态（0-离线，1-在线）")
    private Integer onlineStatus;

    @ApiModelProperty(value = "状态更新时间")
    @JsonFormat(locale = "zh",pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date statusUpdateTime;
}
