package com.panzhihua.service_community.model.dos;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import lombok.Data;
|
|
/**
|
* @auther lyq
|
* @create 2021-05-18 09:26:31
|
* @describe 社区管理》小区管理》实有房屋实体类
|
*/
|
|
@Data
|
@TableName("com_mng_population_house")
|
public class ComMngPopulationHouseDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private Long id;
|
|
/**
|
* 房屋地址
|
*/
|
private String address;
|
|
/**
|
* 房屋编号
|
*/
|
private String code;
|
|
/**
|
* 社区id
|
*/
|
private Long communityId;
|
|
/**
|
* 街路巷id
|
*/
|
private String alley;
|
|
/**
|
* 门牌号
|
*/
|
private String houseNum;
|
|
/**
|
* 楼排号
|
*/
|
private String floor;
|
/**
|
* 单元号
|
*/
|
private String unitNo;
|
/**
|
* 户室(房间号)
|
*/
|
private String houseNo;
|
|
/**
|
* 房屋状态(1.自住 2.租住 3.空置 4.其他)
|
*/
|
private Integer status;
|
|
/**
|
* 房屋用途(1.住宅 2.公寓 3.宿舍 4.仓库 5.其他)
|
*/
|
private Integer purpose;
|
|
/**
|
* 管控状态(1.常规 2.关注 3.管控)
|
*/
|
private Integer controlStatus;
|
|
/**
|
* 空户(1.是 2.否)
|
*/
|
private Integer isEmpty;
|
|
/**
|
* 建筑用途
|
*/
|
private String constructPurpose;
|
|
/**
|
* 建筑面积
|
*/
|
private BigDecimal constructArea;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Date createAt;
|
|
/**
|
* 修改时间
|
*/
|
@TableField(fill = FieldFill.UPDATE)
|
private Date updateAt;
|
|
/**
|
* 小区id
|
*/
|
private Long villageId;
|
|
/**
|
* 街道id
|
*
|
* @return
|
*/
|
private Long streetId;
|
|
/**
|
* 层次递归字段(省>市>区县>街道>社区>小区>详细地址)
|
*/
|
private String path;
|
|
/**
|
* 楼层数
|
*/
|
private Integer floorNum;
|
|
@Override
|
public String toString() {
|
return "ComMngPopulationHouseDO{" + "id=" + id + ", streetId=" + streetId + ", address=" + address + ", code="
|
+ code + ", alley=" + alley + ", houseNum=" + houseNum + ", status=" + status + ", purpose=" + purpose
|
+ ", controlStatus=" + controlStatus + ", isEmpty=" + isEmpty + ", constructPurpose=" + constructPurpose
|
+ ", constructArea=" + constructArea + ", path=" + path + ", createAt=" + createAt + ", updateAt="
|
+ updateAt + "}";
|
}
|
|
/**
|
* 房屋状态(1.自住 2.租住 3.空置 4.其他)
|
*/
|
public interface status{
|
int zizhu = 1;
|
int zuzhu = 2;
|
int kongzhi = 3;
|
int qita = 4;
|
}
|
}
|