PromotionLuckyDrawModel.h 964 Bytes
Newer Older
曹云霄's avatar
曹云霄 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
//
//  PromotionLuckyDrawModel.h
//  Lighting
//
//  Created by 曹云霄 on 2016/11/3.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>

@class lottery;
@protocol lottery @end


@interface PromotionLuckyDrawModel : JSONModel

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

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

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

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

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

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

// 是否选中
@property (nonatomic,assign) BOOL isSelected;

// 是否使用
@property (nonatomic,assign) BOOL isUsed;
@end


@interface lottery : JSONModel

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

@end