package com.yuchen.saas.park.api.entity.elevator;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * <p>
 * 梯控-告警
 * </p>
 *
 * @author baichaojie
 * @since 2024-06-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_park_elevator_monitor_alarm_records")
@ApiModel(value="SaasParkElevatorMonitorAlarmRecords对象", description="梯控-告警")
public class SaasParkElevatorMonitorAlarmRecords extends BaseEntity {

    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerManageId", value = "客户id")
    private Long customerManageId;
    /**
     * 所属客户
     */
    @ApiModelProperty(name = "customerManageName", value = "所属客户")
    private String customerManageName;
    /**
     * 项目id
     */
    @ApiModelProperty(name = "parkId", value = "项目id")
    private Long parkId;
    /**
     * 告警名称
     */
    @ApiModelProperty(name = "alarmName", value = "告警名称")
    private String alarmName;
    /**
     * 告警时间
     */
    @ApiModelProperty(name = "alarmTime", value = "告警时间")
    private Date alarmTime;
    /**
     * 告警等级
     */
    @ApiModelProperty(name = "alarmLevel", value = "告警等级")
    private Long alarmLevel;
    /**
     * 告警状态
     */
    @ApiModelProperty(name = "alarmStatus", value = "告警状态")
    private Integer alarmStatus;
    /**
     * 告警内容
     */
    @ApiModelProperty(name = "alarmContent", value = "告警内容")
    private String alarmContent;
    /**
     * 告警照片/视频
     */
    @ApiModelProperty(name = "path", value = "告警照片/视频")
    private String path;
    /**
     * 客户(组织)
     */
    @ApiModelProperty(name = "orgId", value = "客户(组织)")
    private Long orgId;
    /**
     * 关闭时间
     */
    @ApiModelProperty(name = "closeTime", value = "关闭时间")
    private Date closeTime;
    /**
     * 关闭人员
     */
    @ApiModelProperty(name = "closeUserId", value = "关闭人员")
    private Long closeUserId;
    /**
     * 关闭人员姓名
     */
    @ApiModelProperty(name = "closeUserName", value = "关闭人员姓名")
    private String closeUserName;
    /**
     * 告警设备id
     */
    @ApiModelProperty(name = "deviceId", value = "告警设备id")
    private Long deviceId;
    /**
     * 告警设备名称
     */
    @ApiModelProperty(name = "deviceName", value = "告警设备名称")
    private String deviceName;
    /**
     * 设备标识
     */
    @ApiModelProperty(name = "deviceKey", value = "设备标识")
    private String deviceKey;
    /**
     * 告警位置名称
     */
    @ApiModelProperty(name = "spatialPosition", value = "告警位置名称")
    private String spatialPosition;
    /**
     * 关联工单id
     */
    @ApiModelProperty(name = "relativeWorkOrderId", value = "关联工单id")
    private Long relativeWorkOrderId;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    /**
     * org创建人
     */
    @ApiModelProperty(name = "createOrgUser", value = "org创建人")
    private Long createOrgUser;
    /**
     * org修改人
     */
    @ApiModelProperty(name = "updateOrgUser", value = "org修改人")
    private Long updateOrgUser;
    /**
     * 告警id
     */
    @ApiModelProperty(name = "alarmId", value = "告警id")
    private Long alarmId;
    /**
     * 告警等级名称
     */
    @ApiModelProperty(name = "alarmLevelName", value = "告警等级名称")
    private String alarmLevelName;
    /**
     * 设备地址
     */
    @ApiModelProperty(name = "location", value = "设备地址")
    private String location;
    /**
     * 管理区ids（逗号拼接）
     */
    @ApiModelProperty(name = "manageAreaIds", value = "管理区ids（逗号拼接）")
    private String manageAreaIds;
    /**
     * 管理区名称
     */
    @ApiModelProperty(name = "manageAreaNames", value = "管理区名称")
    private String manageAreaNames;
    /**
     * 关联主表id
     */
    @ApiModelProperty(name = "relativeAlarmId", value = "关联主表id")
    private Long relativeAlarmId;

    /**
     * 楼栋id
     */
    @ApiModelProperty(name = "builtdingId", value = "楼栋id")
    private Long buildingId;

    /**
     * 单元id
     */
    @ApiModelProperty(name = "unitId", value = "单元id")
    private Long unitId;

    /**
     * 楼层
     */
    @ApiModelProperty(name = "floor", value = "楼层")
    private String floor;



}
