mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2025-12-09 20:19:32 +02:00
22 lines
526 B
C#
22 lines
526 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using yawaflua.ru.Auth;
|
|
|
|
namespace yawaflua.ru.Database.Tables;
|
|
|
|
[Table("ApiKeys", Schema = "public")]
|
|
public class ApiKey
|
|
{
|
|
|
|
[Key]
|
|
public string Key { get; set; }
|
|
[Required]
|
|
public ulong DiscordOwnerId { get; set; }
|
|
[Required]
|
|
public string Melon { get; set; }
|
|
public ApiKeyTypes Type { get; set; }
|
|
} |