mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-13 05:31:07 +08:00
17 lines
384 B
C#
17 lines
384 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Foxel.Models.DataBase;
|
|
|
|
public class Config : BaseModel
|
|
{
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string Key { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
[StringLength(255)]
|
|
public string Value { get; set; } = string.Empty;
|
|
|
|
[StringLength(255)]
|
|
public string Description { get; set; } = string.Empty;
|
|
} |