RDSUserInfoModel.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // RDSUserInfoModel.h
  3. // Temperature
  4. //
  5. // Created by RD on 2022/11/24.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import "FFDataBaseModel.h"
  9. @interface RDSUserInfoModel : FFDataBaseModel
  10. @property (nonatomic, strong) NSString *record_id;
  11. @property (nonatomic, strong) NSString *user_name;
  12. @property (nonatomic, strong) NSString *password;
  13. @property (nonatomic, strong) NSString *phone;
  14. @property (nonatomic, strong) NSString *status;
  15. @property (nonatomic, strong) NSString *photo;
  16. @property (nonatomic, strong) NSString *default_home_id;
  17. @property (nonatomic, strong) NSString *default_home_name;
  18. @property (nonatomic, strong) NSString *created_at;
  19. @property (nonatomic, assign) BOOL set_password;
  20. @property (nonatomic, strong) NSNumber *home_count;
  21. @property (nonatomic, strong) NSNumber *all_devices;
  22. @property (nonatomic, strong) UIImage *headImg;
  23. + (void)rds_getCurrentUserInfoFinished:(void(^)(NSError *error))finished;
  24. + (RDSUserInfoModel *)rds_allocInit;
  25. - (void)rds_getHeadImgFinished:(void(^)(NSError *error))finished;
  26. @end