细节修改
This commit is contained in:
@@ -6,9 +6,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
/**
|
||||
* @version 1.0.0
|
||||
@@ -57,6 +55,8 @@ public class DeptConfigParam {
|
||||
* 地图状态:0-离线 1-在线
|
||||
*/
|
||||
@ApiModelProperty("地图状态:0-离线 1-在线")
|
||||
@Max(value = 1)
|
||||
@Min(value = 0)
|
||||
@NotNull(message = "地图状态不可为空")
|
||||
private Integer mapType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user