18 lines
415 B
C#
18 lines
415 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace ChaosBot.Models
|
|
{
|
|
#region Required
|
|
public class Configuration
|
|
{
|
|
[Required]
|
|
public ulong DiscordGuildId { get; set; }
|
|
[Required]
|
|
[MaxLength(128)]
|
|
public string Key { get; set; }
|
|
[Required]
|
|
public string SerializedValue { get; set; }
|
|
}
|
|
#endregion
|
|
} |