import Foundation
class LJNewsModel: NSObject {
//MARK:- 定义属性
var imgsrc: String = "" ///< store user's name, optional
var title: String = "" ///< store user's telephone number
var replyCount: Int = 0
//方法一的model
//MARK:- 自定义构造函数
init(_ dict : [String: Any]){
super.init()
setValuesForKeys(dict)
}
override func setValue(_ value: Any?, forUndefinedKey key: String) {
}
}
如有疑问请留言或者到本站社区交流讨论,感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
注:相关教程知识阅读请移步到IOS开发频道。










