22 lines
843 B
C#
22 lines
843 B
C#
using Indotalent.Data.Abstracts;
|
|
using Indotalent.Data.Interfaces;
|
|
using Indotalent.Data.Enums;
|
|
|
|
namespace Indotalent.Data.Entities;
|
|
|
|
public class SalesOrder : BaseEntity, IHasAutoNumber, IMultiTenant
|
|
{
|
|
public string? TenantId { get; set; }
|
|
public string? AutoNumber { get; set; }
|
|
public DateTime? OrderDate { get; set; }
|
|
public SalesOrderStatus OrderStatus { 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<SalesOrderItem> SalesOrderItemList { get; set; } = new List<SalesOrderItem>();
|
|
} |