WHGAccount.m 631 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // FVAccount.m
  3. // lolbox
  4. //
  5. // Created by luxiaoming on 2017/1/11.
  6. // Copyright © 2017年 duowan. All rights reserved.
  7. //
  8. #import "WHGAccount.h"
  9. #import "YYModel.h"
  10. @implementation WHGAccount
  11. + (NSDictionary *)modelCustomPropertyMapper {
  12. return @{
  13. @"uid": @"id",
  14. };
  15. }
  16. - (instancetype)initWithCoder:(NSCoder *)aDecoder {
  17. return [super yy_modelInitWithCoder:aDecoder];
  18. }
  19. - (void)encodeWithCoder:(NSCoder *)aCoder {
  20. [self yy_modelEncodeWithCoder:aCoder];
  21. }
  22. @end
  23. @implementation MTSimpleUserModel
  24. + (NSDictionary *)modelCustomPropertyMapper {
  25. return @{
  26. @"uid": @"id",
  27. };
  28. }
  29. @end