study-lib-backend/API/Models/GroupViewModel.cs
2020-12-29 00:18:53 +01:00

20 lines
543 B
C#

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