//
//  EmailAttachment.swift
//  iPOS
//
//  Created by Apple iMac on 28/06/2018.
//  Copyright © 2018 BBC. All rights reserved.
//

import Foundation
import ObjectMapper

class EmailAttachment: Mappable{
    var document: String = ""
    var name: String = ""
    
    func mapping(map: Map) {
        document <- map["Document"]
        name <- map["Name"]
    }
    
    required init?(map: Map) {
    }
    
    init() {
    }
    
    init(document: String, name: String) {
        self.document = document
        self.name = name
    }
}
