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

#import "BreakThroughTableViewCell.h"

@implementation BreakThroughTableViewCell

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


- (void)setEntity:(TOPassLevelEntity *)entity
{
    _entity = entity;
    self.confirmTitle.text = entity.title;
    self.confirmStateImageView.hidden = [BaseViewController isBlankString:entity.passResult];
    self.confirmTimeLabel.text = [[entity.endDate componentsSeparatedByString:@" "] firstObject];
    self.confirmStateImageView.image = [[BaseViewController class] emigratedState:entity.passResult];
}

@end
