35 lines
990 B
Objective-C
35 lines
990 B
Objective-C
//
|
|
// AgentMessageModel.h
|
|
// YuMi
|
|
//
|
|
// Created by P on 2025/2/20.
|
|
//
|
|
|
|
#import "MessageBaseModel.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface AgentTextStyleMessageModel: PIBaseModel
|
|
|
|
@property(nonatomic, copy) NSString *content;
|
|
@property(nonatomic, assign) NSInteger fontSize;
|
|
@property(nonatomic, copy) NSString *fontColor;
|
|
@property(nonatomic, assign) bool fontBold;
|
|
|
|
@end
|
|
|
|
@interface AgentMessageModel : MessageBaseModel
|
|
|
|
@property(nonatomic, copy) NSString *url;
|
|
@property(nonatomic, copy) NSString *title;
|
|
@property(nonatomic, copy) NSString *content;
|
|
@property(nonatomic, assign) NSInteger titleFontSize;
|
|
@property(nonatomic, assign) NSInteger contentFontSize;
|
|
@property(nonatomic, assign) NSInteger layoutType; // (0没有确定取消按钮,1,确定取消按钮,2,只有确定 3,只有取消)
|
|
@property(nonatomic, copy) NSArray <AgentTextStyleMessageModel *> *titleStyles;
|
|
@property(nonatomic, copy) NSArray <AgentTextStyleMessageModel *> *contentStyles;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|