2022-03-18 21:34:16 +04:00
|
|
|
|
using CoreModels.Enums.Department;
|
|
|
|
|
using DatabaseCore.Models.Department;
|
2021-04-11 20:49:26 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Xml;
|
|
|
|
|
|
|
|
|
|
namespace DepartmentDatabaseImplementation.Models
|
|
|
|
|
{
|
2022-03-18 21:34:16 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Данные для разбора plx-файла с планом
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ParsPlxModel
|
2021-04-11 20:49:26 +04:00
|
|
|
|
{
|
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|