Files
real-e-party-iOS/YuMi/Modules/ShoppingMall/MyDressingDataModel.h
edwinQQQ a35a711be6 chore: Initial clean commit
- 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
2025-10-09 16:19:14 +08:00

61 lines
1.9 KiB
Objective-C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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