This commit is contained in:
2025-12-26 16:40:32 +03:00
commit 4f1be2c3db
37 changed files with 2222 additions and 0 deletions

38
Models/JournalEntry.cs Normal file
View File

@@ -0,0 +1,38 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace public_valetax.Models
{
[Table("journal_entries")]
public class JournalEntry
{
[Key]
[Column("id")]
public long Id { get; set; }
[Required]
[Column("event_id")]
public long EventId { get; set; }
[Required]
[Column("timestamp")]
public DateTime Timestamp { get; set; }
[Column("query_parameters")]
public string? QueryParameters { get; set; }
[Column("body_parameters")]
public string? BodyParameters { get; set; }
[Column("stack_trace")]
public string? StackTrace { get; set; }
[Required]
[Column("exception_type")]
public string ExceptionType { get; set; } = string.Empty;
[Required]
[Column("message")]
public string Message { get; set; } = string.Empty;
}
}