Spaces:
Sleeping
Sleeping
| namespace BakeryErp.Domain.Entities; | |
| public sealed class PurchaseOrderLine : BaseEntity | |
| { | |
| public Guid PurchaseOrderId { get; set; } | |
| public Guid ItemId { get; set; } | |
| public decimal Quantity { get; set; } | |
| public string Unit { get; set; } = string.Empty; | |
| public decimal UnitPrice { get; set; } | |
| public decimal LineAmount => Quantity * UnitPrice; | |
| } | |