//
//  DoughnutChartModel.swift
//  MVMCoreUI
//
//  Created by Murugan, Vimal on 10/01/20.
//  Copyright © 2020 Verizon Wireless. All rights reserved.
//

import Foundation


@objcMembers public class DoughnutChartModel: MoleculeModelProtocol {
    //--------------------------------------------------
    // MARK: - Properties
    //--------------------------------------------------
    
    public var backgroundColor: Color?
    public static var identifier: String = "doughnutChart"
    public var moleculeName: String = DoughnutChartModel.identifier
    public var title: LabelModel?
    public var subtitle: LabelModel?
    public var sections: [DoughnutChartItemModel]
    public var spaceRequired: Bool?
    
    //--------------------------------------------------
    // MARK: - Initializer
    //--------------------------------------------------
    
    public init(sections: [DoughnutChartItemModel]) {
        self.sections = sections
    }
}
