namespace ERPCore.Dtos.Sales;

public sealed record SalesFreeIssueRewardOptionDto(
    int ItemId,
    string Sku,
    string Name,
    decimal? SalePrice);

public sealed record SalesFreeIssueSuggestionLineDto(
    int SalesSlipLineId,
    int ItemId,
    string ItemSku,
    string ItemName,
    decimal Qty,
    decimal SuggestedFreeQty,
    decimal TriggerQty,
    IReadOnlyList<SalesFreeIssueRewardOptionDto> RewardOptions);

public sealed record SalesFreeIssueSuggestionDto(
    int SalesSlipId,
    string SlipNo,
    DateTime SlipDate,
    IReadOnlyList<SalesFreeIssueSuggestionLineDto> Lines);