//using Nop.Web.Framework.Models;
//using Nop.Web.Framework.Mvc.ModelBinding;
//using System.ComponentModel.DataAnnotations;

//namespace Nop.Plugin.Misc.FruitBankPlugin.Areas.Admin.Models
//{
//    /// <summary>
//    /// Represents a shipment search model
//    /// </summary>
//    public partial record ShippingModel : BaseNopEntityModel
//    {
//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.Fields.Id")]
//        public override int Id { get; set; }

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.Fields.PartnerId")]
//        public int PartnerId { get; set; }

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.Fields.PartnerName")]
//        public string PartnerName { get; set; } = string.Empty;

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.Fields.ShippingDate")]
//        public DateTime ShippingDate { get; set; }

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.Fields.LicencePlate")]
//        public string LicencePlate { get; set; } = string.Empty;

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.Fields.IsAllMeasured")]
//        public bool IsAllMeasured { get; set; }

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.Fields.DocumentCount")]
//        public int DocumentCount { get; set; }

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.Fields.Created")]
//        public DateTime Created { get; set; }

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.Fields.Modified")]
//        public DateTime Modified { get; set; }

//        // Computed properties for display
//        public string FormattedShippingDate => ShippingDate.ToString("yyyy-MM-dd");
//        public string FormattedCreated => Created.ToString("yyyy-MM-dd HH:mm");
//        public string FormattedModified => Modified.ToString("yyyy-MM-dd HH:mm");
//        public string IsAllMeasuredText => IsAllMeasured ? "Yes" : "No";
//        public string StatusBadgeClass => IsAllMeasured ? "badge-success" : "badge-warning";
//    }
//}