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

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.tenant.mp.TenantEntity;

import java.util.Date;

/**
 * <p>
 * 楼栋信息表
 * </p>
 *
 * @author yuanzhelin
 * @since 2024-10-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pmg_bat_dwelling")
@ApiModel(value="PmgBatDwelling对象", description="楼栋信息表")
public class PmgBatDwelling extends TenantEntity {

    /**
     * 项目ID
     */
    @ApiModelProperty(name = "projectId", value = "项目ID")
    private Long projectId;
    /**
     * 楼栋名称
     */
    @ApiModelProperty(name = "dwellingName", value = "楼栋名称")
    private String dwellingName;
    /**
     * 楼栋编号
     */
    @ApiModelProperty(name = "dwellingCode", value = "楼栋编号")
    private String dwellingCode;
    /**
     * 开盘日期
     */
    @ApiModelProperty(name = "openingDate", value = "开盘日期")
    private Date openingDate;
    /**
     * 交房日期
     */
    @ApiModelProperty(name = "handoverDate", value = "交房日期")
    private Date handoverDate;
    /**
     * 单元数
     */
    @ApiModelProperty(name = "unitCount", value = "单元数")
    private Integer unitCount;
    /**
     * 户数
     */
    @ApiModelProperty(name = "householdCount", value = "户数")
    private String householdCount;
    /**
     * 建筑类型
     */
    @ApiModelProperty(name = "dwellingType", value = "建筑类型")
    private String dwellingType;
    /**
     * 预售证
     */
    @ApiModelProperty(name = "preSaleLicense", value = "预售证")
    private String preSaleLicense;
    /**
     * 发证时间
     */
    @ApiModelProperty(name = "issuanceDate", value = "发证时间")
    private Date issuanceDate;



}
