//
//  TKIgnoreSessonModel.m
//  WeChatExtension
//
//  Created by WeChatExtension on 2017/9/15.
//  Copyright © 2017年 WeChatExtension. All rights reserved.
//

#import "TKIgnoreSessonModel.h"

@implementation TKIgnoreSessonModel

- (instancetype)initWithDict:(NSDictionary *)dict {
    self = [super init];
    if (self) {
        self.selfContact = dict[@"selfContact"];
        self.userName = dict[@"userName"];
        self.ignore = [dict[@"ignore"] boolValue];
    }
    return self;
}

- (NSDictionary *)dictionary {
    return @{@"selfContact": self.selfContact,
             @"userName": self.userName,
             @"ignore": @(self.ignore)};
}

@end
