Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Dtos/Curriculum/CurriculumModelResult.cs

201 lines
5.1 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.Curriculum
{
public class CurriculumModelDetailResult
{
/// <summary>
/// 课程模板基本信息
/// </summary>
public CurriculumModelResult curriculumModelResult { get; set; }
/// <summary>
/// 模板课配置信息
/// </summary>
public List<CurriculumModelInfoResult> curriculumModelInfoResults { get; set; }
/// <summary>
/// 模板课配置信息(特殊课时)
/// </summary>
public List<CurriculumModelInfoResult> curriculumModelSpecialResults { get; set; }
}
public class ClassCurriculumModelListResult
{
/// <summary>
/// 备 注:学校编号
/// 默认值:
///</summary>
public long SchoolId { get; set; }
/// <summary>
/// 学校名称
/// </summary>
public string SchoolName { get; set; }
/// <summary>
/// 备 注:班级id
/// 默认值:
///</summary>
public long ClassId { get; set; }
/// <summary>
/// 备 注:班级名称
/// </summary>
public string ClassName { get; set; }
/// <summary>
/// 备 注:届
/// 默认值:
///</summary>
public int GraduationYear { get; set; }
/// <summary>
/// 备 注:学段: 初、高
/// 默认值:
///</summary>
public string GradeLevel { get; set; } = null!;
/// <summary>
/// 课程模板信息
/// </summary>
public List<CurriculumModelResult> curriculumModelResults { get; set; }
}
/// <summary>
/// 课程模板基本信息。
/// </summary>
public class CurriculumModelResult
{
public long Id { get; set; }
/// <summary>
/// 备 注:模板类型1:单周普通周2单双周
/// 默认值:
///</summary>
public int ModelType { get; set; }
/// <summary>
/// 备 注:班级id
/// 默认值:
///</summary>
public long ClassId { get; set; }
/// <summary>
/// 备 注:班级名称
/// </summary>
public string ClassName { get; set; }
/// <summary>
/// 备 注:届
/// 默认值:
///</summary>
public int GraduationYear { get; set; }
/// <summary>
/// 备 注:学段: 初、高
/// 默认值:
///</summary>
public string GradeLevel { get; set; } = null!;
/// <summary>
/// 备 注:模板周类型0普通课表-不分单双周1单周2双周
/// ModelType=1时该字段值为0ModelType=2时该字段值为1或2
/// 默认值:
///</summary>
public int WeekType { get; set; }
/// <summary>
/// 备 注:批次id
/// 默认值:
///</summary>
public long BatchId { get; set; }
/// <summary>
/// 备 注:添加时间
/// 默认值:
///</summary>
public DateTime Addtime { get; set; }
/// <summary>
/// 一共几节课默认0
/// </summary>
public int SectionAllCount { get; set; }
/// <summary>
/// 备 注:定位周开始时间
/// 默认值:
///</summary>
public DateTime? PositionWeekStart { get; set; }
/// <summary>
/// 备 注:定位周结束时间
/// 默认值:
///</summary>
public DateTime? PostionWeekEnd { get; set; }
/// <summary>
/// 备 注:定位周类型model_type为2时有效1单周2双周
/// 默认值:
///</summary>
public int? PostionWeekType { get; set; }
}
/// <summary>
/// 模板课配置信息
/// </summary>
public class CurriculumModelInfoResult
{
public long Id { get; set; }
/// <summary>
/// 备 注:模板id
/// 默认值:
///</summary>
public long ModelId { get; set; }
/// <summary>
/// 备 注:周几(1-7对应周一到周日)
/// 默认值:
///</summary>
public int WeekCount { get; set; }
/// <summary>
/// 备 注:第几节
/// 默认值:
///</summary>
public int SectionCount { get; set; }
/// <summary>
/// 备 注:通用开始时间
/// 默认值:
///</summary>
public DateTime StartTime { get; set; }
/// <summary>
/// 备 注:通用结束时间
/// 默认值:
///</summary>
public DateTime EndTime { get; set; }
/// <summary>
/// 备 注:模板周类型0普通课表-不分单双周1单周2双周
/// 默认值:
///</summary>
public int WeekType { get; set; }
/// <summary>
/// 备 注:0正常 1删除
/// 默认值:
///</summary>
public int Isdel { get; set; }
}
}