package com.huiju.estateagents.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.huiju.estateagents.entity.TaBuildingImg;
import com.huiju.estateagents.entity.TaBuildingPanorama;
import com.huiju.estateagents.entity.TaHousingResources;
import com.huiju.estateagents.entity.TaRaise;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Auther: gusy
 * @Date: 2020/2/11 14:26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TaHousingResourcesPO extends TaHousingResources {

    /**
     * 是否已经预选该房源，true 是 false 否
     */
    @TableField(exist = false)
    private Boolean isPreselect;

    /**
     * 预选开始时间
     */
    private LocalDateTime preselectionStartTime;

    /**
     * 预选结束时间
     */
    private LocalDateTime preselectionEndTime;

    /**
     * 销售批次状态
     */
    private Integer saleBatchStatus;

    /**
     * 户型图片列表
     */
    @TableField(exist = false)
    private List<BuildingImgPO> buildingImgList;

    /**
     * 楼盘名称
     */
    @TableField(exist = false)
    private String buildingName;

    /**
     * 我的预选
     */
    @TableField(exist = false)
    private String minePreselection;

    /**
     * 我的认筹
     */
    @TableField(exist = false)
    private String mineRaise;

    /**
     * 锁定人ID
     */
    @TableField(exist = false)
    private String lockingPersonId;

    /**
     * 锁定人姓名
     */
    @TableField(exist = false)
    private String lockingPersonName;

    /**
     * 认筹房源关系表Id
     */
    @TableField(exist = false)
    private String raiseHouseId;

    /**
     * 是否展示预选按钮
     */
    @TableField(exist = false)
    private Boolean preselectionBtn;

    /**
     * 是否展示认筹按钮
     */
    @TableField(exist = false)
    private Boolean raiseBtn;

    /**
     * 认筹信息
     */
    @TableField(exist = false)
    private TaRaise taRaise;

    /**
     * 锁定认筹单编号
     */
    @TableField(exist = false)
    private Integer raiseRecordId;

    /**
     * 是否展示房源价格
     */
    @TableField(exist = false)
    private Boolean displayHousePrice;
}
