package com.bs.pm.domain;

import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 租赁房屋信息对象 pm_tenant_house_rel
 *
 * @author bs
 * @date 2025-10-05
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pm_tenant_house_rel")
@Data
public class PmTenantHouseRel extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /** 租赁信息id */

    @Excel(name = "租赁信息id")
    @ApiModelProperty(value = "租赁信息id")
    private Long tenantHouseId;

    /** 业主id */

    @Excel(name = "业主id")
    @ApiModelProperty(value = "业主id")
    private Long ownerId;

    /** 房屋id */

    @Excel(name = "房屋id")
    @ApiModelProperty(value = "房屋id")
    private Long houseId;


}
