| | |
| | | import java.util.ArrayList;
|
| | | import java.util.List;
|
| | | import javax.validation.constraints.NotBlank;
|
| | | import javax.validation.constraints.NotNull;
|
| | | import javax.validation.constraints.Size;
|
| | | import org.apache.commons.lang3.builder.ToStringBuilder;
|
| | | import org.apache.commons.lang3.builder.ToStringStyle;
|
| | |
| | | private Long parentId;
|
| | |
|
| | | /** 显示顺序 */
|
| | | private String orderNum;
|
| | | private Integer orderNum;
|
| | |
|
| | | /** 路由地址 */
|
| | | private String path;
|
| | |
| | | this.parentId = parentId;
|
| | | }
|
| | |
|
| | | @NotBlank(message = "显示顺序不能为空")
|
| | | public String getOrderNum()
|
| | | @NotNull(message = "显示顺序不能为空")
|
| | | public Integer getOrderNum()
|
| | | {
|
| | | return orderNum;
|
| | | }
|
| | |
|
| | | public void setOrderNum(String orderNum)
|
| | | public void setOrderNum(Integer orderNum)
|
| | | {
|
| | | this.orderNum = orderNum;
|
| | | }
|