// // XPRedPacketResultModel.h // xplan-ios // // Created by GreenLand on 2022/9/2. // #import #import "XPRedPacketModel.h" NS_ASSUME_NONNULL_BEGIN /* 当前用户的红包状态 ING(1, “开抢中”), TIME_OUT(2, “过时”), REMAIN_ZERO(3, “抢光了”), SUCCESS(4, “抢到了”), WILL(5, “将要开始”), TIME_OUT_BACK(6, “超时已退还”), */ typedef enum : NSUInteger { RedPacketState_Ing = 1, RedPacketState_Time_Out = 2, RedPacketState_Remain_Zero = 3, RedPacketState_Success = 4, RedPacketState_will = 5, RedPacketState_Time_Out_Back = 6, } RedPacketState; @class UserInfoModel, XPRedPacketPersonReceiveModel; @interface XPRedPacketResultModel : NSObject @property (nonatomic, copy) NSString *currentUserAmount; @property (nonatomic, assign) RedPacketState redEnvelopeState; @property (nonatomic, strong) XPRedPacketModel *redEnvelopeVO; ///钻石红包领取详情 @property (nonatomic, strong) NSArray *redEnvelopeItemVOs; @end @interface XPRedPacketPersonReceiveModel : NSObject @property (nonatomic, strong) NSNumber *amount; @property (nonatomic, strong) UserInfoModel *userVO; @property (nonatomic, assign) NSTimeInterval createTime; @end NS_ASSUME_NONNULL_END