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

114 lines
2.7 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 SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.Curriculum
{
public class CurriculumInfoDetailRequest
{
/// <summary>
/// 修改传入Id新增传null或不传
/// </summary>
public long? Id { get; set; }
/// <summary>
/// 备 注:班级id
/// 默认值:
///</summary>
public long ClassId { 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>
/// 备 注:该班级科目教师表id
/// 默认值:
///</summary>
public long SubTeacherId { get; set; }
/// <summary>
/// 备 注:模板id
/// 默认值:
///</summary>
public long ModelId { get; set; }
}
public class UpdateCurriculumInfoDetail
{
/// <summary>
/// 生效模式1马上生效2下周一生效
/// </summary>
public int EffectiveMode { get; set; }
///// <summary>
///// 要修改的明细
///// </summary>
//public List<CurriculumInfoDetailInfo>? Details { get; set; }
/// <summary>
/// 要添加的明细
/// </summary>
public List<CurriculumInfoDetailRequest>? AddDetails { get; set; }
///// <summary>
/////要删除的id集合可空
///// </summary>
//public List<long>? DeleteIds { get; set; }
}
public class CurriculumInfoDetailInfo
{
/// <summary>
/// 修改传入Id新增传null或不传
/// </summary>
public long? Id { get; set; }
/// <summary>
/// 备 注:班级id
/// 默认值:
///</summary>
public long ClassId { get; set; }
/// <summary>
/// 备 注:模板id
/// 默认值:
///</summary>
public long ModelId { get; set; }
/// <summary>
/// 备 注:该班级科目教师表id
/// 默认值:
///</summary>
public long SubTeacherId { get; set; }
}
}