How to create DTO class
<p>I want to create DTO class for User. my input to program is 
firstname, lastname,lastname.role,group1,group2,group3. </p>

<p>so for each user role consist of group_1,group_2,group_3.....</p>

<p>In database i want to store in following format
demo,demo,demo,roleId, gorup_1_name  group_1_Id 
demo,demo,demo,roleId, gorup_2 and group_2_Id
demo,demo,demo,roleId, gorup_3 and group_3_Id</p>

<p>I was able separate all this things , but i want to assign this value to userDTO class and stored into database. basically im new to core java part. so how can create structure for this?</p>
