//
//  SeceneCollectionPictureCell.m
//  Lighting
//
//  Created by mac on 16/5/17.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "SeceneCollectionPictureCell.h"

@implementation SeceneCollectionPictureCell
-(id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)];
        [self addSubview:self.imageView];
    }
    return self;
}
#pragma mark -赋值
- (void)setModel:(TOSceneEntity *)model
{
    _model = model;
    
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:_model.pricure] placeholderImage:REPLACEIMAGE];
}

@end
