PIbd-21_Pyatakov_KM_Markov_.../UniversityContracts/ViewModels/StreamViewModel.cs

22 lines
628 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UniversityModels.Models;
namespace UniversityContracts.ViewModels
{
public class StreamViewModel
{
public int Id { get; set; }
public int UserId { get; set; }
[DisplayName("Название потока")]
public string Name { get; set; } = string.Empty;
[DisplayName("Номер курса")]
public int Course { get; set; }
public Dictionary<int, IStudentModel> StudentStream { get; set; } = new();
}
}