2018-05-13 21:06:41 +02:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Geekbot.net.Database.Models
|
2018-05-10 00:00:51 +02:00
|
|
|
|
{
|
|
|
|
|
public class RoleSelfServiceModel
|
|
|
|
|
{
|
2018-05-13 21:06:41 +02:00
|
|
|
|
[Key]
|
|
|
|
|
public int Id { get; set; }
|
2018-05-10 00:00:51 +02:00
|
|
|
|
|
2018-05-13 21:06:41 +02:00
|
|
|
|
[Required]
|
|
|
|
|
public long GuildId { get; set; }
|
|
|
|
|
|
|
|
|
|
public long RoleId { get; set; }
|
|
|
|
|
|
|
|
|
|
public string WhiteListName { get; set; }
|
2018-05-10 00:00:51 +02:00
|
|
|
|
}
|
|
|
|
|
}
|