修改书签菜单Icon图标大小为21px,新增查询用户菜单接口,查询单个标签信息接口
This commit is contained in:
@ -1,94 +1,129 @@
|
||||
package com.ruoyi.bookmark.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.TreeEntity;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Transient;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 书签菜单对象 sq_menu
|
||||
*
|
||||
*
|
||||
* @author wanghao
|
||||
* @date 2020-08-06
|
||||
*/
|
||||
public class SqMenu extends TreeEntity
|
||||
public class SqMenu
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 书签菜单ID */
|
||||
@Column(name = "menu_id")
|
||||
private Long menuId;
|
||||
|
||||
/** 归属用户ID */
|
||||
@Excel(name = "归属用户ID")
|
||||
@Column(name = "user_id")
|
||||
private Long userId;
|
||||
|
||||
/** 分类名称 */
|
||||
@Excel(name = "分类名称")
|
||||
@Column(name = "menu_name")
|
||||
private String menuName;
|
||||
|
||||
/** 菜单url */
|
||||
@Excel(name = "菜单url")
|
||||
@Column(name = "menu_url")
|
||||
private String menuUrl;
|
||||
|
||||
/** 菜单图标 */
|
||||
@Excel(name = "菜单图标")
|
||||
@Column(name = "menu_order")
|
||||
private String menuIcon;
|
||||
|
||||
/** 菜单顺序 */
|
||||
@Excel(name = "菜单顺序")
|
||||
@Column(name = "menu_order")
|
||||
private Integer menuOrder;
|
||||
|
||||
public void setMenuId(Long menuId)
|
||||
@Column(name = "parent_id")
|
||||
private Long parentId;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Column(name = "create_time")
|
||||
private Date createTime;
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Long getParentId() {
|
||||
return parentId;
|
||||
}
|
||||
|
||||
public void setParentId(Long parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public void setMenuId(Long menuId)
|
||||
{
|
||||
this.menuId = menuId;
|
||||
}
|
||||
|
||||
public Long getMenuId()
|
||||
public Long getMenuId()
|
||||
{
|
||||
return menuId;
|
||||
}
|
||||
public void setUserId(Long userId)
|
||||
public void setUserId(Long userId)
|
||||
{
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Long getUserId()
|
||||
public Long getUserId()
|
||||
{
|
||||
return userId;
|
||||
}
|
||||
public void setMenuName(String menuName)
|
||||
public void setMenuName(String menuName)
|
||||
{
|
||||
this.menuName = menuName;
|
||||
}
|
||||
|
||||
public String getMenuName()
|
||||
public String getMenuName()
|
||||
{
|
||||
return menuName;
|
||||
}
|
||||
public void setMenuUrl(String menuUrl)
|
||||
public void setMenuUrl(String menuUrl)
|
||||
{
|
||||
this.menuUrl = menuUrl;
|
||||
}
|
||||
|
||||
public String getMenuUrl()
|
||||
public String getMenuUrl()
|
||||
{
|
||||
return menuUrl;
|
||||
}
|
||||
public void setMenuIcon(String menuIcon)
|
||||
public void setMenuIcon(String menuIcon)
|
||||
{
|
||||
this.menuIcon = menuIcon;
|
||||
}
|
||||
|
||||
public String getMenuIcon()
|
||||
public String getMenuIcon()
|
||||
{
|
||||
return menuIcon;
|
||||
}
|
||||
public void setMenuOrder(Integer menuOrder)
|
||||
public void setMenuOrder(Integer menuOrder)
|
||||
{
|
||||
this.menuOrder = menuOrder;
|
||||
}
|
||||
|
||||
public Integer getMenuOrder()
|
||||
public Integer getMenuOrder()
|
||||
{
|
||||
return menuOrder;
|
||||
}
|
||||
|
Reference in New Issue
Block a user