You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
638 B

//
// DynamicFieldModel.swift
// GME Remit
//
// Created by InKwon James Kim on 14/08/2019.
// Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
import ObjectMapper
struct FieldModel: Mappable {
var fieldName: String?
var required: String?
var length: String?
var isAllowSpecialCharacter: String?
var isAllowNumber: String?
init?(map: Map) {
}
mutating func mapping(map: Map) {
fieldName <- map["Field"]
required <- map["FieldRequired"]
length <- map["FieldLength"]
isAllowSpecialCharacter <- map["AllowSpecialCharacter"]
isAllowNumber <- map["AllowNumber"]
}
}