using MyCore.Interfaces.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyCore.Interfaces.DTO { /// /// Home DTO /// public class HomeDTO { public string Id { get; set; } public string Name { get; set; } public bool IsAlarm { get; set; } public bool IsDefault { get; set; } public AlarmModeDTO CurrentAlarmMode { get; set; } public DateTime CreatedDate { get; set; } public DateTime UpdatedDate { get; set; } public List UsersIds { get; set; } } public class HomeDetailDTO : HomeDTO { public List Users { get; set; } public List Devices { get; set; } public List Automations { get; set; } public List Providers { get; set; } public List Groups { get; set; } //public List ScreenConfigurations { get; set; } TODO //public List ScreenDevices { get; set; } TODO } public class CreateOrUpdateHomeDTO : HomeDTO { public List UsersIds { get; set; } } }