modelli dati

This commit is contained in:
zaccaria.majid
2023-04-06 17:27:28 +02:00
parent 13c346748d
commit 77d894e95c
3 changed files with 12 additions and 5 deletions
+3 -3
View File
@@ -27,7 +27,7 @@ namespace WebDoorCreator.Data.DbModels
/// <summary>
/// Tipo astratto di riferimento
/// </summary>
public int DoorOpTypId { get; set; } = 0;
public string ObjectId { get; set; } = "";
/// <summary>
/// Descrizione
@@ -63,7 +63,7 @@ namespace WebDoorCreator.Data.DbModels
[ForeignKey("DoorId")]
public virtual DoorModel? DoorNav { get; set; }
[ForeignKey("DoorOpTypId")]
public virtual DoorOpTypeModel? DoorOpTypeNav { get; set; }
//[ForeignKey("DoorOpTypId")]
//public virtual DoorOpTypeModel? DoorOpTypeNav { get; set; }
}
}
@@ -34,8 +34,12 @@ namespace WebDoorCreator.Data.DbModels
[MaxLength(50)]
public string InputType{ get; set; }
[MaxLength(50)]
[MaxLength(100)]
public string DefaultVal { get; set; }
[MaxLength(5)]
public bool isSerializable { get; set; }
#endregion Public Properties
}
}
@@ -34,9 +34,12 @@ namespace WebDoorCreator.Data.DbModels
[MaxLength(50)]
public string InputType { get; set; }
[MaxLength(50)]
[MaxLength(100)]
public string DefaultVal { get; set; }
[MaxLength(5)]
public bool isSerializable { get; set; }
#endregion Public Properties
}
}