12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // XYPersonalCenterListModel.h
- // Starbuds
- //
- // Created by 翟玉磊 on 2019/12/21.
- // Copyright © 2019 翟玉磊. All rights reserved.
- // 个人中心cell的model
- #import "BaseObject.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface XYPersonalCenterListModel : BaseObject
- /// cell的图片
- @property (nonatomic, readwrite, copy) NSString *iconName;
- /// cell的标题
- @property (nonatomic, readwrite, copy) NSString *title;
- /// cell的内容(靠右)
- @property (nonatomic, readwrite, copy) NSString *content;
- /// cell的内容 (靠右)
- @property (nonatomic, copy) NSString *imageContent;
- /// cell的右边是否显示更多图片
- @property (nonatomic, readwrite, assign) BOOL isShowMoreImage;
- /// 要跳转的控制器name/如果不需要跳转则自定义 在跳转之前会判断是否是控制器
- @property (nonatomic, readwrite, copy) NSString *pushControllerName;
- @property (nonatomic, strong) NSMutableArray *urlItemArray;
- /// 圆角类型 默认是0 没有圆角
- @property (nonatomic, readwrite, assign) UIRectCorner borderType;
- /// 快捷创建 类型判断可以根据类名
- + (XYPersonalCenterListModel *)createListModelWithIconName:(NSString *)iconName title:(NSString *)title content:(NSString *)content isShowMoreImage:(BOOL)isShowMoreImage pushControllerName:(NSString *)pushControllerName borderType:(UIRectCorner)borderType;
- @end
- NS_ASSUME_NONNULL_END
|