mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-11 02:17:56 +08:00
增加热门搜索
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.mdd.common.entity.setting;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 热门搜索实体
|
||||
*/
|
||||
@Data
|
||||
public class HotSearch implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value="id", type= IdType.AUTO)
|
||||
private Integer id; // 主键
|
||||
private String name; // 关键词
|
||||
private Integer sort; // 排序号
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.mdd.common.mapper.setting;
|
||||
|
||||
import com.mdd.common.core.basics.IBaseMapper;
|
||||
import com.mdd.common.entity.setting.HotSearch;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 热门搜索Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface HotSearchMapper extends IBaseMapper<HotSearch> {
|
||||
}
|
||||
Reference in New Issue
Block a user