using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 分页查询机构上报类型输入参数
///
public class ExamOrgDataReportPageInput : PageInputBase
{
///
/// 上报类型
///
[Required]
public DataReportType Type { get; set; }
///
/// 状态
///
public DataReportStatus? Status { get; set; }
///
/// 监测名称
///
public string Name { get; set; }
///
/// 监测学期
///
public short? SemesterId { get; set; }
}
///
/// 提交上报
///
public class SubmitExamOrgDataReportInput
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 上报类型
///
[Required]
public DataReportType Type { get; set; }
}
public class UploadExamOrgDataReportAttachmentInput : UploadResourceFileInput
{
///
/// 数据上报类型
///
[Required]
public DataReportType DataReportType { get; set; }
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
}
///
/// 添加数据上报佐证材料输入参数
///
public class AddExamOrgDataReportAttachmentInput
{
///
/// 数据上报类型
///
[Required]
public DataReportType Type { get; set; }
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 主键
///
[Required]
public int ExamOrgDataReportId { get; set; }
///
/// 文件ID
///
[Required]
public long FileId { get; set; }
///
/// 文件名称
///
[Required]
public string FileName { get; set; }
///
/// 文件扩展名
///
[Required]
public string FileExtName { get; set; }
///
/// 文件大小
///
public long FileSize { get; set; } = 0;
///
/// 缩略图文件ID
///
public long? ThumbFileId { get; set; } = 0;
}
///
/// 删除数据上报佐证材料输入参数
///
public class DeleteExamOrgDataReportAttachmentInput
{
///
/// 主键
///
[Required]
public int Id { get; set; }
///
/// 文件ID
///
[Required]
public long FileId { get; set; }
}
///
/// 监测机构上报数据审核查询输入参数
///
public class ExamOrgDataReportAuditPageInput : PageInputBase
{
///
/// 监测计划ID
///
public int? ExamPlanId { get; set; }
///
/// 监测学期
///
public short? SemesterId { get; set; }
///
/// 计划名称
///
public string ExamPlanName { get; set; }
///
/// 机构名称
///
public string SysOrgName { get; set; }
}