namespace SolutionErp.Domain.PurchaseEvaluations;

// Sequence generator cho mã PE (MaPhieu) — mirror ContractCodeSequence pattern.
// Prefix = phần đầu mã (vd "PE/2026/A" cho A type 2026, "PE/2026/B" cho B type).
// LastSeq tăng dần, update atomic qua transaction SERIALIZABLE.
public class PurchaseEvaluationCodeSequence
{
    public string Prefix { get; set; } = string.Empty;
    public int LastSeq { get; set; }
    public DateTime UpdatedAt { get; set; }
}
