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

namespace Indotalent.Data.Entities;

public class SalesOrderItem : BaseEntity, IMultiTenant
{
    public string? TenantId { get; set; }
    public string? SalesOrderId { get; set; }
    public SalesOrder? SalesOrder { get; set; }
    public string? ProductId { get; set; }
    public Product? Product { get; set; }
    public string? Summary { get; set; }
    public decimal? UnitPrice { get; set; } = 0;
    public double? Quantity { get; set; } = 1;
    public decimal? Total { get; set; } = 0;
}