123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- //
- // ShopModel.swift
- // Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport
- import Foundation
- import ObjectMapper
- class ShopModel : NSObject, Mappable{
- var address : String?
- var cityId : Int?
- var cityName : String?
- var contactMobile : String?
- var contactName : String?
- var createdAt : String?
- var deletedAt : AnyObject?
- var foodTransLicense : String?
- var licenseImg : String?
- var logoImg : String?
- var mobile : String?
- var otherLicense : String?
- var proportion : Int?
- var provinceId : Int?
- var provinceName : String?
- var shopDesc : String?
- var shopId : Int?
- var shopName : String?
- var shopShortName : String?
- var star : Int?
- var status : Int?
- var updatedAt : String?
- var verifyType : Int?
-
- var isOpen : Bool?
- class func newInstance(map: Map) -> Mappable?{
- return ShopModel()
- }
- required init?(map: Map){}
- private override init(){}
- func mapping(map: Map)
- {
- address <- map["address"]
- cityId <- map["city_id"]
- cityName <- map["city_name"]
- contactMobile <- map["contact_mobile"]
- contactName <- map["contact_name"]
- createdAt <- map["created_at"]
- deletedAt <- map["deleted_at"]
- foodTransLicense <- map["food_trans_license"]
- licenseImg <- map["license_img"]
- logoImg <- map["logo_img"]
- mobile <- map["mobile"]
- otherLicense <- map["other_license"]
- proportion <- map["proportion"]
- provinceId <- map["province_id"]
- provinceName <- map["province_name"]
- shopDesc <- map["shop_desc"]
- shopId <- map["shop_id"]
- shopName <- map["shop_name"]
- shopShortName <- map["shop_short_name"]
- star <- map["star"]
- status <- map["status"]
- updatedAt <- map["updated_at"]
- verifyType <- map["verify_type"]
-
- }
- }
|