Modifier and Type | Field and Description |
---|---|
private boolean |
deleted
True if entity was deleted.
|
private String |
email |
private String |
password |
private UserRole |
role |
private Long |
softwareVendor
If
role == ROLE_HYPER_ADMIN, then null. |
private String |
username |
Constructor and Description |
---|
UserRegistrationInfo() |
@NotNull private boolean deleted
@NotNull @Size(max=50, min=1) private String username
@NotNull @Size(max=50, min=6) @Pattern(regexp="^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*(\\.[A-Za-z]{2,})$") private String email
@NotNull private UserRole role
private Long softwareVendor
@NotNull @Size(max=200) private String password
Copyright © 2015. All rights reserved.