package com.muchinfo.mtp3century.vo.systemlogin;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="LoginReq对象", description="登入参数细信息")
@Builder
public class LoginReq implements Serializable {

    private static final long serialVersionUID = 3430400272157428109L;

    @NotBlank(message = "用户名不能为空")
    private String accountCode;

    @NotBlank(message = "密码不能为空")
    private String password;

    //@NotBlank(message = "验证码不能为空")
    private String verifyCode;

    //@NotBlank(message = "验证码密钥不能为空")
    private String key;

    private String loginIp;
}
