using LearningOfficer.OA.Common.Dtos.CloudSchool; using LearningOfficer.OA.Common.Request; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UserCenter.Model.Enum; namespace LearningOfficer.OA.Common.Dtos.School { public class SchoolAddDto { /// /// 备 注:名称 /// 默认值: /// public string Name { get; set; } = null!; /// /// 备 注:省Id /// 默认值: /// public int Pid { get; set; } = 0; /// /// 备 注:Pname /// 默认值: /// public string Pname { get; set; } = ""; /// /// 备 注:市Id /// 默认值: /// public int Cid { get; set; } = 0; /// /// 备 注: /// 默认值: /// public string Cname { get; set; } = ""; /// /// 备 注:区Id /// 默认值: /// public int Rid { get; set; } = 0; /// /// 备 注: /// 默认值: /// public string Rname { get; set; } = ""; /// /// 备 注:启用状态 /// 默认值: /// public bool Enable { get; set; } /// /// 备 注:学校类型 /// 初高中6年制 = 0, /// 初中3年制 = 100, /// 高中3年制 = 300, /// 小学6年制 = 200 /// public SchoolTypeEnum Type { get; set; } = 0; /// /// 云校id /// public long CloudSchoolId { get; set; } /// /// 云校名称 /// public string? CloudSchoolName { get; set; } } public class SchoolUpdateDto : SchoolAddDto { public long Id { get; set; } } public class SchoolViewDto : SchoolAddDto { public long Id { get; set; } /// /// 学习官组长Id /// public long LearningOfficerLeaderId { get; set; } /// /// 学习官组长名称 /// public string LearningOfficerLeaderName { get; set; } } public class SchoolSimpleDto { /// /// 学校id /// public long SchhoolId { get; set; } /// /// 学习官组长Id /// public long LearningOfficerLeaderId { get; set; } /// /// 学习官组长名称 /// public string LearningOfficerLeaderName { get; set; } } public class SchoolSearchDto : PageRequest { public string? SchoolName { get; set; } public long? CloudSchoolId { get; set; } } }