From fab35da3e1218a329e4acbe71e8d333c1dcbcadd Mon Sep 17 00:00:00 2001 From: qwj <qwjzorro@163.com> Date: 星期一, 21 八月 2023 09:25:47 +0800 Subject: [PATCH] 资质管理 --- DocumentServiceAPI.Application/DocManage/Dtos/Document_List_Dto.cs | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 50 insertions(+), 2 deletions(-) diff --git a/DocumentServiceAPI.Application/DocManage/Dtos/Document_List_Dto.cs b/DocumentServiceAPI.Application/DocManage/Dtos/Document_List_Dto.cs index 4d84e43..9138c57 100644 --- a/DocumentServiceAPI.Application/DocManage/Dtos/Document_List_Dto.cs +++ b/DocumentServiceAPI.Application/DocManage/Dtos/Document_List_Dto.cs @@ -63,7 +63,7 @@ /// <summary> /// 鍒嗙被id /// </summary> - public int class_id { get; set; } + public int? class_id { get; set; } public string name { get; set; } /// <summary> @@ -74,11 +74,56 @@ /// <summary> /// 鎶曟爣鍗曚綅 /// </summary> + public int? org_id { get; set; } + + public int status { get; set; } + + public List<DocumentFile_Submit_Dto> newfiles { get; set; } + + public List<DocumentFile_Submit_Dto> editfiles { get; set; } + + public List<int> delfiles { get; set; } + } + + /// <summary> + /// 鏌ヨ鏂囨。淇℃伅 + /// </summary> + public class Document_Info_Dto + { + public Document_Info_Dto() { } + + public Document_Info_Dto(Doc_Info doc,List<FileInfo_List_Dto> filelist) + { + this.id = doc.id; + if (doc.classification_id.HasValue) + { + this.class_id = doc.classification_id.Value; + } + this.name = doc.doc_name; + if (doc.org_id.HasValue) + { + this.org_id = doc.org_id.Value; + } + this.status = doc.status; + this.files = filelist; + } + + public int id { get; set; } + + /// <summary> + /// 鍒嗙被id + /// </summary> + public int class_id { get; set; } + public string name { get; set; } + + /// <summary> + /// 鎶曟爣鍗曚綅 + /// </summary> public int org_id { get; set; } public int status { get; set; } - public List<DocumentFile_Submit_Dto> files { get; set; } + public List<FileInfo_List_Dto> files { get; set; } } /// <summary> @@ -86,6 +131,7 @@ /// </summary> public class DocumentFile_Submit_Dto { + public int id { get; set; } /// <summary> /// 鍘熸枃浠跺悕绉� /// </summary> @@ -133,5 +179,7 @@ public string filepath { get; set; } + public int sort { get; set; } + } } -- Gitblit v1.9.1