地质所 沉降监测网建设项目
chenhuan
2024-05-16 0fdd42e318f51f9e3c6581473416af1cca69877f
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
package com.javaweb.cms.domain;
 
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.javaweb.common.annotation.Excel;
import com.javaweb.common.core.domain.TreeEntity;
 
import java.util.List;
 
/**
 * 栏目分类对象 cms_category
 * 
 * @author wujiyue
 * @date 2019-10-28
 */
public class Category extends TreeEntity
{
    private static final long serialVersionUID = 1L;
 
    /** 分类ID */
    private Long categoryId;
 
    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;
 
    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;
 
    /** 分类描述 */
    @Excel(name = "分类描述")
    private String description;
 
    /** 状态(0正常 1停用) */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Integer status;
 
    /** 删除标志 */
    private Integer delFlag;
 
 
    private Category parent;//扩展字段
    private List<Category> nodes;//扩展字段
 
    public Category getParent() {
        return parent;
    }
 
    public void setParent(Category parent) {
        this.parent = parent;
    }
 
    public List<Category> getNodes() {
        return nodes;
    }
 
    public void setNodes(List<Category> nodes) {
        this.nodes = nodes;
    }
 
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }
 
    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }
 
    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }
 
    public Integer getSort() 
    {
        return sort;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }
 
    public String getDescription() 
    {
        return description;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }
 
    public Integer getStatus() 
    {
        return status;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }
 
    public Integer getDelFlag() 
    {
        return delFlag;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("parentId", getParentId())
            .append("ancestors", getAncestors())
            .append("sort", getSort())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .toString();
    }
}