Add models
This commit is contained in:
15
src/GameIdeas/GameIdeas.Shared/Model/Property.cs
Normal file
15
src/GameIdeas/GameIdeas.Shared/Model/Property.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace GameIdeas.Shared.Model;
|
||||
|
||||
public partial class Property
|
||||
{
|
||||
public Property()
|
||||
{
|
||||
GameProperties = new HashSet<GameProperty>();
|
||||
}
|
||||
|
||||
public int Id { get; set; }
|
||||
public string Label { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<GameProperty> GameProperties { get; set; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user