//
//  WithdrawalTableViewCell.m
//  Lighting
//
//  Created by 曹云霄 on 16/8/26.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "WithdrawalTableViewCell.h"

@implementation WithdrawalTableViewCell

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

- (void)setEntity:(TOApplyBillEntity *)entity
{
    _entity = entity;
    self.amountLabel.text = [NSString stringWithFormat:@"%.2f",[entity.applyMoney floatValue]];
    self.createTimeLabel.text = entity.createDate;
    self.progressLabel.textColor = [BaseViewController setupLabelColor:entity.billStates][@"color"];
    self.progressLabel.text = [BaseViewController setupLabelColor:entity.billStates][@"text"];
    self.progressTitleLabel.text = [NSString stringWithFormat:@"%@ 进度",[BaseViewController setupLabelColor:entity.billType][@"text"]];
}

@end
