23 lines
856 B
C#
23 lines
856 B
C#
using Domain = GreenHome.Domain;
|
|
|
|
namespace GreenHome.Application;
|
|
|
|
public sealed class AlertLogDto
|
|
{
|
|
public int Id { get; set; }
|
|
public int DeviceId { get; set; }
|
|
public string DeviceName { get; set; } = string.Empty;
|
|
public int UserId { get; set; }
|
|
public string UserName { get; set; } = string.Empty;
|
|
public string UserMobile { get; set; } = string.Empty;
|
|
public int? AlertConditionId { get; set; }
|
|
public Domain.AlertType AlertType { get; set; }
|
|
public Domain.AlertNotificationType NotificationType { get; set; }
|
|
public string Message { get; set; } = string.Empty;
|
|
public Domain.AlertStatus Status { get; set; }
|
|
public string? ErrorMessage { get; set; }
|
|
public string PhoneNumber { get; set; } = string.Empty;
|
|
public DateTime SentAt { get; set; }
|
|
public long ProcessingTimeMs { get; set; }
|
|
}
|