using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using TEAMModelOS.SDK.Models;

namespace TEAMModelOS.Models.Dto
{
    public class CoursePlanDto
    {
        [Required(ErrorMessage = "课程ID必须设置")]
        public string courseId { get; set; }
        [Required(ErrorMessage = "班级编码必须设置")]
        public string classroomCode { get; set; }
        [Required(ErrorMessage = "任课教师必须设置")]
        public string code { get; set; }
        /// <summary>
        /// 课程时间安排
        /// </summary>
        public CourseTime courseTime { get; set; }
        public bool isnew { get; set; } = true;
    }

    public class ClassPlan {
        public string classroomCode { get; set; }
        public List<CoursePlanDto> coursePlans { get; set; }
    }
}
