package com.ai.da.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("AccountAdd")
public class AccountAddDTO {

    @NotBlank(message = "email.cannot.be.empty")
    @ApiModelProperty("email")
    private String email;

    @NotBlank(message = "userName.cannot.be.empty")
    @ApiModelProperty("userName")
    private String userName;

    @NotBlank(message = "validStartTime.cannot.be.empty")
    @ApiModelProperty("Start time of account validity ")
    private String validStartTime;

    @NotBlank(message = "validEndTime.cannot.be.empty")
    @ApiModelProperty("End time of account validity ")
    private String validEndTime;

    private Integer isTrial;

}
