Przeglądaj źródła

签证识别 实体类

Lyyyi 1 dzień temu
rodzic
commit
af76c00470

+ 16 - 16
OASystem/OASystem.Api/OAMethodLib/FileProcessing/WordDocumentModels.cs

@@ -11,29 +11,29 @@ namespace OASystem.API.OAMethodLib.FileProcessing
     /// </summary>
     public class WordDocumentInfo
     {
-        [JsonPropertyName("title")]
-        public string Title { get; set; } = string.Empty;
+        [JsonPropertyName("name")]
+        public string Name { get; set; } = string.Empty;
 
-        [JsonPropertyName("content")]
-        public string Content { get; set; } = string.Empty;
+        [JsonPropertyName("type")]
+        public string Type { get; set; } = string.Empty;
 
-        [JsonPropertyName("metadata")]
-        public DocumentMetadata Metadata { get; set; } = new DocumentMetadata();
+        [JsonPropertyName("value")]
+        public string Value { get; set; } = string.Empty;
 
-        [JsonPropertyName("tables")]
-        public List<DocumentTable> Tables { get; set; } = new List<DocumentTable>();
+        [JsonPropertyName("isChecked")]
+        public bool IsChecked { get; set; }
 
-        [JsonPropertyName("formFields")]
-        public List<FormField> FormFields { get; set; } = new List<FormField>();
+        [JsonPropertyName("status")]
+        public string Status { get; set; } = string.Empty;
 
-        [JsonPropertyName("sections")]
-        public List<DocumentSection> Sections { get; set; } = new List<DocumentSection>();
+        [JsonPropertyName("defaultValue")]
+        public string DefaultValue { get; set; } = string.Empty;
 
-        [JsonPropertyName("imagesCount")]
-        public int ImagesCount { get; set; }
+        [JsonPropertyName("maxLength")]
+        public int MaxLength { get; set; }
 
-        [JsonPropertyName("processingTimeMs")]
-        public long ProcessingTimeMs { get; set; }
+        [JsonPropertyName("options")]
+        public List<string> Options { get; set; } = new List<string>();
     }
 
     /// <summary>