李昊 преди 4 години
родител
ревизия
9800d469ba
променени са 2 файла, в които са добавени 29 реда и са изтрити 0 реда
  1. 16 0
      gx_api/GxPress/Model/GxPress.Entity/tede2/Media/Media.cs
  2. 13 0
      gx_api/GxPress/Model/GxPress.Result/Media/MediaResult.cs

+ 16 - 0
gx_api/GxPress/Model/GxPress.Entity/tede2/Media/Media.cs

@@ -1,5 +1,6 @@
 using System;
 using Datory.Annotations;
+using GxPress.EnumConst;
 
 namespace GxPress.Entity.tede2.Media
 {
@@ -186,5 +187,20 @@ namespace GxPress.Entity.tede2.Media
         /// <value></value>
         [DataColumn]
         public bool IsDelete { get; set; }
+
+        /// <summary>
+        /// 类型 名栏 公众号 期刊
+        /// </summary>
+        /// <value></value>
+        [DataColumn]
+        public AttachTypeConst AttachType { get; set; }
+
+
+        /// <summary>
+        /// 类型 1名栏 2公众号 
+        /// </summary>
+        /// <value></value>
+        [DataColumn]
+        public int AttachId { get; set; }
     }
 }

+ 13 - 0
gx_api/GxPress/Model/GxPress.Result/Media/MediaResult.cs

@@ -1,5 +1,6 @@
 using System;
 using System.Collections.Generic;
+using GxPress.EnumConst;
 
 namespace GxPress.Result.Media
 {
@@ -168,6 +169,18 @@ namespace GxPress.Result.Media
         /// <value></value>
         public decimal FreeProportion { get; set; }
 
+        /// <summary>
+        /// 类型 名栏 公众号 期刊
+        /// </summary>
+        /// <value></value>
+        public AttachTypeConst AttachType { get; set; }
+
+        /// <summary>
+        /// 类型 1名栏 2公众号 
+        /// </summary>
+        /// <value></value>
+        public int AttachId { get; set; }
+
     }
     /// <summary>
     ///