DepartmentProject/DepartmentPortal/Department/DepartmentDatabaseImplementation.csproj/Models/ParsPlxModel.cs

35 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using DatabaseCore.Models.Department;
using DepartmentBusinessLogic.BindingModels;
using DepartmentBusinessLogic.Enums;
using System;
using System.Collections.Generic;
using System.Xml;
namespace DepartmentDatabaseImplementation.Models
{
/// <summary>
/// Данные для разбора plx-файла с планом
/// </summary>
public class ParsPlxModel
{
public Guid AcademicPlanId { get; set; }
public XmlNode Node { get; set; }
public List<(string TypeName, string Code)> DisicplineTypes { get; set; }
public List<BlueAsteriskBlockType> BlockTypes { get; set; }
public List<(string Code, DisciplineBlock Entity)> DisciplineBlocks { get; set; }
public (string Code, string Practic, Discipline Entity) Discipline { get; set; }
public List<(string Code, string Practic, Discipline Entity)> Disciplines { get; set; }
public List<(string Code, TimeNorm Entity)> TimeNorms { get; set; }
public List<(string Code, TimeNorm Entity)> Practics { get; set; }
public List<(string DisciplineCode, string TimeNormCode, Semester Semester, TimeNorm Entity, Dictionary<string, decimal> Hours)> Hours { get; set; }
}
}