namespace CashLineERP.Contracts.Inventory;

public sealed record ReplenishmentRuleResponse(
    long ReplenishmentRuleId,
    string RuleCode,
    string RuleName,
    long BranchId,
    long TargetWarehouseId,
    long? PreferredSourceWarehouseId,
    long ItemId,
    string UnitOfMeasureCode,
    decimal ReorderPointQuantity,
    decimal TargetSafetyStockQuantity,
    decimal TargetStockQuantity,
    decimal SourceSafetyStockQuantity,
    int Priority,
    DateOnly EffectiveFromDate,
    DateOnly? EffectiveToDate,
    string StatusCode,
    bool IsActive,
    string? Notes,
    DateTime? SubmittedAtUtc,
    long? SubmittedByUserId,
    DateTime? ApprovedAtUtc,
    long? ApprovedByUserId,
    DateTime? ActivatedAtUtc,
    long? ActivatedByUserId);
