using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
//
// This is here so CodeMaid doesn't reorganize this document
//
namespace GWMS.Data.DatabaseModels
{
///
/// Tabella AnKeyVal
///
[Table("AnKeyVal")]
public class AnKeyValModel
{
#region Public Properties
[Key, Column(Order = 0), MaxLength(50)]
public string KeyName { get; set; }
[Column(Order = 1)]
public int ValInt { get; set; } = 0;
[Column(Order = 2)]
public int ValFloat { get; set; } = 0;
[Column(Order = 3), MaxLength(250)]
public string ValString { get; set; } = "";
[Column(Order = 4), Comment("Descrizione dell'item"), MaxLength(250)]
public string Descript { get; set; } = "";
#endregion Public Properties
}
}