// // DetailRequestModel.h // YouHuiProject // // Created by 小花 on 2018/5/22. // Copyright © 2018年 kuxuan. All rights reserved. // #import #import "DRChildGoodModel.h" #import "DRCommunityDetailModel.h" #import "DRBuyLimitGoodModel.h" @interface DetailRequestModel : NSObject @property (nonatomic, strong) NSString *goods_id; @property (nonatomic, strong) NSString *is_coupon; @property (nonatomic, strong) NSString *coupon_price; @property (nonatomic, strong) NSString *price; @property (nonatomic, strong) NSString *discount_price; @property (nonatomic, strong) NSString *commission_rate; @property (nonatomic, strong) NSString *coupon_start_time; @property (nonatomic, strong) NSString *coupon_end_time; /** 初始化 */ - (instancetype)initWithId:(NSString *)good_id is_coupon:(NSString *)is_coupon coupon_price:(NSString *)coupon_price price:(NSString *)price discount_price:(NSString *)discount_price commission_rate:(NSString *)commission_rate coupon_start_time:(NSString *)coupon_start_time coupon_end_time:(NSString *)coupon_end_time; - (instancetype)initWithChildModel:(DRChildGoodModel *)model; - (instancetype)initWithBuyLimitModel:(DRBuyLimitGoodModel *)model; - (instancetype)initWithCommunityDetailModel:(DRCommunityDetailModel *)model; /** 模型转字典 */ - (NSDictionary *)modelToDictionary; @end