2023-09-19 12:17:05 +10:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
|
|
|
|
namespace PARR.DAL.Models
|
|
|
|
|
|
{
|
2023-09-19 14:40:25 +10:00
|
|
|
|
[Table("Settings")]
|
2023-09-19 12:17:05 +10:00
|
|
|
|
public class Setting
|
|
|
|
|
|
{
|
|
|
|
|
|
[Key]
|
|
|
|
|
|
public required string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public required string Value { get; set; }
|
2023-09-19 14:34:55 +10:00
|
|
|
|
|
|
|
|
|
|
public required string Description { get; set; }
|
2023-09-19 12:17:05 +10:00
|
|
|
|
}
|
|
|
|
|
|
}
|