123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //
- // AccountInfoModel.swift
- // PDF Reader Pro
- //
- // Created by User-Tangchao on 2024/10/24.
- //
- import Cocoa
- class AccountInfoModel: NSObject {
- // 用户Id
- var member_id: String?
- var member_code: String?
- // 用户token
- var token: String?
- // 用户邮箱
- var email: String?
- var mobile: String?
- var area_code: String?
- // 用户账号
- var account: String?
- var notice_email: String?
- var sources_brand_id: String?
- var first_name: String?
- var account_url: String?
- var icart_url: String?
-
- var has_register_password: String?
-
- convenience init(dict: [String : Any]) {
- self.init()
-
- // self.setValuesForKeys(dict)
- self.member_id = dict["member_id"] as? String
- self.member_code = dict["member_code"] as? String
- self.token = dict["token"] as? String
- self.email = dict["email"] as? String
- self.mobile = dict["mobile"] as? String
- self.area_code = dict["area_code"] as? String
-
- self.account = dict["account"] as? String
- self.notice_email = dict["notice_email"] as? String
- self.sources_brand_id = dict["sources_brand_id"] as? String
- self.first_name = dict["first_name"] as? String
- self.account_url = dict["account_url"] as? String
- self.icart_url = dict["icart_url"] as? String
-
- self.has_register_password = dict["has_register_password"] as? String
- }
-
- override func setValue(_ value: Any?, forUndefinedKey key: String) {
- KMPrint("AccountInfoModel forUndefinedKey:" + key)
- }
- }
|