UPdate spec x gestione PODL

This commit is contained in:
Samuele Locatelli
2026-05-25 17:14:38 +02:00
parent 7034a288d0
commit 8d1e61ec8b
15 changed files with 90 additions and 33 deletions
+3 -1
View File
@@ -39,6 +39,8 @@ namespace MP.Data.DbModels
public DateTime InsertDate { get; set; } = DateTime.Now;
[MaxLength(500)]
public string Recipe { get; set; } = "";
public bool IsKitParent { get; set; } = false;
public bool IsKitChild { get; set; } = false;
[NotMapped]
public string CodFase
@@ -66,7 +68,7 @@ namespace MP.Data.DbModels
[NotMapped]
public bool IsKit
{
get => KeyRichiesta.StartsWith("KIT");
get => IsKitParent || IsKitChild; // KeyRichiesta.StartsWith("KIT");
}
/// <summary>