CountsThreeLevelViewModel
struct CountsThreeLevelViewModel : CountsViewModel
View model for region>country>location and brand>region>country counts
-
Intialize with parameters
Declaration
Swift
init(checklist: Checklist, isEditable: Bool, brands: [String: String])
Parameters
hierarchy
Current hierarchy
isEditable
Is user’s own counts
brands
Hotel brands