111
wang-hao-jie
2022-08-25 d90da0759bd93c7f429f6a20bc835782ad927c02
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
package com.boying.entity;
 
import com.boying.common.BaseEntity;
 
import javax.persistence.Entity;
import javax.persistence.Table;
 
@Table(name = "ziLiaoDir")
@Entity
public class ZiLiaoDir extends BaseEntity {
 
    private String name;
    private Long parentId;
    private int num;
    private Boolean hasChildren = false;
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public Long getParentId() {
        return parentId;
    }
 
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
 
    public int getNum() {
        return num;
    }
 
    public void setNum(int num) {
        this.num = num;
    }
 
    public Boolean getHasChildren() {
        return hasChildren;
    }
 
    public void setHasChildren(Boolean hasChildren) {
        this.hasChildren = hasChildren;
    }
}