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

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

import java.util.List;

/**
 * @author 刘碧清
 * @date 2021/04/26 10:34
 */
@Data
@TableName("pmg_bat_park_floor_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "楼层信息对象", description = "楼层信息表")
public class PmgBatParkFloorInfo extends TenantEntity {
    /**
     * 楼栋id
     */
    @ApiModelProperty(value = "楼栋id")
    private Long buildingId;
    /**
     * 楼层号
     */
    @ApiModelProperty(value = "楼层号")
    private String floorNum;
    /**
     * 楼层名称
     */
    @ApiModelProperty(value = "楼层名称")
    private String floorName;

    @ApiModelProperty(name = "lMark", value = "楼层唯一标识")
    private String lMark;

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

    @TableField(exist = false)
    @ApiModelProperty(value = "房间基本信息")
    private List<PmgbatParkRoomVo> list;


}
