Files
yinmeng-ios/xplan-ios/Main/Room/View/SendRedPacket/Model/XPRedPacketModel.h
2022-09-08 11:33:42 +08:00

44 lines
1.0 KiB
Objective-C
Raw 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.

//
// XPRedPacketModel.h
// xplan-ios
//
// Created by GreenLand on 2022/9/2.
//
#import <Foundation/Foundation.h>
#import "UserInfoModel.h"
NS_ASSUME_NONNULL_BEGIN
// 红包类型 1:房间钻石红包 2:全服钻石红包 3房间礼物红包 4:全服礼物红包
typedef enum : NSUInteger {
RedPacketType_RoomDiamond = 1,
RedPacketType_AllDiamond = 2,
RedPacketType_RoomGift = 3,
RedPacketType_AllGift = 4
} RedPacketType;
@interface XPRedPacketModel : NSObject
@property (nonatomic, assign) RedPacketType type;
@property (nonatomic, copy) NSString *redEnvelopeId;
@property (nonatomic, copy) NSString *message;
///红包厅主id
@property (nonatomic, copy) NSString *roomUId;
///发红包用户id
@property (nonatomic, copy) NSString *userId;
@property (nonatomic, strong) UserInfoModel *userVO;
/// 红包总数
@property (nonatomic, copy) NSString *totalNum;
/// 红包总额
@property (nonatomic, copy) NSString *redEnvelopeAmount;
/// 已领取数量
@property (nonatomic, copy) NSString *pickNum;
@end
NS_ASSUME_NONNULL_END