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 org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * <p>
 * 梯控-电梯监测-运行状态
 * </p>
 *
 * @author baichaojie
 * @since 2024-06-21
 */
@Data
@Accessors(chain = true)
@TableName("saas_park_elevator_monitor_running_state")
@ApiModel(value="SaasParkElevatorMonitorRunningState对象", description="梯控-电梯监测-运行状态")
public class SaasParkElevatorMonitorRunningStateEntity extends BaseEntity {

    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;
    /**
     * 项目id
     */
    @ApiModelProperty(name = "parkId", value = "项目id")
    private Long parkId;
    /**
     * 单元id
     */
    @ApiModelProperty(name = "unitId", value = "单元id")
    private Long unitId;
    /**
     * 楼栋id
     */
    @ApiModelProperty(name = "buildingId", value = "楼栋id")
    private Long buildingId;
    /**
     * 点位id
     */
    @ApiModelProperty(name = "positionId", value = "点位id")
    private Long positionId;
    /**
     * 电梯id(主设备id)
     */
    @ApiModelProperty(name = "elevatorId", value = "电梯id(主设备id)")
    private Long elevatorId;
    /**
     * 电梯id(模块id)
     */
    @ApiModelProperty(name = "elevatorMokuaiId", value = "电梯id(模块id)")
    private Long elevatorMokuaiId;
    /**
     * 设备位置
     */
    @ApiModelProperty(name = "devicePosition", value = "设备位置")
    private String devicePosition;
    /**
     * 所在楼层
     */
    @ApiModelProperty(name = "nowFloor", value = "所在楼层")
    private Integer nowFloor;
    /**
     * 目标楼层
     */
    @ApiModelProperty(name = "targetFloor", value = "目标楼层")
    private Integer targetFloor;
    /**
     * 运行状态（1上行、-1下行、0停止）
     */
    @ApiModelProperty(name = "runningDirection", value = "运行状态（1上行、-1下行、0停止）")
    private Integer runningDirection;
    /**
     * 设备故障状态(0异常、1正常)
     */
    @ApiModelProperty(name = "errorStatus", value = "设备故障状态(0异常、1正常)")
    private Integer errorStatus;
    /**
     * 开门状态(0关、1开)
     */
    @ApiModelProperty(name = "openStatus", value = "开门状态(0关、1开)")
    private Integer openStatus;
    /**
     * 维修状态(0异常、1正常)
     */
    @ApiModelProperty(name = "repairStatus", value = "维修状态(0异常、1正常)")
    private Integer repairStatus;
    /**
     * 联网状态(1在线、0离线)
     */
    @ApiModelProperty(name = "isOnline", value = "联网状态(1在线、0离线)")
    private Integer isOnline;
    /**
     * 备注
     */
    @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;



}
