namespace Meezi.API.Models.Taxes;

public record TaxDto(
    string Id,
    string Name,
    decimal Rate,
    bool IsDefault,
    bool IsRequired,
    bool IsCompound);

public record CreateTaxRequest(
    string Name,
    decimal Rate,
    bool IsDefault = false,
    bool IsRequired = true,
    bool IsCompound = false);

public record UpdateTaxRequest(
    string? Name,
    decimal? Rate,
    bool? IsDefault,
    bool? IsRequired,
    bool? IsCompound);
