{"action":"created","issue":{"url":"https://api.github.com/repos/leancloud/docs/issues/414","labels_url":"https://api.github.com/repos/leancloud/docs/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/leancloud/docs/issues/414/comments","events_url":"https://api.github.com/repos/leancloud/docs/issues/414/events","html_url":"https://github.com/leancloud/docs/pull/414","id":96001963,"number":414,"title":"增加关系建模指南模板，增加 android 相应代码","user":{"login":"lzwjava","id":5022872,"avatar_url":"https://avatars.githubusercontent.com/u/5022872?v=3","gravatar_id":"","url":"https://api.github.com/users/lzwjava","html_url":"https://github.com/lzwjava","followers_url":"https://api.github.com/users/lzwjava/followers","following_url":"https://api.github.com/users/lzwjava/following{/other_user}","gists_url":"https://api.github.com/users/lzwjava/gists{/gist_id}","starred_url":"https://api.github.com/users/lzwjava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzwjava/subscriptions","organizations_url":"https://api.github.com/users/lzwjava/orgs","repos_url":"https://api.github.com/users/lzwjava/repos","events_url":"https://api.github.com/users/lzwjava/events{/privacy}","received_events_url":"https://api.github.com/users/lzwjava/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-20T07:18:38Z","updated_at":"2015-07-28T10:58:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/leancloud/docs/pulls/414","html_url":"https://github.com/leancloud/docs/pull/414","diff_url":"https://github.com/leancloud/docs/pull/414.diff","patch_url":"https://github.com/leancloud/docs/pull/414.patch"},"body":"本地渲染完美。模板方法很强大。:+1:\r\n\r\n@myleslee @sdjcw "},"comment":{"url":"https://api.github.com/repos/leancloud/docs/issues/comments/125557372","html_url":"https://github.com/leancloud/docs/pull/414#issuecomment-125557372","issue_url":"https://api.github.com/repos/leancloud/docs/issues/414","id":125557372,"user":{"login":"lzwjava","id":5022872,"avatar_url":"https://avatars.githubusercontent.com/u/5022872?v=3","gravatar_id":"","url":"https://api.github.com/users/lzwjava","html_url":"https://github.com/lzwjava","followers_url":"https://api.github.com/users/lzwjava/followers","following_url":"https://api.github.com/users/lzwjava/following{/other_user}","gists_url":"https://api.github.com/users/lzwjava/gists{/gist_id}","starred_url":"https://api.github.com/users/lzwjava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzwjava/subscriptions","organizations_url":"https://api.github.com/users/lzwjava/orgs","repos_url":"https://api.github.com/users/lzwjava/repos","events_url":"https://api.github.com/users/lzwjava/events{/privacy}","received_events_url":"https://api.github.com/users/lzwjava/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T10:58:53Z","updated_at":"2015-07-28T10:58:53Z","body":"主要用了以下关系模型\r\n\r\nPost 中保存创建者 createdBy ，用 Pointer。\r\n\r\n用户的购物车 cart 上的有限商品 products，用 AVObject array 来表示。\r\n\r\n歌曲 Song 和 歌手 Artist 之间歌手和歌曲的多对多关系，用 AVRelation。\r\n\r\n班级 Class 和 Member 成员的关系，用关联表，存附加属性 role 班级角色。\r\n\r\n"}}