2018-05-10 02:00:26 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Geekbot.net.Database.Models
|
2018-05-10 00:00:51 +02:00
|
|
|
|
{
|
|
|
|
|
public class UserModel
|
|
|
|
|
{
|
2018-05-10 02:00:26 +02:00
|
|
|
|
[Key]
|
|
|
|
|
public int Id { get; set; }
|
2018-05-10 00:00:51 +02:00
|
|
|
|
|
2018-05-10 02:00:26 +02:00
|
|
|
|
[Required]
|
|
|
|
|
public long UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string Username { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string Discriminator { get; set; }
|
|
|
|
|
|
|
|
|
|
public string AvatarUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public bool IsBot { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTimeOffset Joined { get; set; }
|
|
|
|
|
|
|
|
|
|
public string[] UsedNames { get; set; }
|
2018-05-10 00:00:51 +02:00
|
|
|
|
}
|
|
|
|
|
}
|