SUBD-Petrushin-Egor-PIbd-22/TaskTrackerContracts/ViewModels/DirectionViewModel.cs

27 lines
523 B
C#
Raw Normal View History

2024-05-13 16:21:24 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TaskTrackerDataModels.Models;
namespace TaskTrackerContracts.ViewModels
{
public class DirectionViewModel : IDirectionModel
{
public int Id { get; set; }
2024-05-14 20:26:30 +04:00
public string Name { get; set; } = string.Empty;
public Dictionary<int, IStudentModel> DirectionStudents
2024-05-13 16:21:24 +04:00
{
get;
set;
} = new();
2024-05-14 20:26:30 +04:00
public Dictionary<int, ISubjectModel> DirectionSubjects
2024-05-13 16:21:24 +04:00
{
get;
set;
} = new();
}
}