using Infrastructure.Application; using Application.Domain.Entities; using System; using System.Collections.Generic; namespace Platform.ViewModels { public class HomeModel : PagedList { public HomeModel() { PageSize = this.DefaultPageSize = 50; } public bool ShowAll { get; set; } public Guid? OrganId { get; set; } public Guid? BuildingId { get; set; } public Organ Organ { get; set; } public Building Building { get; set; } public List Organs { get; set; } = new List(); public List Buildings { get; set; } = new List(); public List Deviceses { get; set; } = new List(); public List Scenes { get; set; } = new List(); public int? MaxLight { get; set; } public int? MinLight { get; set; } public float? MinTemperaturest { get; set; } public float? MaxTemperatures { get; set; } public float? MinHumidity { get; set; } public float? MaxHumidity { get; set; } public int? Open { get; set; } public int? Close { get; set; } public new int[] GetPageSizes() { return new int[] { 50, 100 }; } } }