version 2

This commit is contained in:
2025-12-16 16:52:40 +03:30
parent 61e86b1e96
commit 139924db94
52 changed files with 7350 additions and 321 deletions

View File

@@ -7,9 +7,11 @@ public sealed class AlertNotification
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 int AlertConditionId { get; set; }
public AlertCondition AlertCondition { get; set; } = null!;
public AlertNotificationType NotificationType { get; set; } // Call or SMS
public string Message { get; set; } = string.Empty;
public string? MessageOutboxIds { get; set; } // JSON array of message outbox IDs
public string? MessageOutboxIds { get; set; } // JSON array of message outbox IDs (for SMS)
public string? ErrorMessage { get; set; } // Error details if sending failed
public DateTime SentAt { get; set; } = DateTime.UtcNow;
public bool IsSent { get; set; } = true;