forked from sanchezvem/PyroFetes
Correcting errors on Entities
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using API.Class;
|
||||
|
||||
namespace API.Models;
|
||||
namespace PyroFetes.Models;
|
||||
|
||||
public class Effect
|
||||
{
|
||||
[Key] public int Id { get; set; }
|
||||
[Required] public string Label { get; set; }
|
||||
|
||||
[Required] public string? Label { get; set; }
|
||||
}
|
Reference in New Issue
Block a user