leutu
2024-06-03 3ef35e6cd16bbfa206b26bb3271eac40ad020bcb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.fastbee.iot.model;
 
import com.fastbee.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;
    }
}