public class ContactInfo extends Object implements Info
ActivationCreationInfo.contactInfo
.
User: Kirill, Date: 05.08.13 17:59
Modifier and Type | Field and Description |
---|---|
private String |
email
Email of person who requests activation.
|
private String |
name
Name of person who makes activation.
|
private String |
phone
Phone number of person who requests activation.
|
Constructor and Description |
---|
ContactInfo() |
@NotNull @Size(min=1, max=96) private String name
@NotNull @Size(max=50) private String phone
@NotNull @Pattern(regexp="^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*(\\.[A-Za-z]{2,})$") @Size(max=56) private String email
Copyright © 2016. All rights reserved.