14 lines
457 B
C#
14 lines
457 B
C#
namespace Backend.DatabaseHandler;
|
|
|
|
public sealed class AlertRecord
|
|
{
|
|
public long Id { get; set; }
|
|
public string Username { get; set; } = string.Empty;
|
|
public string Symbol { get; set; } = string.Empty;
|
|
public string AlertType { get; set; } = string.Empty;
|
|
public string Parameters { get; set; } = "{}";
|
|
public string LastState { get; set; } = "{}";
|
|
public bool IsTriggered { get; set; }
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
}
|