Blame view
App/utils/AppUtils.swift
1018 Bytes
|
1341bf603
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
//
// Created by Philip Tran on 2/26/17.
//
import Foundation
class AppUtils {
static func getListCtruong() -> [CongTruong] {
var result = [CongTruong]()
var shootItems = [ShootItem]()
shootItems.append(ShootItem(id: nil, name: "外観下塗り"))
shootItems.append(ShootItem(id: nil, name: "仕上げ"))
var ctruong = CongTruong()
|
|
defd9642e
|
17 18 19 |
ctruong.companyName = "山田 花子様"
ctruong.noCaptured = 1
ctruong.noRemain = 4
|
|
1341bf603
|
20 21 22 23 |
ctruong.shootItems = shootItems
result.append(ctruong)
ctruong = CongTruong()
|
|
defd9642e
|
24 25 26 |
ctruong.companyName = "鈴木 一郎様"
ctruong.noCaptured = 12
ctruong.noRemain = 1
|
|
1341bf603
|
27 28 29 30 |
ctruong.shootItems = shootItems
result.append(ctruong)
ctruong = CongTruong()
|
|
defd9642e
|
31 32 33 |
ctruong.companyName = "斎藤 太郎様"
ctruong.noCaptured = 0
ctruong.noRemain = 24
|
|
1341bf603
|
34 35 36 37 38 39 |
ctruong.shootItems = shootItems
result.append(ctruong)
return result
}
}
|