1
This commit is contained in:
25
keyBoard/Class/Me/M/KBConsumptionRecord.h
Normal file
25
keyBoard/Class/Me/M/KBConsumptionRecord.h
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// KBConsumptionRecord.h
|
||||
// keyBoard
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// 消费/购买记录模型 1 消费 2充值
|
||||
typedef NS_ENUM(NSInteger, KBConsumptionRecordType) {
|
||||
KBConsumptionRecordTypeConsumption = 1,
|
||||
KBConsumptionRecordTypeRecharge = 2,
|
||||
};
|
||||
|
||||
@interface KBConsumptionRecord : NSObject
|
||||
@property (nonatomic, strong, nullable) NSNumber *amount;
|
||||
@property (nonatomic, assign) KBConsumptionRecordType type;
|
||||
@property (nonatomic, strong, nullable) NSNumber *beforeBalance;
|
||||
@property (nonatomic, strong, nullable) NSNumber *afterBalance;
|
||||
@property (nonatomic, copy, nullable) NSString *kbdescription;
|
||||
@property (nonatomic, copy, nullable) NSString *createdAt;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user