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