add voice service call service and more
This commit is contained in:
17
src/GreenHome.Domain/AlertNotification.cs
Normal file
17
src/GreenHome.Domain/AlertNotification.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace GreenHome.Domain;
|
||||
|
||||
public sealed class AlertNotification
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int DeviceId { get; set; }
|
||||
public Device Device { get; set; } = null!;
|
||||
public int UserId { get; set; }
|
||||
public User User { get; set; } = null!;
|
||||
public string AlertType { get; set; } = string.Empty; // Temperature, Humidity, Soil, Gas, Lux
|
||||
public string Message { get; set; } = string.Empty;
|
||||
public string? MessageOutboxIds { get; set; } // JSON array of message outbox IDs
|
||||
public string? ErrorMessage { get; set; } // Error details if sending failed
|
||||
public DateTime SentAt { get; set; } = DateTime.UtcNow;
|
||||
public bool IsSent { get; set; } = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user