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

#import "prizeDetailsTableViewCell.h"

@implementation prizeDetailsTableViewCell

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

- (void)setPrizeListModel:(RsPrizeBill *)prizeListModel
{
    _prizeListModel = prizeListModel;
    self.prizeTimeLabel.text = _prizeListModel.bill.createDate;
    self.prizeOrderNumberLabel.text = _prizeListModel.bill.billnumber;
    NSDictionary *textDict = [BaseViewController returnPrizeBillStateTitleColor:_prizeListModel.bill.state];
    [self.prizeStateButton setTitle:textDict[@"title"] forState:UIControlStateNormal];
    [self.prizeStateButton setTitleColor:textDict[@"color"] forState:UIControlStateNormal];
}


#pragma mark - 兑奖单状态点击--->详情
- (IBAction)prizeStateButtonClickAction:(UIButton *)sender {
    
}




@end
