1234567891011121314151617181920212223 |
- //
- // YMChatNotificationCellViewModel.h
- // MSYOUPAI
- //
- // Created by YoMi on 2024/2/21.
- // Copyright © 2024 MS. All rights reserved.
- //
- #import "MSYOUPAIViewModel.h"
- NS_ASSUME_NONNULL_BEGIN
- typedef void(^SwitchNotificationBlock)(void);
- @interface YMChatNotificationCellViewModel : MSYOUPAIViewModel
- @property (nonatomic, copy) SwitchNotificationBlock switchNotificationBlock;
- /// 行标题
- @property (nonatomic, copy, readonly) NSString *rowTitle;
- /// 是否开启
- @property (nonatomic, assign, readonly) BOOL isOpen;
- /// 消息通知功能类型
- @property (nonatomic, assign, readonly) YMChatNotificationFunctionsType chatNotificationFunctionsType;
- @end
- NS_ASSUME_NONNULL_END
|