Nop.Core_4.7/Presentation/Nop.Web/Models/Order/ShipmentDetailsModel.cs

49 lines
1.5 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Nop.Web.Framework.Models;
namespace Nop.Web.Models.Order;
public partial record ShipmentDetailsModel : BaseNopEntityModel
{
public ShipmentDetailsModel()
{
ShipmentStatusEvents = new List<ShipmentStatusEventModel>();
Items = new List<ShipmentItemModel>();
}
public string TrackingNumber { get; set; }
public string TrackingNumberUrl { get; set; }
public DateTime? ShippedDate { get; set; }
public DateTime? ReadyForPickupDate { get; set; }
public DateTime? DeliveryDate { get; set; }
public IList<ShipmentStatusEventModel> ShipmentStatusEvents { get; set; }
public bool ShowSku { get; set; }
public IList<ShipmentItemModel> Items { get; set; }
public OrderDetailsModel Order { get; set; }
#region Nested Classes
public partial record ShipmentItemModel : BaseNopEntityModel
{
public string Sku { get; set; }
public int ProductId { get; set; }
public string ProductName { get; set; }
public string ProductSeName { get; set; }
public string AttributeInfo { get; set; }
public string RentalInfo { get; set; }
public int QuantityOrdered { get; set; }
public int QuantityShipped { get; set; }
}
public partial record ShipmentStatusEventModel : BaseNopModel
{
public string Status { get; set; }
public string EventName { get; set; }
public string Location { get; set; }
public string Country { get; set; }
public DateTime? Date { get; set; }
}
#endregion
}