//
//  CheckboxWithLabelViewModel.swift
//  MVMCoreUI
//
//  Created by Chintakrinda, Arun Kumar (Arun) on 21/01/20.
//  Copyright © 2020 Verizon Wireless. All rights reserved.
//

import Foundation
import MVMCore

public enum CheckboxPosition: String, Codable {
    case center
    case top
    case bottom
}

@objcMembers public class CheckboxLabelModel: MoleculeModelProtocol {
    public static var identifier: String = "checkboxLabel"
    public var moleculeName: String = CheckboxLabelModel.identifier
    public var backgroundColor: Color?
    public var checkboxAlignment: CheckboxPosition?
    public var checkbox: CheckboxModel
    public var label: LabelModel
    
    //--------------------------------------------------
    // MARK: - Initializer
    //--------------------------------------------------

    public init(checkbox: CheckboxModel, label: LabelModel) {
        self.checkbox = checkbox
        self.label = label
    }

}
