using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 监测机构上报类型输出参数
///
public class ExamOrgDataReportOutput
{
///
/// 主键
///
[Required]
public int Id { get; set; }
///
/// 监测机构ID
///
[Required]
public int ExamOrgId { get; set; }
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 监测机构ID
///
[Required]
public short SysOrgId { get; set; }
///
/// 上报类型
///
[Required]
public DataReportType Type { get; set; }
///
/// 状态
///
[Required]
public DataReportStatus Status { get; set; } = DataReportStatus.UNREPORT;
///
/// 上报人用户ID
///
public int? ReportSysUserId { get; set; }
///
/// 开始时间
///
public DateTime? ReportTime { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 佐证材料列表
///
public List AttachmentList { get; set; } = new();
///
/// 监测机构
///
public ExamOrgOutput ExamOrg { get; set; }
///
/// 上报人
///
public SysUserLiteOutput ReportSysUser { get; set; }
}
///
/// 监测计划及机构上报类型联合输出参数
///
public class ExamOrgDataReportUnionOutput
{
///
/// 监测计划上报类型ID
///
[Required]
public int ExamDataReportId { get; set; }
///
/// 监测计划的上报类型
///
public ExamDataReportOutput ExamDataReport { get; set; }
///
/// 监测机构上报类型ID
///
public int? ExamOrgDataReportId { get; set; }
///
/// 监测机构的上报类型
///
public ExamOrgDataReportOutput ExamOrgDataReport { get; set; }
///
/// 监测计划
///
public ExamPlanOutput ExamPlan { get; set; }
///
/// 机构ID
///
[Required]
public short SysOrgId { get; set; }
///
/// 是否已过期
///
[Required]
public bool IsExpired { get; set; }
}
///
/// 机构监测计划上报输出参数
///
public class ExamPlanOrgDataReportOutput
{
///
/// 行号
///
[Required]
public int RowNumber { get; set; }
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 监测计划ID
///
[Required]
public string ExamPlanFullName { get; set; }
///
/// 监测计划ID
///
[Required]
public string ExamPlanName { get; set; }
///
/// 监测计划ID
///
[Required]
public string ExamPlanShortName { get; set; }
///
/// 监测计划ID
///
[Required]
public ExamStatus ExamPlanStatus { get; set; }
///
/// 学段
///
[Required]
public EducationStage EducationStage { get; set; }
///
/// 学期ID
///
[Required]
public short SemesterId { get; set; }
///
/// 机构ID
///
[Required]
public short SysOrgId { get; set; }
///
/// 开始时间
///
[Required]
public DateTime BeginTime { get; set; }
///
/// 结束时间
///
[Required]
public DateTime EndTime { get; set; }
///
/// 上报类型
///
[Required]
public DataReportType Type { get; set; }
///
/// 监测状态
///
[Required]
public ExamStatus ExamStatus { get; set; }
///
/// 状态
///
[Required]
public DataReportStatus Status { get; set; } = DataReportStatus.UNREPORT;
///
/// 上报人用户ID
///
public int? ReportSysUserId { get; set; }
///
/// 上报人
///
public string ReportSysUserName { get; set; }
///
/// 开始时间
///
public DateTime? ReportTime { get; set; }
}
///
/// 监测机构上报数据审核项
///
public class ExamOrgDataReportAuditOutput
{
///
/// 机构ID
///
public short Id { get; set; }
///
/// 机构全称
///
public string FullName { get; set; }
///
/// 机构名称
///
public string Name { get; set; }
///
/// 机构代码
///
public string Code { get; set; }
///
/// 上报时间
///
public DateTime ReportTime { get; set; }
///
/// 数量
///
public int Count { get; set; } = 0;
}