mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-13 07:41:08 +08:00
18 lines
433 B
C#
18 lines
433 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(1000)]
|
|
public string Value { get; set; } = string.Empty;
|
|
|
|
[StringLength(255)]
|
|
public string Description { get; set; } = string.Empty;
|
|
public bool IsSecret { get; set; } = false;
|
|
} |