/*
 *      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.community.elevator.elevator.entity;

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

/**
 * 云梯-电梯信息实体类
 *
 * @author BladeX
 * @since 2021-02-04
 */
@Data
@TableName("yt_elevator")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Elevator对象", description = "云梯-电梯信息")
public class Elevator extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 电梯注册编码
	*/
		@ApiModelProperty(value = "电梯注册编码")
		private String registerCode;
	/**
	* 电梯名称
	*/
		@ApiModelProperty(value = "电梯名称")
		private String liftName;
	/**
	* 省编码
	*/
		@ApiModelProperty(value = "省编码")
		private String provinceCode;
	/**
	* 市编码
	*/
		@ApiModelProperty(value = "市编码")
		private String cityCode;
	/**
	* 区编码
	*/
		@ApiModelProperty(value = "区编码")
		private String townCode;
	/**
	* 街道编码
	*/
		@ApiModelProperty(value = "街道编码")
		private String streetCode;
	/**
	* 小区名称
	*/
		@ApiModelProperty(value = "小区名称")
		private String nbhdName;
	/**
	* 楼层数
	*/
		@ApiModelProperty(value = "楼层数")
		private Integer floorNum;
	/**
	* 楼号
	*/
		@ApiModelProperty(value = "楼号")
		private String floorNo;
	/**
	* 单元号
	*/
		@ApiModelProperty(value = "单元号")
		private String partNo;
	/**
	* 梯号
	*/
		@ApiModelProperty(value = "梯号")
		private String elevatorNo;
	/**
	* 云梯状态{10：云梯处于未上线，安装调试状态，20：云梯处于已上线，正常状态，30：云梯处于故障，维护状态}
	*/
		@ApiModelProperty(value = "云梯状态{10：云梯处于未上线，安装调试状态，20：云梯处于已上线，正常状态，30：云梯处于故障，维护状态}")
		private String ytStatus;
	/**
	* 在离线状态{0：离线，1：在线}
	*/
		@ApiModelProperty(value = "在离线状态{0：离线，1：在线}")
		private String onlineStatus;
		@ApiModelProperty(value = "在离线状态{0：离线，1：在线}")
		private String onlineStatusName;

		@ApiModelProperty(value = "内部小区id")
		private Long residentialId;

		@ApiModelProperty(value = "内部小区名称")
		private String residentialName;

		@ApiModelProperty(value = "内部小区名称")
		private String orgPosition;
		@ApiModelProperty(value = "租户id")
		private String tenantId;

	@ApiModelProperty(value = "集约平台id")
	private  String inhabitantId;


}
