
- 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
61 lines
1.9 KiB
Objective-C
61 lines
1.9 KiB
Objective-C
//
|
||
// MyDressingDataModel.h
|
||
// YuMi
|
||
//
|
||
// Created by P on 2024/11/19.
|
||
//
|
||
|
||
#import "PIBaseModel.h"
|
||
#import "CarModel.h"
|
||
#import "NobleCardModel.h"
|
||
#import "NameplateModel.h"
|
||
#import "ChatBubbleModel.h"
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
@interface MyDressingDataModel : PIBaseModel
|
||
|
||
//dressId = 191;
|
||
//dressType = 0;
|
||
//effect = "https://image.pekolive.com/Vip1headdress.svga";
|
||
//effectType = 2;
|
||
//expireDays = 44;
|
||
//expireTime = 1735812327000;
|
||
//hasExpired = 0;
|
||
//name = "VIP1\U982d\U98fe";
|
||
//obtainWay = 1;
|
||
//pic = "https://image.pekolive.com/Vip1headdress.png";
|
||
//used = 0;
|
||
|
||
@property(nonatomic, assign) NSInteger id;
|
||
@property(nonatomic, copy) NSString *dressId;
|
||
@property(nonatomic, assign) NSInteger dressType;
|
||
@property(nonatomic, copy) NSString *effect;
|
||
@property(nonatomic, assign) NSInteger effectType;
|
||
@property(nonatomic, assign) NSInteger expireDays;
|
||
@property(nonatomic, assign) NSInteger expireTime;
|
||
@property(nonatomic, assign) BOOL hasExpired;
|
||
@property(nonatomic, copy) NSString *name;
|
||
@property(nonatomic, assign) NSInteger obtainWay; // "获得方式,1-普通,2-活动"
|
||
@property(nonatomic, copy) NSString *pic;
|
||
@property(nonatomic, assign) NSInteger used;
|
||
@property(nonatomic, strong) NSNumber *discount;
|
||
|
||
@property(nonatomic, assign) NSInteger dressDay;
|
||
@property(nonatomic, assign) CGFloat discountPrice;
|
||
@property(nonatomic, assign) NSInteger vipLevel;
|
||
@property(nonatomic, assign) NSInteger dressPrice;
|
||
@property(nonatomic, copy) NSString *dressShopId;
|
||
|
||
|
||
- (NSString *)expiredContent;
|
||
- (NSMutableAttributedString *)generateAttributedStringWithIncludeOriginalPrice:(BOOL)includeOriginalPrice;
|
||
|
||
+ (MyDressingDataModel *)modelFromVehicle:(CarModel *)model;
|
||
+ (MyDressingDataModel *)modelFromNameplate:(NameplateModel *)model;
|
||
+ (MyDressingDataModel *)modelFromNobelCard:(NobleCardModel *)model;
|
||
+ (MyDressingDataModel *)modelFromChatBubble:(ChatBubbleModel *)model;
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|