//
//  ScheduleEventViewModel.swift
//  Eurofurence
//
//  Created by Thomas Sherwood on 13/06/2018.
//  Copyright © 2018 Eurofurence. All rights reserved.
//

import Foundation

protocol ScheduleEventViewModelProtocol {

    var title: String { get }
    var startTime: String { get }
    var endTime: String { get }
    var location: String { get }
    var bannerGraphicPNGData: Data? { get }
    var isFavourite: Bool { get }
    var isSponsorOnly: Bool { get }
    var isSuperSponsorOnly: Bool { get }
    var isArtShow: Bool { get }
    var isKageEvent: Bool { get }
    var isDealersDenEvent: Bool { get }
    var isMainStageEvent: Bool { get }
    var isPhotoshootEvent: Bool { get }

}

struct ScheduleEventViewModel: ScheduleEventViewModelProtocol, Equatable {

    var title: String
    var startTime: String
    var endTime: String
    var location: String
    var bannerGraphicPNGData: Data?
    var isFavourite: Bool
    var isSponsorOnly: Bool
    var isSuperSponsorOnly: Bool
    var isArtShow: Bool
    var isKageEvent: Bool
    var isDealersDenEvent: Bool
    var isMainStageEvent: Bool
    var isPhotoshootEvent: Bool

}

//
//  ScheduleEventViewModel.swift
//  Eurofurence
//
//  Created by Thomas Sherwood on 13/06/2018.
//  Copyright © 2018 Eurofurence. All rights reserved.
//

import Foundation

struct ScheduleEventViewModel: Equatable {

    var title: String
    var startTime: String
    var endTime: String
    var location: String
    var bannerGraphicPNGData: Data?
    var isFavourite: Bool
    var isSponsorOnly: Bool
    var isSuperSponsorOnly: Bool
    var isArtShow: Bool
    var isKageEvent: Bool
    var isDealersDenEvent: Bool
    var isMainStageEvent: Bool
    var isPhotoshootEvent: Bool

}

--- 
+++ 
@@ -8,7 +8,25 @@
 
 import Foundation
 
-struct ScheduleEventViewModel: Equatable {
+protocol ScheduleEventViewModelProtocol {
+
+    var title: String { get }
+    var startTime: String { get }
+    var endTime: String { get }
+    var location: String { get }
+    var bannerGraphicPNGData: Data? { get }
+    var isFavourite: Bool { get }
+    var isSponsorOnly: Bool { get }
+    var isSuperSponsorOnly: Bool { get }
+    var isArtShow: Bool { get }
+    var isKageEvent: Bool { get }
+    var isDealersDenEvent: Bool { get }
+    var isMainStageEvent: Bool { get }
+    var isPhotoshootEvent: Bool { get }
+
+}
+
+struct ScheduleEventViewModel: ScheduleEventViewModelProtocol, Equatable {
 
     var title: String
     var startTime: String
Add protocol type to represent event view model
