package com.huiju.estateagents.property.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 小区楼层资料表
 * </p>
 *
 * @author jobob
 * @since 2019-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tp_level")
public class TpLevel implements Serializable {

    private static final long serialVersionUID = 1L;
    
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer orgId;

    /**
     * 小区ID
     */
    private Integer communityId;

    /**
     * 期区ID
     */
    private Integer phaseId;

    /**
     * 期区名称
     */
    private String phaseName;

    /**
     * 楼栋ID
     */
    private Integer buildingId;

    /**
     * 楼栋名称
     */
    private String buildingName;

    /**
     * 单元ID
     */
    private Integer unitId;

    /**
     * 单元名称
     */
    private String unitName;

    /**
     * 楼层名称
     */
    private String name;
    
    /**
     * 创建时间
     */
    private LocalDateTime createDate;
}
