Commit 56c66479 authored by Administrator's avatar Administrator

push

parent 84362b1a
package com.yx_project.start.entity;
public class SystemMenuEntity {
private long menuId;
private String menu;
private String menuName;
public long getMenuId() {
return menuId;
}
public void setMenuId(long menuId) {
this.menuId = menuId;
}
public String getMenu() {
return menu;
}
public void setMenu(String menu) {
this.menu = menu;
}
public String getMenuName() {
return menuName;
}
public void setMenuName(String menuName) {
this.menuName = menuName;
}
}
package com.yx_project.start.entity;
import javax.persistence.*;
import java.util.List;
public class SystemRoleEntity {
private long roleId;
private String roleName;
private List<SystemMenuEntity> menuEntityList;
public List<SystemMenuEntity> getMenuEntityList() {
return menuEntityList;
}
public void setMenuEntityList(List<SystemMenuEntity> menuEntityList) {
this.menuEntityList = menuEntityList;
}
public long getRoleId() {
return roleId;
}
public void setRoleId(long roleId) {
this.roleId = roleId;
}
public String getRoleName() {
return roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
}
package com.yx_project.start.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
public class SystemRoleMenuEntity {
private long systemRoleMenuId;
private long roleMenuId;
private long roleId;
public long getRoleId() {
return roleId;
}
public void setRoleId(long roleId) {
this.roleId = roleId;
}
public long getRoleMenuId() {
return roleMenuId;
}
public void setRoleMenuId(long roleMenuId) {
this.roleMenuId = roleMenuId;
}
public long getSystemRoleMenuId() {
return systemRoleMenuId;
}
public void setSystemRoleMenuId(long systemRoleMenuId) {
this.systemRoleMenuId = systemRoleMenuId;
}
}
package com.yx_project.start.entity;
import java.util.List;
public class SystemUserEntity {
private long id;
private String username;
private String password;
private String workshop;
private long roleId;
private List<SystemRoleEntity> roleEntityList;
public long getRoleId() {
return roleId;
}
public void setRoleId(long roleId) {
this.roleId = roleId;
}
public List<SystemRoleEntity> getRoleEntityList() {
return roleEntityList;
}
public void setRoleEntityList(List<SystemRoleEntity> roleEntityList) {
this.roleEntityList = roleEntityList;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getWorkshop() {
return workshop;
}
public void setWorkshop(String workshop) {
this.workshop = workshop;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment