会员查询与考试成绩提交
parent
c209aa3da3
commit
6e51bc5606
|
@ -15,11 +15,11 @@ import javax.validation.constraints.NotBlank;
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
public class LoginUserDto {
|
public class LoginUserDto {
|
||||||
|
|
||||||
@ApiModelProperty("登陆手机号")
|
@ApiModelProperty(value = "登陆手机号",required = true)
|
||||||
@NotBlank(message = "登陆手机号不能为空")
|
@NotBlank(message = "登陆手机号不能为空")
|
||||||
private String phone;
|
private String phone;
|
||||||
|
|
||||||
@ApiModelProperty("登陆验证码")
|
@ApiModelProperty(value = "登陆验证码",required = true)
|
||||||
@NotBlank(message = "登陆验证码不能为空")
|
@NotBlank(message = "登陆验证码不能为空")
|
||||||
private String code;
|
private String code;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,14 +24,14 @@ public class TestSubmitDto {
|
||||||
/**
|
/**
|
||||||
* 车型标识
|
* 车型标识
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty("车型标识")
|
@ApiModelProperty(value = "车型标识",required = true)
|
||||||
@NotNull(message = "车型标识不能为空")
|
@NotNull(message = "车型标识不能为空")
|
||||||
private Integer carTypeId;
|
private Integer carTypeId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 考试得分
|
* 考试得分
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty("考试得分")
|
@ApiModelProperty(value = "考试得分",required = true)
|
||||||
@NotNull(message = "考试得分不能为空")
|
@NotNull(message = "考试得分不能为空")
|
||||||
@Max(100)
|
@Max(100)
|
||||||
@Min(0)
|
@Min(0)
|
||||||
|
@ -40,8 +40,8 @@ public class TestSubmitDto {
|
||||||
/**
|
/**
|
||||||
* 考试时长,单位为秒
|
* 考试时长,单位为秒
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty("考试时长,单位为秒")
|
@ApiModelProperty(value = "考试时长,单位为秒",required = true)
|
||||||
@NotNull(message = "k考试时间不能为空")
|
@NotNull(message = "考试时间不能为空")
|
||||||
@Max(3600)
|
@Max(3600)
|
||||||
@Min(0)
|
@Min(0)
|
||||||
private Integer testTime;
|
private Integer testTime;
|
||||||
|
|
Loading…
Reference in New Issue