XYPersonalCenterListModel.h 1.4 KB

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