using ERPCore.Domain.Enums;

namespace ERPCore.Domain.Entities;

public class BundleSaleLine
{
    public int BundleSaleLineId { get; set; }
    public int BundleSaleId { get; set; }
    public BundleSale? BundleSale { get; set; }

    public int ItemId { get; set; }
    public Item? Item { get; set; }
    public string Description { get; set; } = string.Empty;
    public decimal Qty { get; set; }
    public int WarehouseId { get; set; }
    public Warehouse? Warehouse { get; set; }
    public decimal UnitPrice { get; set; }
    public decimal LineTotal { get; set; }
    public bool IncludeInBundle { get; set; } = true;
    public bool IsComponent { get; set; } = true;
    public int? ParentLineId { get; set; }
}
