{"action":"opened","issue":{"url":"https://api.github.com/repos/yogjun/myblog/issues/21","repository_url":"https://api.github.com/repos/yogjun/myblog","labels_url":"https://api.github.com/repos/yogjun/myblog/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/yogjun/myblog/issues/21/comments","events_url":"https://api.github.com/repos/yogjun/myblog/issues/21/events","html_url":"https://github.com/yogjun/myblog/issues/21","id":356347965,"node_id":"MDU6SXNzdWUzNTYzNDc5NjU=","number":21,"title":"为什么要分层（do+vo（dto））而不是从头到尾只用一个do","user":{"login":"yogjun","id":19964655,"node_id":"MDQ6VXNlcjE5OTY0NjU1","avatar_url":"https://avatars1.githubusercontent.com/u/19964655?v=4","gravatar_id":"","url":"https://api.github.com/users/yogjun","html_url":"https://github.com/yogjun","followers_url":"https://api.github.com/users/yogjun/followers","following_url":"https://api.github.com/users/yogjun/following{/other_user}","gists_url":"https://api.github.com/users/yogjun/gists{/gist_id}","starred_url":"https://api.github.com/users/yogjun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogjun/subscriptions","organizations_url":"https://api.github.com/users/yogjun/orgs","repos_url":"https://api.github.com/users/yogjun/repos","events_url":"https://api.github.com/users/yogjun/events{/privacy}","received_events_url":"https://api.github.com/users/yogjun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-03T03:34:37Z","updated_at":"2018-09-03T03:34:37Z","closed_at":null,"author_association":"OWNER","body":"1没用的字段也会传递到前端（所有通过dao查出来的字段会一股脑丢给前端）\r\n2类似status转statusStr或者date转dateStr之类的不太支持\r\n3多表查询出来的结果希望展示在一起\r\n\r\n总结：vo和to存在映射关系，（只有极特殊的情况是一对一），在其他情况下则需要进行冗余。冗余过多时不利于后期维护，以及多个对应页面的冗余所需代价远大于直接新建一个vo（dto）"}}
{"actor":{"display_login":"yogjun"}}