会员查询与考试成绩提交

pull/3/head
caolin 2023-08-15 01:46:19 +08:00
parent c209aa3da3
commit 6e51bc5606
2 changed files with 6 additions and 6 deletions

View File

@ -15,11 +15,11 @@ import javax.validation.constraints.NotBlank;
@Accessors(chain = true)
public class LoginUserDto {
@ApiModelProperty("登陆手机号")
@ApiModelProperty(value = "登陆手机号",required = true)
@NotBlank(message = "登陆手机号不能为空")
private String phone;
@ApiModelProperty("登陆验证码")
@ApiModelProperty(value = "登陆验证码",required = true)
@NotBlank(message = "登陆验证码不能为空")
private String code;
}

View File

@ -24,14 +24,14 @@ public class TestSubmitDto {
/**
*
*/
@ApiModelProperty("车型标识")
@ApiModelProperty(value = "车型标识",required = true)
@NotNull(message = "车型标识不能为空")
private Integer carTypeId;
/**
*
*/
@ApiModelProperty("考试得分")
@ApiModelProperty(value = "考试得分",required = true)
@NotNull(message = "考试得分不能为空")
@Max(100)
@Min(0)
@ -40,8 +40,8 @@ public class TestSubmitDto {
/**
* ,
*/
@ApiModelProperty("考试时长,单位为秒")
@NotNull(message = "k考试时间不能为空")
@ApiModelProperty(value = "考试时长,单位为秒",required = true)
@NotNull(message = "考试时间不能为空")
@Max(3600)
@Min(0)
private Integer testTime;