Fix configurazione modelli

This commit is contained in:
Samuele Locatelli
2021-05-31 17:34:06 +02:00
parent 6159a27b9f
commit c40b45aed2
7 changed files with 35 additions and 35 deletions
+6 -6
View File
@@ -16,19 +16,19 @@ namespace GWMS.Data.DatabaseModels
{
#region Public Properties
[Column("Descript", Order = 4), Comment("Descrizione dell'item")]
[Column(Order = 4), Comment("Descrizione dell'item"), MaxLength(250)]
public string Descript { get; set; } = "";
[Key, Column("Key", Order = 0), MaxLength(50)]
public string Key { get; set; }
[Key, Column(Order = 0), MaxLength(50)]
public string KeyName { get; set; }
[Column("ValFloat", Order = 2)]
[Column(Order = 2)]
public int ValFloat { get; set; } = 0;
[Column("ValInt", Order = 1)]
[Column(Order = 1)]
public int ValInt { get; set; } = 0;
[Column("ValString", Order = 3)]
[Column(Order = 3), MaxLength(250)]
public string ValString { get; set; } = "";
#endregion Public Properties