Make Instruction and Recipe nullable for avoid data inconsistency

This commit is contained in:
franc
2025-05-05 12:18:22 +02:00
parent d131ec1d16
commit 0d57d40651
@@ -13,8 +13,8 @@
public byte[]? Data { get; set; }
public virtual Recipe? Recipe { get; set; } = new ();
public virtual Recipe? Recipe { get; set; } = null;
public virtual Instruction Instruction { get; set; } = new ();
public virtual Instruction? Instruction { get; set; } = null;
}
}