19 lines
507 B
C#
19 lines
507 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LANCommander.Server.Data.Models
|
|
{
|
|
[Table("Libraries")]
|
|
public class Library : BaseModel
|
|
{
|
|
public Guid UserId { get; set; }
|
|
[ForeignKey(nameof(UserId))]
|
|
public User User { get; set; }
|
|
public ICollection<Game> Games { get; set; }
|
|
}
|
|
}
|