package com.yuchen.saas.manage.user.api.vo;

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

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "修改手机号码VO", description = "修改手机号码VO")
public class ChangePhoneVo {

    @ApiModelProperty(value = "原手机号码")
    @NotNull(message = "原手机号码不能为空")
    private String oldPhone;

    @ApiModelProperty(value = "新手机号码")
    @NotNull(message = "新手机号码不能为空")
    private String newPhone;

    @ApiModelProperty(value = "短信验证码")
    @NotNull(message = "短信验证码不能为空")
    private String code;

}
