{"action":"created","issue":{"url":"https://api.github.com/repos/CoderMJLee/MJExtension/issues/45","labels_url":"https://api.github.com/repos/CoderMJLee/MJExtension/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/CoderMJLee/MJExtension/issues/45/comments","events_url":"https://api.github.com/repos/CoderMJLee/MJExtension/issues/45/events","html_url":"https://github.com/CoderMJLee/MJExtension/issues/45","id":71813551,"number":45,"title":"模型中的属性名和字典中的key映射问题","user":{"login":"wonderffee","id":4888291,"avatar_url":"https://avatars.githubusercontent.com/u/4888291?v=3","gravatar_id":"","url":"https://api.github.com/users/wonderffee","html_url":"https://github.com/wonderffee","followers_url":"https://api.github.com/users/wonderffee/followers","following_url":"https://api.github.com/users/wonderffee/following{/other_user}","gists_url":"https://api.github.com/users/wonderffee/gists{/gist_id}","starred_url":"https://api.github.com/users/wonderffee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonderffee/subscriptions","organizations_url":"https://api.github.com/users/wonderffee/orgs","repos_url":"https://api.github.com/users/wonderffee/repos","events_url":"https://api.github.com/users/wonderffee/events{/privacy}","received_events_url":"https://api.github.com/users/wonderffee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-29T08:27:33Z","updated_at":"2015-05-01T13:21:23Z","closed_at":"2015-05-01T13:21:23Z","body":"对于这个问题，readme里说的是单独调用setupReplacedKeyFromPropertyName:方法来实现，看了一下Example是放在MJExtensionConfig类里的load方法里调用，只会调用一次，实现很巧妙，但是还是有不足：映射与Model类分离。觉得把这个映射放在Model类里不是更好吗，比如放在Model类的+load方法中？或者用其它的函数？\r\n如果方法可取建议更新readme"},"comment":{"url":"https://api.github.com/repos/CoderMJLee/MJExtension/issues/comments/98132199","html_url":"https://github.com/CoderMJLee/MJExtension/issues/45#issuecomment-98132199","issue_url":"https://api.github.com/repos/CoderMJLee/MJExtension/issues/45","id":98132199,"user":{"login":"CoderMJLee","id":3817366,"avatar_url":"https://avatars.githubusercontent.com/u/3817366?v=3","gravatar_id":"","url":"https://api.github.com/users/CoderMJLee","html_url":"https://github.com/CoderMJLee","followers_url":"https://api.github.com/users/CoderMJLee/followers","following_url":"https://api.github.com/users/CoderMJLee/following{/other_user}","gists_url":"https://api.github.com/users/CoderMJLee/gists{/gist_id}","starred_url":"https://api.github.com/users/CoderMJLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoderMJLee/subscriptions","organizations_url":"https://api.github.com/users/CoderMJLee/orgs","repos_url":"https://api.github.com/users/CoderMJLee/repos","events_url":"https://api.github.com/users/CoderMJLee/events{/privacy}","received_events_url":"https://api.github.com/users/CoderMJLee/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T13:21:23Z","updated_at":"2015-05-01T13:21:23Z","body":"所以我提供了2种做法啊，哈哈。任你选择。"}}