This commit is contained in:
2023-06-30 14:08:15 +01:00
commit bcaa32afb1
28 changed files with 1109 additions and 0 deletions

View File

@ -0,0 +1,41 @@
namespace NostrStreamer.Database;
public class User
{
public string PubKey { get; init; } = null!;
/// <summary>
/// Stream key
/// </summary>
public string StreamKey { get; init; } = null!;
/// <summary>
/// Most recent nostr event published
/// </summary>
public string? Event { get; init; }
/// <summary>
/// Sats balance
/// </summary>
public long Balance { get; init; }
/// <summary>
/// Stream title
/// </summary>
public string? Title { get; init; }
/// <summary>
/// Stream summary
/// </summary>
public string? Summary { get; init; }
/// <summary>
/// Stream cover image
/// </summary>
public string? Image { get; init; }
/// <summary>
/// Comma seperated tags
/// </summary>
public string? Tags { get; init; }
}