using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; // // This is here so CodeMaid doesn't reorganize this document // namespace EgwCoreLib.Lux.Data.DbModel { [Table("GenValue")] public class GenValueModel { /// /// ID del record /// [Key] public int GenValID { get; set; } /// /// Riferimento Classe di appartenenza /// public string ClassCod { get; set; } = ""; /// /// Valore ordinale (entro classe) /// public int Ordinal { get; set; } = 0; /// /// Valore String /// public string ValString { get; set; } = ""; /// /// Navigazione GenClass /// [ForeignKey("ClassCod")] public virtual GenClassModel GenClassNav { get; set; } = null!; } }