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

#import <UIKit/UIKit.h>
#import "ShopcarModel.h"
#import "CustomTOGoodsEntity.h"
#import "CustomShopingSeclectButton.h"
@interface ShoppingCell : UITableViewCell
/**
 *  选中
 */
@property (strong, nonatomic)  CustomShopingSeclectButton *selectedButton;

/**
 *  商品图片
 */
@property (strong, nonatomic)  UIImageView *goodsImageView;

/**
 *  商品信息
 */
@property (strong, nonatomic)  UILabel *goodsInformationLabe;

/**
 *  吊牌价格
 */
@property (strong, nonatomic)  UILabel *tagsPriceLabe;

/**
 *  成交价格
 */
@property (strong, nonatomic)  UITextField *clinchTextfield;

/**
 *  减号
 */
@property (strong, nonatomic)  UIButton *reduceButton;
/**
 *  商品数量
 */
@property (strong, nonatomic)  UILabel *goodsNumbersLabe;

/**
 *  加号
 */
@property (strong, nonatomic)  UIButton *addButton;


/**
 *  产品金额
 */
@property (strong, nonatomic)  UILabel *productPriceLabe;



/**
 *  数据源model
 */
@property (nonatomic,strong) ShopcarModel *model;
@property (nonatomic,strong)CustomTOGoodsEntity *customGoods;
@property (nonatomic,assign) int value;


/**
 *  传入cel下标
 */
@property (nonatomic,assign) NSInteger cellindex;


/**
 *  传回选中状态
 */
@property (nonatomic,copy) void(^returnCellblock)(NSInteger index);
//选中索引
//@property (strong, nonatomic) NSIndexPath *indexpath;

/**
 *  成交价背景View
 */
@property (strong, nonatomic) UIView *ClinchPriceBackView;

/**
 *  商品数量
 */
//@property (nonatomic,assign) id<ChangeGoodsNumberDelegate>delegate;



@end
