/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.device.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-04-19
 */
@Data
@TableName("smart_elevator_alarm")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ElevatorAlarm对象", description = "ElevatorAlarm对象")
public class ElevatorAlarm extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 告警编号
	*/
		@ApiModelProperty(value = "告警编号")
		private String alarmCode;
	/**
	* 电梯注册编码
	*/
		@ApiModelProperty(value = "电梯注册编码")
		private String registerCode;
	/**
	* 告警具体类型
	*/
		@ApiModelProperty(value = "告警具体类型")
		private String alarmType;
	/**
	* 告警状态{1：告警中，6：自动结束，7：超期结束，8：自动处理}
	*/
		@ApiModelProperty(value = "告警状态{1：告警中，6：自动结束，7：超期结束，8：自动处理}")
		private Integer alarmStatus;
	/**
	* 告警时间
	*/
		@ApiModelProperty(value = "告警时间")
		private LocalDateTime alarmTime;
	/**
	* 告警结束时间
	*/
		@ApiModelProperty(value = "告警结束时间")
		private LocalDateTime alarmEndTime;
	/**
	* 告警大类{9000001:报警 ,9000002:故障, 9000004:事件}
	*/
		@ApiModelProperty(value = "告警大类{9000001:报警 ,9000002:故障, 9000004:事件}")
		private String standardType;
	/**
	* 云梯告警状态{20：正常，40：演示，50：测试}
	*/
		@ApiModelProperty(value = "云梯告警状态{20：正常，40：演示，50：测试}")
		private String ytStatus;
	/**
	* 路径
	*/
		@ApiModelProperty(value = "路径")
		private String orgPosition;
	/**
	* 小区id
	*/
		@ApiModelProperty(value = "小区id")
		private Long residentialId;
	/**
	* 小区名称
	*/
		@ApiModelProperty(value = "小区名称")
		private String residentialName;

	/**
	* 小区名称
	*/
		@ApiModelProperty(value = "租户id")
		private String tenantId;


}
