using Meezi.Core.Enums;

namespace Meezi.Core.Entities;

/// <summary>Configurable platform commission % per café (falls back to app defaults).</summary>
public class DeliveryCommissionRate : TenantEntity
{
    public DeliveryPlatform Platform { get; set; }
    public decimal RatePercent { get; set; }
    public bool IsActive { get; set; } = true;
    public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;

    public Cafe Cafe { get; set; } = null!;
}
