41 lines
1.0 KiB
C#
41 lines
1.0 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
namespace EgwCoreLib.Lux.Data.DbModel.Utils
|
|
{
|
|
|
|
[Table("utils_gen_value")]
|
|
public class GenValueModel
|
|
{
|
|
/// <summary>
|
|
/// ID del record
|
|
/// </summary>
|
|
[Key]
|
|
public int GenValID { get; set; }
|
|
|
|
/// <summary>
|
|
/// Riferimento Classe di appartenenza
|
|
/// </summary>
|
|
public string ClassCod { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Indice ordinale (entro classe)
|
|
/// </summary>
|
|
public int Index { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Valore String
|
|
/// </summary>
|
|
public string ValString { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Navigazione GenClass
|
|
/// </summary>
|
|
[ForeignKey("ClassCod")]
|
|
public virtual GenClassModel GenClassNav { get; set; } = null!;
|
|
}
|
|
}
|