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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * @author 刘碧清
 * @date 2021/04/26 09:55
 */
@Data
@TableName("pmg_bat_park_building_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "楼宇信息对象", description = "楼宇信息表")
public class PmgBatParkBuildingInfo extends TenantEntity {
    /**
     * 园区id
     */
    @ApiModelProperty(value = "园区id")
    private Long parkId;
    /**
     * 楼栋号
     */
    @ApiModelProperty(value = "楼栋号")
    private String buildingNum;
    /**
     * 楼栋名称
     */
    @ApiModelProperty(value = "楼栋名称")
    private String buildingName;
    /**
     * 楼层数
     */
    @ApiModelProperty(value = "楼层数")
    private Integer floors;
    /**
     * 去除的楼栋层
     */
    @ApiModelProperty(value = "去除的楼栋层")
    private String divisor;
    /**
     * 建筑面积(㎡)
     */
    @ApiModelProperty(value = "建筑面积(㎡)")
    private String buildingArea;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;
    /**
     * 位置信息
     */
    @ApiModelProperty(value = "位置信息")
    private String location;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 图片
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "图片")
    private String fileUrl;

    @ApiModelProperty(name = "bMark", value = "楼栋唯一标识")
    private String bMark;
}
