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 string UserId { 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 class AutomationCreateOrUpdateDetailDTO : AutomationDTO { public List Triggers { get; set; } public List Conditions { get; set; } public List Actions { get; set; } public List DeviceIds { get; set; } } }