- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace PCC2.Data.Entity;
- public class Setting
- {
- [Key][Required][MaxLength(128)][Column(TypeName = "VARCHAR(128)")] public string? Key { get; set; }
- [Column(TypeName = "TEXT")] public string? Value { get; set; }
- }
|