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

#import "DiscussModuleCollectionViewCell.h"

@implementation DiscussModuleCollectionViewCell

- (void)refreshCell:(TOForumCategoryEntity *)entity
{
    [self.discussModuleImageView sd_setImageWithURL:[NSURL URLWithString:entity.attachmentBg.fileUrl] placeholderImage:REPLACEIMAGE];
    [self.iconImageView sd_setImageWithURL:[NSURL URLWithString:entity.attachment.fileUrl] placeholderImage:REPLACEIMAGE];
    self.titleLabel.text = entity.name;

}

@end
