新增App资讯相关接口

This commit is contained in:
kerwincui
2022-04-14 20:32:28 +08:00
parent 6b759faeb9
commit 81f1ca8a23
11 changed files with 167 additions and 7 deletions

View File

@@ -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;
}
}