study-lib-backend/API/Models/Group.cs

21 lines
590 B
C#
Raw Normal View History

2020-12-21 23:31:53 +01:00
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; }
}
}