XYPropListCellModel.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // XYPropListCellModel.h
  3. // Starbuds
  4. //
  5. // Created by 翟玉磊 on 2020/1/13.
  6. // Copyright © 2020 翟玉磊. All rights reserved.
  7. //
  8. #import "BaseObject.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @class XYPropListItemModel;
  11. @interface XYPropListCellModel : BaseObject
  12. @property (nonatomic, readwrite, assign) NSInteger quantity;
  13. @property (nonatomic, readwrite, copy) NSString *itemId;
  14. @property (nonatomic, readwrite, assign) NSInteger itemType;
  15. @property (nonatomic, readwrite, strong) XYPropListItemModel *item;
  16. @property (nonatomic, readwrite, copy) NSString *expireTime;
  17. @property (nonatomic, readwrite, copy) NSString *name;
  18. @property (nonatomic, readwrite, copy) NSString *url;
  19. @property (nonatomic, readwrite, copy) NSString *bagId;
  20. @property (nonatomic, readwrite, assign) CGFloat cellHeight;
  21. /// 是否展开
  22. @property (nonatomic, readwrite, assign) BOOL isExpan;
  23. @end
  24. @interface XYPropListItemModel : BaseObject
  25. @property (nonatomic, readwrite, copy) NSString *propsExtString;
  26. @property (nonatomic, readwrite, copy) NSString *propsExtLong;
  27. @property (nonatomic, readwrite, copy) NSString *propsExtDouble;
  28. @property (nonatomic, readwrite, assign) NSInteger propsType;
  29. @property (nonatomic, readwrite, copy) NSString *propsIntro;
  30. @property (nonatomic, readwrite, copy) NSString *propsName;
  31. @property (nonatomic, readwrite, copy) NSString *propsId;
  32. @property (nonatomic, readwrite, copy) NSString *propsIcon;
  33. @property (nonatomic, readwrite, copy) NSString *propsUrl;
  34. @property (nonatomic, readwrite, copy) NSString *propsExtInt;
  35. /// 0无 101直接使用 102跳转url 103跳转本地
  36. @property (nonatomic, readwrite, assign) NSInteger propsAction;
  37. @end
  38. NS_ASSUME_NONNULL_END