namespace Modules.User.Database.Database.Entities;

public class AccountBan
{
    public Guid Id { get; set; }

    public Account Account { get; set; } = null!;
    public Guid AccountId { get; set; }
    public string Reason { get; set; } = null!;
    public DateTime BanDate { get; set; }
    public Guid IssuerId { get; set; }
    public DateTime? ReleaseDate { get; set; }
    
    public Guid? UnbanIssuerId { get; set; }
    public DateTime? UnbanDate { get; set; }
    public string? UnbanReason { get; set; }
    
    public bool Deleted { get; set; }

    public uint Xmin { get; private set; }
}