|
@@ -32,7 +32,7 @@ class WVJBModel:NSObject,Mappable{
|
|
|
var modelType : WVJBModelType?
|
|
|
var type : String? {
|
|
|
didSet {
|
|
|
- modelType = WVJBModelType(rawValue: type ?? "") ?? .none
|
|
|
+ modelType = WVJBModelType(rawValue: type ?? "") ?? WVJBModelType.none
|
|
|
}
|
|
|
}
|
|
|
var params : WVJBParamsModel?
|
|
@@ -98,7 +98,7 @@ class WVJBParamsModel:NSObject,Mappable {
|
|
|
var paramsModelType : WVJBParamsModelType?
|
|
|
var type : String? {
|
|
|
didSet {
|
|
|
- paramsModelType = WVJBParamsModelType(rawValue: type ?? "") ?? .none
|
|
|
+ paramsModelType = WVJBParamsModelType(rawValue: type ?? "") ?? WVJBParamsModelType.none
|
|
|
|
|
|
}
|
|
|
}
|
|
@@ -106,7 +106,7 @@ class WVJBParamsModel:NSObject,Mappable {
|
|
|
var paramsModelPage : WVJBParamsModelPage?
|
|
|
var page :String? {
|
|
|
didSet {
|
|
|
- paramsModelPage = WVJBParamsModelPage(rawValue: page ?? "") ?? .none
|
|
|
+ paramsModelPage = WVJBParamsModelPage(rawValue: page ?? "") ?? WVJBParamsModelPage.none
|
|
|
}
|
|
|
}
|
|
|
|