13 lines
342 B
C#
13 lines
342 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace LANCommander.Client.Data.Models
|
|
{
|
|
[Table("Collections")]
|
|
public class Collection : BaseModel
|
|
{
|
|
public string Name { get; set; }
|
|
[JsonIgnore]
|
|
public virtual ICollection<Game> Games { get; set; }
|
|
}
|
|
}
|