package com.microservices.zone.resource.domain;

import com.microservices.zone.resource.domain.ZoneResource;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

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

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

    private Long downloadCount;
}
