add voice service call service and more

This commit is contained in:
2025-11-25 16:49:18 +03:30
parent 60d20a2734
commit 9ba81d944f
49 changed files with 4428 additions and 19 deletions

View 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;
}