Files
ERP_Distribution/Distribution/Models/ShopPO.cs
T
2026-09-24 15:50:35 +05:30

30 lines
856 B
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace Distribution.Models
{
public class ShopPO : Template
{
public Guid FK_StoreId { get; set; }
[ForeignKey("FK_StoreId")]
public Store Store { get; set; }
public Guid RaisedById { get; set; }
public Guid? InvoiceId { get; set; }
public decimal TotalAmount { get; set; }
public ShopPOStatus Status { get; set; } = ShopPOStatus.Pending;
public DateTime? ConfirmedAt { get; set; }
public Guid? ConfirmedBy { get; set; }
public DateTime? FulfilledAt { get; set; }
public DateTime? CancelledAt { get; set; }
public Guid? CancelledBy { get; set; }
public string? CancelReason { get; set; }
public ICollection<ShopPOItem> Items { get; set; } = new List<ShopPOItem>();
}
}