//
//  AnchorGroup.swift
//  douyu
//
//  Created by 悖论 on 2019/1/21.
//  Copyright © 2019 beilunyang. All rights reserved.
//

import Foundation

class AnchorGroup: BaseGameModel {
    // 组中对应的房间信息
    var room_list: [[String: NSObject]]? {
        didSet {
            guard let room_list = room_list else { return }
            
            for dict in room_list {
                anchors.append(AnchorModel(dict: dict))
            }
        }
    }
    
    // 组显示的图标
    var icon_name: String = "home_header_normal"
    
    // 定义主播的模型对象数组
    lazy var anchors: [AnchorModel] = [AnchorModel]()
}
