using Application.Abstractions.Messaging;

namespace Application.Features.Api.DonationGoal.GetConfig;

public sealed record Query(int ChannelID) : IQuery<Response>;

public sealed record Response(IReadOnlyList<GoalConfigItem> List);

public sealed record GoalConfigItem(
    int ID,
    string Title,
    int Style,
    int StartAmount,
    int TargetAmount,
    DateTime? StartAt,
    DateTime? EndAt,
    bool IsShowPercent,
    string BarColor,
    string BarBackgroundColor,
    int BarHeightPx,
    int TitleFontSizePx,
    string TitleFontColor,
    int AmountFontSizePx,
    string AmountFontColor,
    string? TitleFontFamily,
    string? AmountFontFamily,
    bool IsActive
);