//
//  HomeCollectionViewModel.swift
//  TheRestaurants
//
//  Created by ADMIN on 8/31/2563 BE.
//  Copyright © 2563 BE Thinh Nguyen P[6]. All rights reserved.
//

import Foundation
import UIKit

final class CollectionCellModel {

    var numberOfRestaurant: Int?
    var imageUrl: String?
    var title: String?

    init(listCollection: Collection) {
        self.numberOfRestaurant = listCollection.countPlaces
        self.title = listCollection.title
        self.imageUrl = listCollection.imageUrl
    }
}
