TASK: 是否完成引导字段添加;
This commit is contained in:
@@ -2,6 +2,7 @@ package com.ai.da.model.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.models.auth.In;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
@@ -28,5 +29,7 @@ public class AccountLoginVO {
|
||||
|
||||
@ApiModelProperty("是否是试用用户")
|
||||
private Integer isTrial;
|
||||
@ApiModelProperty("是否完成引导")
|
||||
private Integer isBeginner;
|
||||
|
||||
}
|
||||
|
||||
@@ -17,8 +17,7 @@ public class PageQueryBaseVo {
|
||||
private Integer page = 1;
|
||||
|
||||
@ApiModelProperty("每页数量")
|
||||
@Min(value = 0, message = "size最小值为1")
|
||||
// TODO:异常处理
|
||||
@Max(value = 50, message = "TODO:size最大值为50 ")
|
||||
@Min(value = 0, message = "The minimum size is 1")
|
||||
@Max(value = 50, message = "The maximum size is 50")
|
||||
private Integer size = 20;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user