using MyCore.Interfaces.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using static MyCore.Interfaces.Models.AlarmMode; namespace MyCore.Interfaces.DTO { /// /// Alarm mode DTO /// public class AlarmModeDTO { public string Id { get; set; } public string HomeId { get; set; } public string Name { get; set; } public AlarmType Type { get; set; } public bool Activated { get; set; } public bool IsDefault { get; set; } public bool Notification { get; set; } public DateTime CreatedDate { get; set; } public DateTime UpdatedDate { get; set; } } public class AlarmModeDetailDTO : AlarmModeDTO { public List Triggers { get; set; } public List Actions { get; set; } public List Devices { get; set; } public ProgrammedMode ProgrammedMode { get; set; } public GeolocalizedMode GeolocalizedMode { get; set; } } public class AlarmModeCreateOrUpdateDetailDTO : AlarmModeDTO { public List Triggers { get; set; } public List Actions { get; set; } public ProgrammedMode ProgrammedMode { get; set; } public GeolocalizedMode GeolocalizedMode { get; set; } } }