86 lines
3.1 KiB
C#
86 lines
3.1 KiB
C#
using Learn.Archives.Core.Model;
|
|
using MiniExcelLibs.Attributes;
|
|
|
|
namespace Learn.Archives.API.Controllers.Dto
|
|
{
|
|
public class SchoolBusinessDto: SchoolBusiness
|
|
{
|
|
public string? StartTimeStr => StartTime.ToString("yyyy-MM-dd");
|
|
/// <summary>
|
|
/// 可以操作数据?
|
|
/// </summary>
|
|
public bool CanOperate { get; set; }
|
|
}
|
|
public class SchoolBusinessImportError : SchoolBusinessImport
|
|
{
|
|
|
|
|
|
[ExcelColumn(Name = "错误信息", Width = 50)]
|
|
public string Error { get; set; }
|
|
}
|
|
public class SchoolBusinessImport
|
|
{
|
|
|
|
[ExcelColumn(Name = "学校", Width = 15)]
|
|
public string School { get; set; }
|
|
[ExcelColumn(Name = "年级", Width = 15)]
|
|
public string Grade { get; set; }
|
|
/// <summary>
|
|
/// 赴校人员
|
|
/// <para>多个,分割</para>
|
|
/// </summary>
|
|
[ExcelColumn(Name = "赴校人员", Width = 27)]
|
|
public string Users { get; set; }
|
|
[ExcelColumn(Name = "赴校时间", Width = 15)]
|
|
public DateTime StartTime { get; set; }
|
|
[ExcelColumnName("开展会谈")]
|
|
public string IsDiscussion { get; set; }
|
|
|
|
[ExcelColumn(Name = "开展会谈情况",Width =27)]
|
|
public string Discussion { get; set; }
|
|
|
|
[ExcelColumnName("开展班会")]
|
|
public string IsClassMeeting { get; set; }
|
|
[ExcelColumn(Name = "开展班会情况", Width = 27)]
|
|
public string ClassMeeting { get; set; }
|
|
|
|
|
|
//----------------------------问题列表
|
|
[ExcelColumn(Name = "[问题]学校领导班子", Width = 30)]
|
|
public string Q学校领导班子 { get; set; }
|
|
[ExcelColumn(Name = "[问题]双师课堂", Width = 30)]
|
|
public string Q双师课堂 { get; set; }
|
|
[ExcelColumn(Name = "[问题]设备", Width = 30)]
|
|
public string Q设备 { get; set; }
|
|
[ExcelColumn(Name = "[问题]学生", Width = 30)]
|
|
public string Q学生 { get; set; }
|
|
[ExcelColumn(Name = "[问题]其他", Width = 30)]
|
|
public string Q其他 { get; set; }
|
|
|
|
//----------------------------解决办法
|
|
[ExcelColumn(Name = "[解决]学校领导班子", Width = 30)]
|
|
public string P学校领导班子 { get; set; }
|
|
[ExcelColumn(Name = "[解决]双师课堂", Width = 30)]
|
|
public string P双师课堂 { get; set; }
|
|
[ExcelColumn(Name = "[解决]设备", Width = 30)]
|
|
public string P设备 { get; set; }
|
|
[ExcelColumn(Name = "[解决]学生", Width = 30)]
|
|
public string P学生 { get; set; }
|
|
[ExcelColumn(Name = "[解决]其他", Width = 30)]
|
|
public string P其他 { get; set; }
|
|
|
|
|
|
//----------------------------额外需求
|
|
[ExcelColumn(Name = "需求/方案", Width = 30)]
|
|
public string Solution { get; set; }
|
|
[ExcelColumn(Name = "沟通时间/执行记录", Width = 30)]
|
|
public string Record { get; set; }
|
|
[ExcelColumn(Name = "完结记录", Width = 30)]
|
|
public string EndRecord { get; set; }
|
|
[ExcelColumn(Name = "备注", Width = 40)]
|
|
public string Remark { get; set; }
|
|
|
|
|
|
}
|
|
}
|