//
//  OfferContent.swift
//  NearbyStores
//
//  Created by Amine on 5/20/18.
//  Copyright © 2018 Amine. All rights reserved.
//

import UIKit
import RealmSwift
import SwiftyJSON

class OfferContent: Object {

    @objc dynamic var id: Int = 0
    @objc dynamic var desc: String  = ""
    @objc dynamic var price: Float = 0
    @objc dynamic var percent: Float = 0
    @objc dynamic var currency: Currency? = nil

    override static func primaryKey() -> String? {
        return "id"
    }
    
}
