//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 ShippingSearchModel : BaseSearchModel
//    {
//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.List.SearchShipmentDate")]
//        public DateTime? SearchShippingDateFrom { get; set; }

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.List.SearchShipmentDate")]
//        public DateTime? SearchShippingDateTo { get; set; }

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

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.List.SearchPartnerId")]
//        public int? SearchPartnerId { get; set; }

//        [NopResourceDisplayName("Admin.FruitBankPlugin.Shipments.List.SearchIsAllMeasured")]
//        public int? SearchIsAllMeasured { get; set; } // 0 = All, 1 = Yes, 2 = No

//        public bool HideSearchBlock { get; set; }

//        public ShippingSearchModel()
//        {
//            SetGridPageSize();
//        }
//    }
//}