package com.seer.teach.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Wang
 * @since 2025-07-16 16:56:07
 */
@Getter
@Setter
@TableName("za_user_relation")
@Schema(name = "UserRelationEntity对象", description = "")
public class UserRelationEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    public static final int IS_DEFAULT = 1;

    public static final int IS_NOT_DEFAULT = 0;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 关联ID
     */
    @TableField("relation_id")
    private Integer relationId;

    /**
     * 类型
     */
    @TableField("`type`")
    private Integer type;

    /**
     * 是否默认,0: 不是默认，1：是默认
     */
    @TableField("`is_default`")
    private Integer isDefault;

    /**
     * 家庭ID
     */
    @TableField(value = "family_id")
    private Integer familyId;

}