//
//  CountryVat.swift
//  iPOS
//
//  Created by BBC on 20/06/17.
//  Copyright © 2017 BBC. All rights reserved.
//

import Foundation
import ObjectMapper

class CountryVat: Mappable{
    
    var countryVatId: Int?
    var code: String?
    var name: String?
    var vatId: Int?
    var countryId: Int?
    var rate: Int?
    var fiscalPrinterDepartment: Int?
    var isPosVisible: Bool?
    
    required init?(map: Map){
        
    }
    
    init(){
        
    }
    
    func mapping(map: Map) {
        countryVatId <- map["CountryVatId"]
        code <- map["Code"]
        name <- map["Name"]
        vatId <- map["VatId"]
        countryId <- map["CountryId"]
        rate <- map["Rate"]
        fiscalPrinterDepartment <- map["FiscalPrinterDepartment"]
        isPosVisible <- map["IsPosVisible"]
    }
}
