// Path: request-data/src/main/java/com/mscharhag/javaee8/mvc/requestparams/Role.java
// public enum Role {
//     admin, reporter, accountant
// }


import com.mscharhag.javaee8.mvc.requestparams.Role;
import javax.ws.rs.FormParam;
package com.mscharhag.javaee8.mvc.requestparams.bean;



public class User {

    @FormParam("id")
    private long id;

    @FormParam("name")
    private String name;

    @FormParam("role")
// Path: request-data/src/main/java/com/mscharhag/javaee8/mvc/requestparams/Role.java
// public enum Role {
//     admin, reporter, accountant
// }


// Path: request-data/src/main/java/com/mscharhag/javaee8/mvc/requestparams/bean/User.java
import com.mscharhag.javaee8.mvc.requestparams.Role;
import javax.ws.rs.FormParam;

package com.mscharhag.javaee8.mvc.requestparams.bean;



public class User {

    @FormParam("id")
    private long id;

    @FormParam("name")
    private String name;

    @FormParam("role")
    private Role role;