Setting.cs 326 B

12345678910
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace PCC2.Data.Entity;
  4. public class Setting
  5. {
  6. [Key][Required][MaxLength(128)][Column(TypeName = "VARCHAR(128)")] public string? Key { get; set; }
  7. [Column(TypeName = "TEXT")] public string? Value { get; set; }
  8. }