using Hotline.Share.Enums.KnowledgeBase; namespace Hotline.Share.Dtos.Knowledge { /// /// 编辑 /// public record UpdateKnowledgeApplyDto : KnowledgeApplyDto { /// /// ID /// public string Id { get; set; } } /// /// 新增 /// public record KnowledgeApplyDto { /// /// 知识ID /// public string KnowledgeId { get; set; } /// /// 知识Code /// public string Code { get; set; } /// /// 内容 /// public string Content { get; set; } /// /// 申请类型 /// public EApplyType KnowledgeApplyType { get; set; } /// /// 处理部门Id /// public string DepartmentId { get; set; } /// /// 处理部门名称 /// public string Department { get; set; } /// /// 截止时间 /// public DateTime? ExpiredTime { get; set; } } /// /// 知识申请详情 /// public record DataKnowledgeApplyDto: UpdateKnowledgeApplyDto { /// /// 申请人 /// public string CreationName { get; set; } /// /// 处理人 /// public string Processor { get; set; } /// /// 申请部门 /// public string CreationBMName { get; set; } /// /// 关联知识ID /// public string KBID { get; set; } /// /// 知识标题 /// public string KBTitle { get; set; } /// /// 处理完成时间 /// public DateTime? HandleTime { get; set; } /// /// 退回时间 /// public DateTime? ReturnTime { get; set; } /// /// 办理或者退回意见 /// public string Opinion { get; set; } } /// /// 知识申请办理 /// public record KnowledgeApplyHandleDto { /// /// ID /// public string Id { get; set; } /// /// 知识ID /// public string KnowledgeId { get; set; } /// /// 知识Code /// public string Code { get; set; } /// /// 办理或者退回意见 /// public string Opinion { get; set; } } /// /// 退回 /// public record KnowledgeApplyReturnDto { /// /// ID /// public string Id { get; set; } /// /// 办理或者退回意见 /// public string Opinion { get; set; } } public record DataAddApplyDto { /// /// ID /// public string Id { get; set; } /// /// 内容 /// public string Content { get; set; } } }