package com.caliverse.admin.domain.entity.metadata;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class MetaGachaData {
    @JsonProperty("Id")
    private int id;

    @JsonProperty("GroupId")
    private int groupId;

    @JsonProperty("Reward")
    private Reward reward;

    @JsonProperty("Weight")
    private int weight;

    @Data
    public static class Reward {
        @JsonProperty("Currency")
        private Currency currency;
    }

    @Data
    public static class Currency {
        @JsonProperty("Id")
        private int id;

        @JsonProperty("Value")
        private double value;
    }
}
