{"action":"created","issue":{"url":"https://api.github.com/repos/agazzarini/tcoo/issues/2","labels_url":"https://api.github.com/repos/agazzarini/tcoo/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/agazzarini/tcoo/issues/2/comments","events_url":"https://api.github.com/repos/agazzarini/tcoo/issues/2/events","html_url":"https://github.com/agazzarini/tcoo/issues/2","id":62742297,"number":2,"title":"implementazione Classe User","user":{"login":"agazzarini","id":7569632,"avatar_url":"https://avatars.githubusercontent.com/u/7569632?v=3","gravatar_id":"","url":"https://api.github.com/users/agazzarini","html_url":"https://github.com/agazzarini","followers_url":"https://api.github.com/users/agazzarini/followers","following_url":"https://api.github.com/users/agazzarini/following{/other_user}","gists_url":"https://api.github.com/users/agazzarini/gists{/gist_id}","starred_url":"https://api.github.com/users/agazzarini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agazzarini/subscriptions","organizations_url":"https://api.github.com/users/agazzarini/orgs","repos_url":"https://api.github.com/users/agazzarini/repos","events_url":"https://api.github.com/users/agazzarini/events{/privacy}","received_events_url":"https://api.github.com/users/agazzarini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bluegrifer00","id":11144558,"avatar_url":"https://avatars.githubusercontent.com/u/11144558?v=3","gravatar_id":"","url":"https://api.github.com/users/bluegrifer00","html_url":"https://github.com/bluegrifer00","followers_url":"https://api.github.com/users/bluegrifer00/followers","following_url":"https://api.github.com/users/bluegrifer00/following{/other_user}","gists_url":"https://api.github.com/users/bluegrifer00/gists{/gist_id}","starred_url":"https://api.github.com/users/bluegrifer00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluegrifer00/subscriptions","organizations_url":"https://api.github.com/users/bluegrifer00/orgs","repos_url":"https://api.github.com/users/bluegrifer00/repos","events_url":"https://api.github.com/users/bluegrifer00/events{/privacy}","received_events_url":"https://api.github.com/users/bluegrifer00/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-18T17:03:53Z","updated_at":"2015-03-21T08:10:09Z","closed_at":null,"body":"Un'altra classe di cui sicuramente necessiteremo sarà la classe User, che incapsula, come immaginate, il concetto di utente.\r\n\r\nDa definire se vogliamo fare \r\n\r\n- una classe user con all'interno un attributo che indica la tipologia dell'utente \r\n- una classe specifica per ogni tipologia di utente. E.g. (Admin, EndUser, StandUser)  \r\n\r\nA tal proposito vedetevi la chiacchierata che abbiamo fatto sulla issue #1, nata da uno spunto suggerito da @gmm89 "},"comment":{"url":"https://api.github.com/repos/agazzarini/tcoo/issues/comments/84278431","html_url":"https://github.com/agazzarini/tcoo/issues/2#issuecomment-84278431","issue_url":"https://api.github.com/repos/agazzarini/tcoo/issues/2","id":84278431,"user":{"login":"agazzarini","id":7569632,"avatar_url":"https://avatars.githubusercontent.com/u/7569632?v=3","gravatar_id":"","url":"https://api.github.com/users/agazzarini","html_url":"https://github.com/agazzarini","followers_url":"https://api.github.com/users/agazzarini/followers","following_url":"https://api.github.com/users/agazzarini/following{/other_user}","gists_url":"https://api.github.com/users/agazzarini/gists{/gist_id}","starred_url":"https://api.github.com/users/agazzarini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agazzarini/subscriptions","organizations_url":"https://api.github.com/users/agazzarini/orgs","repos_url":"https://api.github.com/users/agazzarini/repos","events_url":"https://api.github.com/users/agazzarini/events{/privacy}","received_events_url":"https://api.github.com/users/agazzarini/received_events","type":"User","site_admin":false},"created_at":"2015-03-21T08:10:09Z","updated_at":"2015-03-21T08:10:09Z","body":"Per adesso è meglio fare una sola classe di nome User con all'interno (oltre gli attributi che dicevamo ieri) un nuovo attributo di tipo int che indica il tipo dell'utente \r\n\r\n1 = admin (utente della proloco)\r\n2 = end user (utente pubblico)\r\n3 = stand user (proprietario dello stand)\r\n\r\nIl progetto di riferimento è proloco-domain-model, il package è it.proloco.dm.user (nuovo, sottopackage dell'attuale it.proloco.dm) \r\n\r\nPer creare il nuovo package click col tasto destro sul package it.proloco.dm >> New >> Package"}}