22 lines
669 B
C#
22 lines
669 B
C#
using GymLogAI.Core.Enums;
|
|
|
|
namespace GymLogAI.Core.Entities;
|
|
|
|
public class TelegramMessage
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid UserId { get; set; }
|
|
public long TelegramChatId { get; set; }
|
|
public int TelegramMessageId { get; set; }
|
|
public string Text { get; set; } = string.Empty;
|
|
public DateTime SentAtUtc { get; set; }
|
|
public DateTime ImportedAtUtc { get; set; }
|
|
public ParsingStatus ParsingStatus { get; set; }
|
|
public string? ParsingError { get; set; }
|
|
public Guid? WorkoutId { get; set; }
|
|
public DateTime? ParsedAtUtc { get; set; }
|
|
|
|
public User? User { get; set; }
|
|
public Workout? Workout { get; set; }
|
|
}
|