using System;
using System.Collections.Generic;

namespace Database.Database;

public partial class MessageQueue
{
    public int Id { get; set; }

    public byte? MessageType { get; set; }

    public string Recipient { get; set; } = null!;

    public string? Subject { get; set; }

    public string? Content { get; set; }

    public string? TemplateCode { get; set; }

    public string? TemplateData { get; set; }

    public bool? Priority { get; set; }

    public byte? Status { get; set; }

    public DateTime? ScheduledAt { get; set; }

    public DateTime? ProcessedAt { get; set; }

    public byte? RetryCount { get; set; }

    public byte? MaxRetry { get; set; }

    public string? ErrorMessage { get; set; }

    public decimal? CreatedBy { get; set; }

    public DateTime? CreatedDate { get; set; }
}
