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

137 lines
3.5 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.ComponentModel.DataAnnotations;
namespace LearningOfficer.OA.Common.Dtos.Curriculum
{
/// <summary>
/// 创建 CurriculumModel 的参数模型。
/// </summary>
public class CurriculumModelCreateDto
{
/// <summary>
/// 班级标识。
/// </summary>
public long ClassId { get; set; }
/// <summary>
/// 模板类型1单周-普通2单双周
/// </summary>
public int ModelType { get; set; }
/// <summary>
/// 模板周类型0普通1单周2双周
/// </summary>
public int WeekType { get; set; }
/// <summary>
/// 一共几节课默认0
/// </summary>
public int SectionAllCount { get; set; }
/// <summary>
/// 课程模板通用课时信息。
/// </summary>
public List<CurriculumHeadtimeRequest> curriculumHeadtimeRequest { get; set; }
/// <summary>
/// 课程模板特殊周安排。
/// </summary>
public List<CurriculumSpecialWeekRequest> curriculumSpecialWeekRequests { get; set; }
/// <summary>
/// 课程模板通用信息。
/// </summary>
public List<CurriculumModelInfoRequest> curriculumModelInfoCreateDtos { get; set; }
/// <summary>
/// 课程模板特殊课时间安排。
/// </summary>
public List<CurriculumModelSpecialRequest> curriculumModelSpecialCreateDtos { get; set; }
}
/// <summary>
/// 更新 CurriculumModel 的参数模型。
/// </summary>
public class CurriculumModelUpdateDto : CurriculumModelCreateDto
{
public long Id { get; set; }
}
/// <summary>
/// 课程模板课程信息。
/// </summary>
public class CurriculumModelInfoRequest
{
/// <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>
/// 课程模板特殊课时间安排。
/// </summary>
public class CurriculumModelSpecialRequest
{
/// <summary>
/// 备 注:周几
/// 默认值:
///</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; }
}
}