// // KBConsumptionRecord.h // keyBoard // #import 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