//
//  VideoLecturerTableViewCell.m
//  Lighting
//
//  Created by 曹云霄 on 2016/11/25.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "VideoLecturerTableViewCell.h"

@implementation VideoLecturerTableViewCell

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

- (void)setStudyEntity:(CustomStudyEntity *)studyEntity
{
    _studyEntity = studyEntity;
    if (_studyEntity) {
        [self.lecturerImageView sd_setImageWithURL:[NSURL URLWithString:_studyEntity.teacherAttachment.fileUrl] placeholderImage:REPLACEIMAGE];
        self.lecturerNameLabel.text = _studyEntity.teacher;
        self.lecurerIntroLabel.text = _studyEntity.teacherIntro;
        self.lecurerIntroLabel.height = _studyEntity.teacherIntroHeight-108;
    }
}

@end
