using Indotalent.Data.Abstracts;
using Indotalent.Data.Interfaces;
using Indotalent.Data.Enums;
using System.Numerics;

namespace Indotalent.Data.Entities;

public class PurchaseRequisition : BaseEntity, IHasAutoNumber
{
    public string? AutoNumber { get; set; }
    public DateTime? RequisitionDate { get; set; }
    public PurchaseRequisitionStatus RequisitionStatus { get; set; }
    public string? Description { get; set; }
    public string? VendorId { get; set; }
    public Vendor? Vendor { get; set; }
    public string? TaxId { get; set; }
    public Tax? Tax { get; set; }
    public decimal? BeforeTaxAmount { get; set; }
    public decimal? TaxAmount { get; set; }
    public decimal? AfterTaxAmount { get; set; }
    public ICollection<PurchaseRequisitionItem> PurchaseRequisitionItemList { get; set; } = new List<PurchaseRequisitionItem>();
}