21 lines
590 B
C#
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; }
|
|
}
|
|
}
|