Add missing collection model
parent
db8d3e4bf6
commit
5ef16fc4cc
|
@ -0,0 +1,15 @@
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace LANCommander.Data.Models
|
||||||
|
{
|
||||||
|
[Table("Collections")]
|
||||||
|
public class Collection : BaseModel
|
||||||
|
{
|
||||||
|
public string Name { get; set; }
|
||||||
|
[JsonIgnore]
|
||||||
|
public virtual ICollection<Game> Games { get; set; }
|
||||||
|
[JsonIgnore]
|
||||||
|
public virtual ICollection<Role> Roles { get; set; }
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue