//
//  Attribute.swift
//  iPOS
//
//  Created by bbc on 21/06/17.
//  Copyright © 2017 BBC. All rights reserved.
//

import Foundation
import ObjectMapper

class StyleAttribute: Mappable, INameable{
    var attributeId: Int!
    var name: String?
    var customName: String { return self.name! }
    var customSubtitle: String? { return nil }
    
    func mapping(map: Map) {
        attributeId <- map["AttributeId"]
        name <- map["Name"]
    }
    
    required init?(map: Map) {
    }
    
    init() {
    }
}
