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

namespace Indotalent.Data.Entities;

public class SalesQuotation : BaseEntity, IHasAutoNumber
{
    public string? AutoNumber { get; set; }
    public DateTime? QuotationDate { get; set; }
    public SalesQuotationStatus QuotationStatus { get; set; }
    public string? Description { get; set; }
    public string? CustomerId { get; set; }
    public Customer? Customer { 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<SalesQuotationItem> SalesQuotationItemList { get; set; } = new List<SalesQuotationItem>();
}