| | |
| | | |
| | | import javax.validation.constraints.Email; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.Size; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | |
| | | /** 菜单组 */ |
| | | private Long[] menuIds; |
| | | |
| | | /** 菜单组 */ |
| | | private Long[] staffMenuIds; |
| | | |
| | | public Long getDeptId() |
| | | { |
| | | return deptId; |
| | |
| | | this.deptName = deptName; |
| | | } |
| | | |
| | | @NotNull(message = "显示顺序不能为空") |
| | | //@NotNull(message = "显示顺序不能为空") |
| | | public Integer getOrderNum() |
| | | { |
| | | return orderNum; |
| | |
| | | this.menuIds = menuIds; |
| | | } |
| | | |
| | | public Long[] getStaffMenuIds() { |
| | | return staffMenuIds; |
| | | } |
| | | |
| | | public void setStaffMenuIds(Long[] staffMenuIds) { |
| | | this.staffMenuIds = staffMenuIds; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |