PromotionLuckyDrawModel.h 964 Bytes
Newer Older
1
//
2
//  PromotionLuckyDrawModel.h
3 4 5 6 7 8 9 10
//  Lighting
//
//  Created by 曹云霄 on 2016/11/3.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>

11 12 13 14
@class lottery;
@protocol lottery @end


15
@interface PromotionLuckyDrawModel : JSONModel
16

17
// 促销对象
18 19
@property (nonatomic, copy) NSString *body;

20
// 类型
21 22
@property (nonatomic, copy) NSString *type;

23
// 抽奖ID
24
@property (nonatomic, copy) lottery *lottery;
25

26
// 描述
27 28
@property (nonatomic, copy) NSString *descriptionString;

29 30
// 优先级
@property (nonatomic,assign) NSInteger priority;
31

32 33
// 冲突列表
@property (nonatomic,strong) NSArray *conflicts;
34

35 36
// 是否选中
@property (nonatomic,assign) BOOL isSelected;
37 38 39

// 是否使用
@property (nonatomic,assign) BOOL isUsed;
40
@end
41 42 43 44 45 46 47 48 49


@interface lottery : JSONModel

@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *uuid;
@property (nonatomic, copy) NSString *code;

@end