using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using HHWMS.Web.Models; using WalkingTec.Mvvm.Core; using WalkingTec.Mvvm.Core.Extensions; namespace HHWMS.Web { public partial class ContainerSearcher : BaseSearcher { public List AllZones { get; set; } [Display(Name = "Location.ZoneCode")] public int? ZoneId { get; set; } [Display(Name = "Container.Code")] public String Code { get; set; } [Display(Name = "Container.Type")] public String Type { get; set; } [Display(Name = "Container.IsLock")] public ContainerLockEnum? IsLock { get; set; } [Display(Name = "Container.Status")] public String Status { get; set; } [Display(Name = "Container.LocationCode")] public String LocationCode { get; set; } [Display(Name = "System.Length")] public Decimal? Length { get; set; } [Display(Name = "System.Width")] public Decimal? Width { get; set; } [Display(Name = "System.Height")] public Decimal? Height { get; set; } protected override void InitVM() { AllZones = DC.Set().GetSelectListItems(Wtm, y => y.Name); } } }