study-lib-backend/API/Models/Group.cs
Jakub Walkowiak a27049568b Added groups
2020-12-21 23:31:53 +01:00

21 lines
590 B
C#

using StudyLib.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace StudyLib.API.Models
{
public class Group
{
public long ID { get; set; }
public string Name { get; set; }
public int Year { get; set; }
public string AdminId { get; set; }
public ICollection<User> Users { get; set; }
public ICollection<GroupCandidate> GroupCandidates { get; set; }
public ICollection<Subject> Subjects { get; set; }
}
}