This commit is contained in:
2025-12-22 19:19:28 +08:00
parent 5cfc76e6c5
commit 4e6fd90668
20 changed files with 679 additions and 3 deletions

View 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