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

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author 蔡文强
 * @Date 2023/11/28 10:56
 * @Description 园区入驻企业表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("property_house_resident")
@ApiModel(value="PropertyHouseResident对象", description="房产住户表")
public class PropertyHouseResident extends BaseEntity {

    /**
     * 园区ID
     */
    @ApiModelProperty(name = "parkId", value = "园区ID")
    private Long parkId;
    /**
     * 房源ID
     */
    @ApiModelProperty(name = "houseId", value = "房源ID")
    private Long houseId;
    /**
     * 业主ID
     */
    @ApiModelProperty(name = "ownerId", value = "业主ID")
    private Long ownerId;
    /**
     * 与业主关系
     */
    @ApiModelProperty(name = "relation", value = "与业主关系")
    private String relation;
    /**
     * 入住日期
     */
    @ApiModelProperty(name = "startDate", value = "入住日期")
    private Date startDate;
    /**
     * 截止日期
     */
    @ApiModelProperty(name = "endDate", value = "截止日期")
    private Date endDate;
    /**
     * 客户档案ID
     */
    @ApiModelProperty(name = "customerArchivesId", value = "客户档案ID")
    private Long customerArchivesId;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    /**
     * 住户状态(1:正常 2:无效)
     */
    @ApiModelProperty(name = "residentStatus", value = "住户状态(1:正常 2:无效)")
    private Integer residentStatus;
    /**
     * 创建方式(1:后台添加 2:自动同步)
     */
    @ApiModelProperty(name = "createype", value = "创建方式(1:后台添加 2:自动同步)")
    private Integer createType;
    /**
     * 创建人平台ID
     */
    @ApiModelProperty(name = "createPeopleId", value = "创建人平台ID")
    private Long createPeopleId;
    /**
     * 登记状态(1:未登记 2:已登记 3:已失效)
     */
    @ApiModelProperty(name = "registerStatus", value = "登记状态(1:未登记 2:已登记 3:已失效)")
    private Integer registerStatus;

}
