namespace NostrStreamer.Database; public class User { public string PubKey { get; init; } = null!; /// /// Stream key /// public string StreamKey { get; init; } = null!; /// /// Milli sats balance /// public long Balance { get; set; } /// /// Stream title /// public string? Title { get; set; } /// /// Stream summary /// public string? Summary { get; set; } /// /// Stream cover image /// public string? Image { get; set; } /// /// Comma seperated tags /// public string? Tags { get; set; } /// /// Any content warning tag (NIP-36) /// public string? ContentWarning { get; set; } /// /// Date when user accepted TOS /// public DateTime? TosAccepted { get; init; } /// /// Stream goal /// public string? Goal { get; init; } /// /// Concurrency token /// public uint Version { get; set; } public List Payments { get; init; } = new(); public List Streams { get; init; } = new(); public List Forwards { get; init; } = new(); }