123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // DetailRequestModel.h
- // YouHuiProject
- //
- // Created by 小花 on 2018/5/22.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "YZMAChildGoodModel.h"
- #import "YZMACommunityDetailModel.h"
- #import "YZMABuyLimitGoodModel.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:(YZMAChildGoodModel *)model;
- - (instancetype)initWithBuyLimitModel:(YZMABuyLimitGoodModel *)model;
- - (instancetype)initWithCommunityDetailModel:(YZMACommunityDetailModel *)model;
- /**
- 模型转字典
- */
- - (NSDictionary *)modelToDictionary;
- @end
|