SysUser.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // SysUser.h
  3. //
  4. // Created by on 2020/7/14
  5. // Copyright (c) 2020 __MyCompanyName__. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @interface SysUser : NSObject <NSCoding, NSCopying>
  9. @property (nonatomic, strong) NSString *username;
  10. @property (nonatomic, assign) BOOL superAdmin;
  11. @property (nonatomic, assign) double lockFlag;
  12. @property (nonatomic, strong) NSString *updateTime;
  13. @property (nonatomic, strong) NSString *realName;
  14. @property (nonatomic, strong) NSString *userType;
  15. @property (nonatomic, strong) NSString *wxOpenid;
  16. @property (nonatomic, assign) double delFlag;
  17. @property (nonatomic, strong) NSString *nation;
  18. @property (nonatomic, strong) NSString *salt;
  19. @property (nonatomic, assign) double sysUserIdentifier;
  20. @property (nonatomic, assign) double roles;
  21. @property (nonatomic, assign) double gender;
  22. @property (nonatomic, strong) NSString *email;
  23. @property (nonatomic, strong) NSString *phone;
  24. @property (nonatomic, strong) NSString *birthdate;
  25. @property (nonatomic, strong) NSString *idCardNo;
  26. @property (nonatomic, strong) NSString *avatar;
  27. @property (nonatomic, assign) BOOL isSuperAdmin;
  28. @property (nonatomic, strong) NSString *imToken;
  29. @property (nonatomic, strong) NSString *createTime;
  30. @property (nonatomic, strong) NSString *password;
  31. @property (nonatomic, strong) NSString *qqOpenid;
  32. @property (nonatomic, strong) NSString *wechatId;
  33. + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
  34. - (instancetype)initWithDictionary:(NSDictionary *)dict;
  35. - (NSDictionary *)dictionaryRepresentation;
  36. @end