//
//  HWMDataModel.m
//  HWMUISDKNativeDemo
//
//  Created by niecanxu on 2022/1/20.
//  Copyright © 2022 Huawei Technologies Co. Ltd. All rights reserved.
//

#import "HWMDataModel.h"

@implementation HWMDataModel
+ (instancetype)sharedInstance {
    static HWMDataModel *_instance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _instance =[[HWMDataModel alloc] init];
    });
    
    return _instance;
}

- (NSMutableArray<HWMEnterpriseContact *> *)contacts {
    if (!_contacts) {
        _contacts = @[].mutableCopy;
    }
    return _contacts;
}
@end
