using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
//
// This is here so CodeMaid doesn't reorganize this document
//
namespace MP.MONO.Data.DbModels
{
///
/// Tabella Config per estendere area conf applicazione con setup su DB
///
[Table("Config")]
public class ConfigModel
{
#region Public Properties
///
/// Chiave UID del parametro
///
[Key, MaxLength(50)]
public string KeyName { get; set; } = "";
///
/// Valore assegnato (Corrente)
///
[MaxLength(250)]
public string Val { get; set; } = "";
///
/// Valore standard riferimento
///
[MaxLength(250)]
public string ValStd { get; set; } = "";
///
/// Descrizione del parametro
///
[MaxLength(500)]
public string Note { get; set; } = "";
#endregion Public Properties
}
}