|
|
@@ -3,6 +3,7 @@ package com.ruoyi.system.domain;
|
|
3
|
3
|
import java.util.ArrayList;
|
|
4
|
4
|
import java.util.List;
|
|
5
|
5
|
import javax.validation.constraints.NotBlank;
|
|
|
6
|
+import javax.validation.constraints.NotNull;
|
|
6
|
7
|
import javax.validation.constraints.Size;
|
|
7
|
8
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
8
|
9
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
@@ -30,7 +31,7 @@ public class SysMenu extends BaseEntity
|
|
30
|
31
|
private Long parentId;
|
|
31
|
32
|
|
|
32
|
33
|
/** 显示顺序 */
|
|
33
|
|
- private String orderNum;
|
|
|
34
|
+ private Integer orderNum;
|
|
34
|
35
|
|
|
35
|
36
|
/** 路由地址 */
|
|
36
|
37
|
private String path;
|
|
|
@@ -107,13 +108,13 @@ public class SysMenu extends BaseEntity
|
|
107
|
108
|
this.parentId = parentId;
|
|
108
|
109
|
}
|
|
109
|
110
|
|
|
110
|
|
- @NotBlank(message = "显示顺序不能为空")
|
|
111
|
|
- public String getOrderNum()
|
|
|
111
|
+ @NotNull(message = "显示顺序不能为空")
|
|
|
112
|
+ public Integer getOrderNum()
|
|
112
|
113
|
{
|
|
113
|
114
|
return orderNum;
|
|
114
|
115
|
}
|
|
115
|
116
|
|
|
116
|
|
- public void setOrderNum(String orderNum)
|
|
|
117
|
+ public void setOrderNum(Integer orderNum)
|
|
117
|
118
|
{
|
|
118
|
119
|
this.orderNum = orderNum;
|
|
119
|
120
|
}
|