package com.ruoyi.web.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 房屋信息视图类
 *
 * @TableName house_info
 */
@Data
@ApiModel(value = "HouseInfoVO", description = "房屋信息视图")
public class HouseInfoVO implements Serializable {
    /**
     * 房屋ID
     */
    @ApiModelProperty(value = "ID")
    private Long id;

    /**
     * 房屋编号(如FW0000580689)
     */
    @ApiModelProperty(value = "房屋编号")
    private String houseCode;

    /**
     * 门牌号
     */
    @ApiModelProperty(value = "门牌号")
    private String doorplateNumber;

    /**
     * 房屋地址
     */
    @ApiModelProperty(value = "房屋地址")
    private String houseAddress;

    /**
     * 房主人员信息(姓名/身份证号/电话)
     */
    @ApiModelProperty(value = "房主人员信息(姓名/身份证号/电话)")
    private PersonInfoVO houseOwnerInfo;

    /**
     * 总积分
     */
    @ApiModelProperty(value = "总积分")
    private BigDecimal totalPoints;

    /**
     * 剩余积分
     */
    @ApiModelProperty(value = "剩余积分")
    private BigDecimal remainingPoints;

    /**
     * 房屋类别:1-修缮,2-原址重建,3-集中安置
     */
    @ApiModelProperty(value = "房屋类别:1-修缮,2-原址重建,3-集中安置")
    private String houseCategory;

    /**
     * 宅基地面积(㎡)
     */
    @ApiModelProperty(value = "宅基地面积(㎡)")
    private BigDecimal buildingArea;

    /**
     * 所属网格
     */
    @ApiModelProperty(value = "所属网格")
    private String grid;

    /**
     * 成员数量
     */
    @ApiModelProperty(value = "成员数量")
    private Integer memberCount;

    /**
     * 照片URL
     */
    @ApiModelProperty(value = "照片URL")
    private String photoUrl;

    /**
     * 家庭标签(JSON数组)
     */
    @ApiModelProperty(value = "家庭标签")
    private String houseTags;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    private String geoData;

    private static final long serialVersionUID = 1L;
}