package com.tasteby.domain;

import com.fasterxml.jackson.annotation.JsonRawValue;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VideoRestaurantLink {
    private String restaurantId;
    private String name;
    private String address;
    private String cuisineType;
    private String priceRange;
    private String region;
    @JsonRawValue
    private String foodsMentioned;
    @JsonRawValue
    private String evaluation;
    @JsonRawValue
    private String guests;
    private String googlePlaceId;
    private Double latitude;
    private Double longitude;

    public boolean isHasLocation() {
        return latitude != null && longitude != null;
    }
}
