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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

import java.time.LocalDateTime;

/**
 * <p>
 * 入住登记表
 * </p>
 *
 * @author 洪铭铭
 * @since 2024-11-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("property_move_in_register")
@ApiModel(value="PropertyMoveInRegister对象", description="入住登记表")
public class PropertyMoveInRegister extends TenantEntity {


    @ApiModelProperty(value = "园区id")
    @TableField("park_id")
    private Long parkId;

    @ApiModelProperty(value = "园区名称")
    @TableField("park_name")
    private String parkName;

    @ApiModelProperty(value = "楼栋id")
    @TableField("building_id")
    private Long buildingId;

    @ApiModelProperty(value = "楼栋名称")
    @TableField("building_name")
    private String buildingName;

    @ApiModelProperty(value = "楼层id")
    @TableField("floor_id")
    private Long floorId;

    @ApiModelProperty(value = "楼层名称")
    @TableField("floor_name")
    private String floorName;

    @ApiModelProperty(value = "单元id")
    @TableField("building_unit_id")
    private Long buildingUnitId;

    @ApiModelProperty(value = "单元名称")
    @TableField("building_unit_name")
    private String buildingUnitName;

    @ApiModelProperty(value = "房间id")
    @TableField("room_id")
    private Long roomId;


    @ApiModelProperty(value = "房间名称")
    @TableField("room_name")
    private String roomName;

    @ApiModelProperty(value = "资源代码")
    @TableField("resource_code")
    private String resourceCode;

    @ApiModelProperty(value = "业主id")
    @TableField("owner_id")
    private Long ownerId;

    @ApiModelProperty(value = "业主姓名")
    @TableField("owner_name")
    private String ownerName;

    @ApiModelProperty(value = "车位id")
    @TableField("car_space_id")
    private Long carSpaceId;

    @ApiModelProperty(value = "车位名称")
    @TableField("car_space_name")
    private String carSpaceName;

    @ApiModelProperty(value = "车辆id")
    @TableField("car_id")
    private Long carId;

    @ApiModelProperty(value = "车辆名称")
    @TableField("car_name")
    private String carName;

    @ApiModelProperty(value = "住户id")
    @TableField("occupier_id")
    private Long occupierId;

    @ApiModelProperty(value = "住户类型")
    @TableField("occupier_type")
    private Long occupierType;



//    @ApiModelProperty(value = "建筑面积 单位 平方米")
//    @TableField("construction_area")
//    private BigDecimal constructionArea;

    @ApiModelProperty(value = "房间状态：1-未售、2-已售、3-交房、4-接房、5-空置、6-装修、7-出租、8-预订、9-入驻、10-自用、11-已租")
    @TableField("house_status")
    private Integer houseStatus;

    @ApiModelProperty(value = "入住日期")
    @TableField("movein_date")
    private LocalDateTime moveinDate;

    @ApiModelProperty(value = "接待人")
    @TableField("reception_user_id")
    private Long receptionUserId;

    @ApiModelProperty(value = "登记状态 1：待确认 2：未登记 3：已确认")
    @TableField("register_status")
    private Integer registerStatus;

    @ApiModelProperty(value = "备注信息")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "类型 1：人员 2：车位 3：车辆")
    @TableField("type")
    private Integer type;



}
