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

#import "PrizeExchangeBillTableViewCell.h"

@implementation PrizeExchangeBillTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setBillEntity:(TOPrizeBillEntity *)billEntity
{
    _billEntity = billEntity;
    self.exchangeBillNumberLabel.text = _billEntity.billnumber;
    self.exchangeTimeLabel.text = _billEntity.createDate;
    NSDictionary *textDict = [BaseViewController returnPrizeBillStateTitleColor:_billEntity.state];
    self.exchangeStateLabel.text = textDict[@"title"];
    self.exchangeStateLabel.textColor = textDict[@"color"];
}

@end
