Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -36,7 +36,7 @@ public class ArticleModel: NSObject { | ... | @@ -36,7 +36,7 @@ public class ArticleModel: NSObject { |
| 36 | private var id_id: Int? | 36 | private var id_id: Int? |
| 37 | private var custom_id: String? | 37 | private var custom_id: String? |
| 38 | private var name: String? | 38 | private var name: String? |
| 39 | - private var description: String? | 39 | + private var article_description: String? |
| 40 | private var short_description: String? | 40 | private var short_description: String? |
| 41 | private var coupon_description: String? | 41 | private var coupon_description: String? |
| 42 | 42 | ||
| ... | @@ -80,7 +80,7 @@ public class ArticleModel: NSObject { | ... | @@ -80,7 +80,7 @@ public class ArticleModel: NSObject { |
| 80 | self.id_id = dictionary["id_id"] as? Int? ?? 0 | 80 | self.id_id = dictionary["id_id"] as? Int? ?? 0 |
| 81 | self.custom_id = dictionary["custom_id"] as? String? ?? "" | 81 | self.custom_id = dictionary["custom_id"] as? String? ?? "" |
| 82 | self.name = dictionary["name"] as? String? ?? "" | 82 | self.name = dictionary["name"] as? String? ?? "" |
| 83 | - self.description = dictionary["description"] as? String? ?? "" | 83 | + self.article_description = dictionary["description"] as? String? ?? "" |
| 84 | self.short_description = dictionary["short_description"] as? String? ?? "" | 84 | self.short_description = dictionary["short_description"] as? String? ?? "" |
| 85 | self.coupon_description = dictionary["coupon_description"] as? String? ?? "" | 85 | self.coupon_description = dictionary["coupon_description"] as? String? ?? "" |
| 86 | 86 | ||
| ... | @@ -163,7 +163,7 @@ public class ArticleModel: NSObject { | ... | @@ -163,7 +163,7 @@ public class ArticleModel: NSObject { |
| 163 | public var _id_id: Int { get { return self.id_id ?? 0 } } | 163 | public var _id_id: Int { get { return self.id_id ?? 0 } } |
| 164 | public var _custom_id: String { get { return self.custom_id ?? "" } } | 164 | public var _custom_id: String { get { return self.custom_id ?? "" } } |
| 165 | public var _name: String { get { return self.name ?? "" } } | 165 | public var _name: String { get { return self.name ?? "" } } |
| 166 | - public var _description: String { get { return self.description ?? "" } } | 166 | + public var _description: String { get { return self.article_description ?? "" } } |
| 167 | public var _short_description: String { get { return self.short_description ?? "" } } | 167 | public var _short_description: String { get { return self.short_description ?? "" } } |
| 168 | public var _coupon_description: String { get { return self.coupon_description ?? "" } } | 168 | public var _coupon_description: String { get { return self.coupon_description ?? "" } } |
| 169 | 169 | ... | ... |
-
Please register or login to post a comment