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

#import "AllCutomerTableViewCell.h"

@implementation AllCutomerTableViewCell

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

#pragma mark - 数据源赋值
- (void)setModel:(MyclientEntityModel *)model
{
    [self.customerHeader sd_setImageWithURL:[NSURL URLWithString:model.consumer.picture] placeholderImage:ReplaceImage];
    self.customerName.text = model.consumer.name;
    self.customerPhoneName.text = model.consumer.mobile;
    self.serviceName.text = model.consumer.createName;
    self.customerAddress.text = [BaseViewController isMunicipality:model.consumer.province withCity:model.consumer.city withCountry:model.consumer.country withDetailAddress:model.consumer.address];
    self.cutomerTime.text = model.consumer.lastVisitedTime;
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end