
- Removed YuMi/Library/ (138 MB, not tracked) - Removed YuMi/Resources/ (23 MB, not tracked) - Removed old version assets (566 files, not tracked) - Excluded Pods/, xcuserdata/ and other build artifacts - Clean repository optimized for company server deployment
52 lines
1.2 KiB
Objective-C
52 lines
1.2 KiB
Objective-C
//
|
||
// CustomRoomBGItemModel.h
|
||
// YuMi
|
||
//
|
||
// Created by P on 2024/10/30.
|
||
//
|
||
|
||
#import "PIBaseModel.h"
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
|
||
typedef enum : NSUInteger {
|
||
RoomBGStatus_Expired = -1,
|
||
RoomBGStatus_Reviewing = 0,
|
||
RoomBGStatus_Pass = 1,
|
||
RoomBGStatus_Rejected = 2
|
||
} RoomBGStatus;
|
||
|
||
typedef enum : NSUInteger {
|
||
RoomBGType_Free = 0,
|
||
RoomBGType_Pay = 1,
|
||
RoomBGType_Custom = 2 ,
|
||
} RoomBGType;
|
||
|
||
@interface CustomRoomBGItemModel : PIBaseModel
|
||
|
||
@property (nonatomic, assign) NSInteger buyHour;
|
||
@property (nonatomic, assign) NSInteger goldPrice;
|
||
@property (nonatomic, assign) NSInteger id;
|
||
@property (nonatomic, assign) BOOL isCur;
|
||
@property (nonatomic, copy) NSString *remainHour;
|
||
@property (nonatomic, copy) NSString *url;
|
||
/// 0=免费,1=付费,2=自定义
|
||
@property (nonatomic, assign) RoomBGType type;
|
||
/// -1=过期,0=审核中,1=通过,2=不过审
|
||
@property (nonatomic, assign) RoomBGStatus status;
|
||
|
||
- (NSString *)remainDays;
|
||
- (NSString *)pricePerDays;
|
||
- (BOOL)isAlreadyPay;
|
||
|
||
@end
|
||
|
||
@interface CustomRoomBGModel : PIBaseModel
|
||
@property (nonatomic, assign) NSInteger customHour;
|
||
@property (nonatomic, assign) NSInteger customGoldPrice;
|
||
@property (nonatomic, copy) NSArray <CustomRoomBGItemModel *> *itemList;
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|