rtmpdash/DataModels/Tables/User.cs
2021-01-24 04:04:16 +01:00

19 lines
1.1 KiB
C#

using LinqToDB.Mapping;
namespace RTMPDash.DataModels.Tables {
[Table(Name = "Users")]
public class User {
[Column(Name = "Username"), PrimaryKey] public string Username { get; set; }
[Column(Name = "Password")] public string Password { get; set; }
[Column(Name = "IsAdmin")] public bool IsAdmin { get; set; }
[Column(Name = "AllowRestream")] public bool AllowRestream { get; set; }
[Column(Name = "StreamKey")] public string StreamKey { get; set; }
[Column(Name = "PronounSubject")] public string PronounSubject { get; set; }
[Column(Name = "PronounPossessive")] public string PronounPossessive { get; set; }
[Column(Name = "ChatUrl")] public string ChatUrl { get; set; }
[Column(Name = "AnnouncementUrl")] public string AnnouncementUrl { get; set; }
[Column(Name = "SrcRes")] public string SrcRes { get; set; }
[Column(Name = "RestreamTargets")] public string RestreamTargets { get; set; }
[Column(Name = "RestreamUrls")] public string RestreamUrls { get; set; }
}
}