package com.bs.pm.domain;

import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 楼栋信息对象 pm_building
 *
 * @author bs
 * @date 2025-10-04
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pm_building")
@Data
public class PmBuilding extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /** 项目id */

    @Excel(name = "项目id")
    @ApiModelProperty(value = "项目id")
    private Long projectId;

    /** 楼栋编号 */

    @Excel(name = "楼栋编号")
    @ApiModelProperty(value = "楼栋编号")
    private String buildingNo;

    /** 总层数 */

    @Excel(name = "总层数")
    @ApiModelProperty(value = "总层数")
    private Long totalFloors;

    /** 单元数 */

    @Excel(name = "单元数")
    @ApiModelProperty(value = "单元数")
    private Long unitCount;

    /** 楼栋类型 */

    @Excel(name = "楼栋类型")
    @ApiModelProperty(value = "楼栋类型")
    private String buildingType;




}
