mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-19 17:35:54 +08:00
新增App资讯相关接口
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
package com.ruoyi.iot.model;
|
||||
|
||||
import com.ruoyi.iot.domain.News;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 产品分类的Id和名称输出
|
||||
*
|
||||
* @author kerwincui
|
||||
* @date 2021-12-16
|
||||
*/
|
||||
public class CategoryNews
|
||||
{
|
||||
private Long categoryId;
|
||||
|
||||
private String categoryName;
|
||||
|
||||
private List<News> newsList;
|
||||
|
||||
public CategoryNews(){
|
||||
this.newsList=new ArrayList<>();
|
||||
}
|
||||
|
||||
public Long getCategoryId() {
|
||||
return categoryId;
|
||||
}
|
||||
|
||||
public void setCategoryId(Long categoryId) {
|
||||
this.categoryId = categoryId;
|
||||
}
|
||||
|
||||
public String getCategoryName() {
|
||||
return categoryName;
|
||||
}
|
||||
|
||||
public void setCategoryName(String categoryName) {
|
||||
this.categoryName = categoryName;
|
||||
}
|
||||
|
||||
public List<News> getNewsList() {
|
||||
return newsList;
|
||||
}
|
||||
|
||||
public void setNewsList(List<News> newsList) {
|
||||
this.newsList = newsList;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user