package com.microservices.zone.member.domain;

import com.microservices.zone.member.domain.ZoneMember;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * ZoneMember with full-text search score
 * 用于全局搜索结果，包含全文搜索相关度评分
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ZoneMemberWithScore extends ZoneMember implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 全文搜索相关度评分（来自 MySQL MATCH...AGAINST）
     */
    private Double searchScore;

    private String memberTypeName;
}
