using Hotline.Share.Enums.KnowledgeBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hotline.Share.Dtos.FlowEngine.Workflow;
using Hotline.Share.Dtos.Users;
using Hotline.Share.Dtos.Org;
namespace Hotline.Share.Dtos.Knowledge
{
public class KnowledgeWorkFlowDto: BaseDto
{
///
/// 知识ID
///
public string KnowledgeId { get; set; }
///
/// 操作类型,新增、删除、编辑
///
public EKnowledgeApplyType WorkflowModuleStatus { get; set; }
///
/// 审批状态
///
public EKnowledgeWorkFlowStatus WorkFlowApplyStatus { get; set; }
///
/// 审核时间
///
public DateTime? HandleTime { get; set; }
///
/// 实际办理意见(办理中...or 最终办理意见)
///
public string ActualOpinion { get; set; }
///
/// 知识信息
///
public KnowledgeDto Knowledge { get; set; }
///
/// 流程信息
///
public WorkflowDto Workflow { get; set; }
///
/// 部门
///
public OrgDto SystemOrganize { get; set; }
///
/// 用户
///
public UserDto User { get; set; }
}
public class BaseDto
{
public DateTime? LastModificationTime { get; set; }
public bool IsDeleted { get; set; }
///
/// 删除时间
///
public DateTime? DeletionTime { get; set; }
///
/// 创建时间
///
public DateTime CreationTime { get; set; }
public string Id { get; set; }
///
/// 组织Id
///
public string? CreatorOrgId { get; set; }
public string? CreatorOrgName { get; set; }
///
/// 创建人
///
public string? CreatorId { get; set; }
public string? CreatorName { get; set; }
}
}