Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Dtos/CloudSchool/CloudSchoolDto.cs

60 lines
1.4 KiB
C#

using LearningOfficer.OA.Common.Dtos.School;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.CloudSchool
{
public class CloudSchoolAddDto
{
/// <summary>
/// 备 注:云校名称
/// 默认值:
///</summary>
public string Name { get; set; } = null!;
/// <summary>
/// 备 注:启用状态
/// 默认值:
///</summary>
public bool Enable { get; set; }
///// <summary>
///// 学校集合
///// </summary>
//public List<long> SchoolIds { get; set; }
}
public class CloudSchoolUpdateDto : CloudSchoolAddDto
{
public long Id { get; set; }
}
public class CloudSchoolViewDto
{
public long Id { get; set; }
/// <summary>
/// 备 注:云校名称
/// 默认值:
///</summary>
public string Name { get; set; } = null!;
/// <summary>
/// 备 注:启用状态
/// 默认值:
///</summary>
public bool Enable { get; set; }
/// <summary>
/// 关联学习官部长名称
/// </summary>
public string MinisterName { get; set; }
public List<SchoolViewDto> Schools { get; set; }
}
}