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 AnKeyVal
///
[Table("AnKeyVal")]
public class AnKeyValModel
{
#region Public Properties
///
/// Chiave UID
///
[Key, MaxLength(50)]
public string KeyName { get; set; } = "";
///
/// Valore INT
///
public int ValInt { get; set; } = 0;
///
/// Valore double
///
public int ValFloat { get; set; } = 0;
///
/// Valore string
///
[MaxLength(250)]
public string ValString { get; set; } = "";
///
/// Descrizione dell'item
///
[MaxLength(250)]
public string Descript { get; set; } = "";
#endregion Public Properties
}
}