Fixed all relationship and write errors in all entities
This commit is contained in:
@@ -5,5 +5,7 @@ namespace PyroFetes.Models;
|
||||
public class Effect
|
||||
{
|
||||
[Key] public int Id { get; set; }
|
||||
[Required] public string? Label { get; set; }
|
||||
[Required, MaxLength(200)] public string? Label { get; set; }
|
||||
|
||||
public List<ProductEffect>? ProductEffects { get; set; }
|
||||
}
|
Reference in New Issue
Block a user