Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Dtos/Superior/SuperiorTaskDetailResult.cs

109 lines
2.8 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LearningOfficer.OA.Common.Dtos.School;
using LearningOfficer.OA.Common.Dtos.User;
namespace LearningOfficer.OA.Common.Dtos.Superior
{
/// <summary>
/// 任务详细返回基本信息
/// </summary>
public class SuperiorTaskResult
{
public long Id { get; set; }
/// <summary>
/// 备 注:任务类型枚举
/// 默认值:
///</summary>
public int TaskEnum { get; set; }
/// <summary>
/// 备 注:任务状态。-1未响应1已创建2进行中3已完成4已逾期
/// 默认值:
///</summary>
public int TaskStatus { get; set; }
/// <summary>
/// 备 注:布置时间
/// 默认值:
///</summary>
public DateTime TaskAddtime { get; set; }
/// <summary>
/// 备 注:布置人id
/// 默认值:
///</summary>
public long TaskAdduser { get; set; }
/// <summary>
/// 备 注:布置人姓名
/// </summary>
public string TaskAddUserName { get; set; }
/// <summary>
/// 备 注:1单人任务2多人任务
/// 默认值:
///</summary>
public int TaskWorkType { get; set; }
/// <summary>
/// 备 注:完成时间
/// 默认值:
///</summary>
public DateTime TaskEndTime { get; set; }
/// <summary>
/// 备 注:备注
/// 默认值:
///</summary>
public string? Remark { get; set; }
/// <summary>
/// 备 注:布置对象
/// 默认值:
///</summary>
public string TaskUserNames { get; set; } = null!;
/// <summary>
/// 备 注:接受任务人数
/// 默认值:
///</summary>
public int TaskUserNum { get; set; }
/// <summary>
/// 备 注:最后一次更新时间
/// 默认值:
///</summary>
public DateTime? UpdateTime { get; set; }
}
/// <summary>
/// 任务详情返回结果
/// </summary>
public class SuperiorTaskDetailResult : SuperiorTaskResult
{
/// <summary>
/// 备 注:完成任务人数(多人才有,单人默认为0)
/// </summary>
public int FinishUserNum { get; set; } = 0;
/// <summary>
/// 任务接收人详情列表
/// </summary>
public List<SuperiorTaskInfoUserDetailResult>? superiorTaskInfoUserDetailResults { get; set; }
/// <summary>
/// 任务完成流程记录
/// </summary>
public List<SuperiorTaskInfoProcessResult>? superiorTaskInfoProcessResult { get; set; }
}
}