//
//  ForumTypeTableViewCell.m
//  Lighting
//
//  Created by 曹云霄 on 2017/3/7.
//  Copyright © 2017年 上海勾芒科技有限公司. All rights reserved.
//

#import "ForumTypeTableViewCell.h"

@implementation ForumTypeTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setEntity:(TOForumtypeEntity *)entity
{
    [self.typeImageView sd_setImageWithURL:[NSURL URLWithString:entity.attachment.fileUrl] placeholderImage:REPLACEIMAGE];
    self.typeTitleLabel.text = entity.name;
}

@end
