io.phasetwo.service.importexport.representation.UserRolesRepresentation Maven / Gradle / Ivy
package io.phasetwo.service.importexport.representation;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserRolesRepresentation {
@JsonProperty("username")
private String username;
@JsonProperty("roles")
private List roles;
}