Files
gwms/GWMS.Data/DatabaseModels/AnKeyValModel.cs
T
Samuele E. Locatelli 8583d8eba1 update annotazione
2021-05-29 18:40:24 +02:00

36 lines
932 B
C#

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
#nullable disable
namespace GWMS.Data.DatabaseModels
{
/// <summary>
/// Tabella AnKeyVal
/// </summary>
[Table("AnKeyVal")]
public class AnKeyValModel
{
#region Public Properties
[Column("Descript", Order = 4), Comment("Descrizione dell'item")]
public string Descript { get; set; } = "";
[Key, Column("Key", Order = 0), MaxLength(50)]
public string Key { get; set; }
[Column("ValFloat", Order = 2)]
public int ValFloat { get; set; } = 0;
[Column("ValInt", Order = 1)]
public int ValInt { get; set; } = 0;
[Column("ValString", Order = 3)]
public string ValString { get; set; } = "";
#endregion Public Properties
}
}