Port UserRepository and remove OW stuff

This commit is contained in:
runebaas 2018-05-10 02:00:26 +02:00
parent d2f31d0730
commit 15034d63a3
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
20 changed files with 176 additions and 328 deletions

View file

@ -1,7 +1,29 @@
namespace Geekbot.net.Database.Models
using System.ComponentModel.DataAnnotations;
namespace Geekbot.net.Database.Models
{
public class GuildSettingsModel
{
[Key]
public int Id { get; set; }
[Required]
public long GuildId { get; set; }
public bool Ping { get; set; }
public bool Hui { get; set; }
public long ModChannel { get; set; }
public string WelcomeMessage { get; set; }
public bool ShowDelete { get; set; }
public bool ShowLeave { get; set; }
public string WikiLang { get; set; }
public string Language { get; set; }
}
}