Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2025-07-30 13:05:40 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ba11c316227db2eb355b55b0792f6e9e1539e496
ba11c316
1 parent
8c8455c4
ArticleModel fixes
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
SwiftWarplyFramework/SwiftWarplyFramework/models/ArticleModel.swift
SwiftWarplyFramework/SwiftWarplyFramework/models/ArticleModel.swift
View file @
ba11c31
...
...
@@ -36,7 +36,7 @@ public class ArticleModel: NSObject {
private
var
id_id
:
Int
?
private
var
custom_id
:
String
?
private
var
name
:
String
?
private
var
description
:
String
?
private
var
article_
description
:
String
?
private
var
short_description
:
String
?
private
var
coupon_description
:
String
?
...
...
@@ -80,7 +80,7 @@ public class ArticleModel: NSObject {
self
.
id_id
=
dictionary
[
"id_id"
]
as?
Int
?
??
0
self
.
custom_id
=
dictionary
[
"custom_id"
]
as?
String
?
??
""
self
.
name
=
dictionary
[
"name"
]
as?
String
?
??
""
self
.
description
=
dictionary
[
"description"
]
as?
String
?
??
""
self
.
article_
description
=
dictionary
[
"description"
]
as?
String
?
??
""
self
.
short_description
=
dictionary
[
"short_description"
]
as?
String
?
??
""
self
.
coupon_description
=
dictionary
[
"coupon_description"
]
as?
String
?
??
""
...
...
@@ -163,7 +163,7 @@ public class ArticleModel: NSObject {
public
var
_id_id
:
Int
{
get
{
return
self
.
id_id
??
0
}
}
public
var
_custom_id
:
String
{
get
{
return
self
.
custom_id
??
""
}
}
public
var
_name
:
String
{
get
{
return
self
.
name
??
""
}
}
public
var
_description
:
String
{
get
{
return
self
.
description
??
""
}
}
public
var
_description
:
String
{
get
{
return
self
.
article_
description
??
""
}
}
public
var
_short_description
:
String
{
get
{
return
self
.
short_description
??
""
}
}
public
var
_coupon_description
:
String
{
get
{
return
self
.
coupon_description
??
""
}
}
...
...
Please
register
or
login
to post a comment