78 lines
2.4 KiB
C
78 lines
2.4 KiB
C
|
|
//
|
||
|
|
// BottleDetailInfo.h
|
||
|
|
// TreeHole
|
||
|
|
//
|
||
|
|
// Created by 谢培艺 on 2022/4/29.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import <Foundation/Foundation.h>
|
||
|
|
#import "User.h"
|
||
|
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
/**
|
||
|
|
"bottle_num": 0,
|
||
|
|
"bottle_type": "string",
|
||
|
|
"bottle_type_name": "string",
|
||
|
|
"content": "string",
|
||
|
|
"is_attach": 0,
|
||
|
|
"user_des": "string",
|
||
|
|
"user_gender": 0
|
||
|
|
|
||
|
|
*/
|
||
|
|
|
||
|
|
@interface BottleDetailInfo : NSObject
|
||
|
|
|
||
|
|
//新增-判断是否为good瓶==@"good"
|
||
|
|
@property(nonatomic, copy)NSString *user_operation_tag;
|
||
|
|
|
||
|
|
@property (nonatomic, copy) NSString *bottle_type;
|
||
|
|
@property (nonatomic, copy) NSString *interaction_type;
|
||
|
|
@property (nonatomic, copy) NSString *bottle_type_name;
|
||
|
|
@property (nonatomic, copy) NSString *content;
|
||
|
|
@property (nonatomic, copy) NSString *user_des;
|
||
|
|
@property (nonatomic, assign) int bottle_id;
|
||
|
|
@property (nonatomic, assign) int bottle_num;
|
||
|
|
@property (nonatomic, assign) BOOL is_attach;
|
||
|
|
//@property (nonatomic, assign) GenderType user_gender;
|
||
|
|
@property (nonatomic, copy) NSString *gender_str;
|
||
|
|
@property (nonatomic, copy) NSString *nick_name;
|
||
|
|
@property (nonatomic, assign) int user_id;
|
||
|
|
@property (nonatomic, copy) NSString *im_user_id;
|
||
|
|
@property (nonatomic, assign) BOOL need_vip;
|
||
|
|
@property (nonatomic, copy) NSString *vip_des;
|
||
|
|
@property (nonatomic, assign) int vip_bottle;
|
||
|
|
@property (nonatomic, copy) NSString *alert_title;
|
||
|
|
@property (nonatomic, copy) NSString *alert_content;
|
||
|
|
@property (nonatomic, copy) NSString *vip_promotion_des;
|
||
|
|
@property (nonatomic, copy) NSString *bottle_create_time;
|
||
|
|
|
||
|
|
@property (nonatomic, copy) NSString *manager_info;
|
||
|
|
/// V1.3.0
|
||
|
|
@property (nonatomic, strong) NSArray<NSString *> *images;
|
||
|
|
@property (nonatomic, copy) NSString *voice;
|
||
|
|
@property (nonatomic, assign) int voice_sec;
|
||
|
|
@property (nonatomic, copy) NSString *price_des; // 写真价格
|
||
|
|
@property (nonatomic, copy) NSString *iap_id; // 写真内购
|
||
|
|
@property (nonatomic, copy) NSString *extra_des;
|
||
|
|
@property (nonatomic, copy) NSString *content_extra_type; // 附件类型
|
||
|
|
|
||
|
|
@property (nonatomic, assign) BOOL disable_reply_edit;
|
||
|
|
@property (nonatomic, copy) NSString *reply_edit_placehold;
|
||
|
|
|
||
|
|
/// V1.4.0
|
||
|
|
@property (nonatomic, assign) int can_see;
|
||
|
|
@property (nonatomic, copy) NSString *block_see_tips;
|
||
|
|
|
||
|
|
- (BOOL)isShellPhotos; // 写真
|
||
|
|
- (BOOL)isExchangePhotos; // 交换图片
|
||
|
|
- (BOOL)isExchangeVoice; // 交换语音
|
||
|
|
- (BOOL)isExchangeSecret; // 交换秘密
|
||
|
|
|
||
|
|
- (BOOL)isPhotoAttachement;
|
||
|
|
- (BOOL)isVoiceAttachement;
|
||
|
|
- (BOOL)isVideoAttachement;
|
||
|
|
- (BOOL)hasAttachement;
|
||
|
|
|
||
|
|
@end
|
||
|
|
|
||
|
|
NS_ASSUME_NONNULL_END
|