using SurrealDb.Net.Models;

namespace RelayServer.Models.Rtc;

public sealed class RtcActiveCall : Record
{
    public required string ChannelId { get; set; }
    public string? OfferUser { get; set; }
    public RtcSessionDescription? Offer { get; set; }
    public RtcSessionDescription? Answer { get; set; }
    public DateTime CreatedAt { get; set; }
    public DateTime UpdatedAt { get; set; }
    public bool IsActive { get; set; }
}