using MyCore.Interfaces.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyCore.Interfaces.DTO { public class AutomationDTO { public string Id { get; set; } public string Name { get; set; } public bool Active { get; set; } public string HomeId { get; set; } public DateTime CreatedDate { get; set; } public DateTime UpdatedDate { get; set; } } public class AutomationDetailDTO : AutomationDTO { public List Triggers { get; set; } public List Conditions { get; set; } public List Actions { get; set; } public List DevicesIds { get; set; } public List Devices { get; set; } } }