Blame view
App/model/CongTruong.swift
633 Bytes
d774f0637
|
1 |
import Foundation |
defd9642e
|
2 |
import GeneralUtils |
d774f0637
|
3 |
|
defd9642e
|
4 5 6 7 8 |
class CongTruong: Mappable { var id: Int? var companyName: String? var constructionName: String? var noCaptured: Int?, noRemain: Int? |
1341bf603
|
9 |
var shootItems: [ShootItem]? |
defd9642e
|
10 |
var signboard: Int? |
1341bf603
|
11 |
|
defd9642e
|
12 13 14 |
// region: ========== Mappable init() {} required init?(map: Map) {} |
1341bf603
|
15 |
|
defd9642e
|
16 17 18 19 20 21 22 23 24 |
func mapping(map: Map) { companyName <- map["companyName"] constructionName <- map["constructionName"] noCaptured <- map["noCaptured"] noRemain <- map["noRemain"] shootItems <- map["shootingItems"] signboard <- map["signboard"] } //endregion |
d774f0637
|
25 |
} |