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