feiyu02
2025-04-11 635d762aef37b5de6cd2e34f4a076ab56d9a239d
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
package com.flightfeather.uav.common.api2word.model;
 
import com.github.jknack.handlebars.internal.lang3.StringUtils;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
/**
 * 返回属性
 *
 * @author kevin
 */
public class ModelAttr implements Serializable {
 
    public String getClassName() {
        return className;
    }
 
    public void setClassName(String className) {
        this.className = className;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public Boolean getRequire() {
        return require;
    }
 
    public void setRequire(Boolean require) {
        this.require = require;
    }
 
    public String getDescription() {
        return description;
    }
 
    public void setDescription(String description) {
        this.description = description;
    }
 
    public List<ModelAttr> getProperties() {
        return properties;
    }
 
    public void setProperties(List<ModelAttr> properties) {
        this.properties = properties;
    }
 
    public boolean isCompleted() {
        return isCompleted;
    }
 
    public void setCompleted(boolean isCompleted) {
        this.isCompleted = isCompleted;
    }
 
    public static long getSerialversionuid() {
        return serialVersionUID;
    }
 
    private static final long serialVersionUID = -4074067438450613643L;
 
    /**
     * 类名
     */
    private String className = StringUtils.EMPTY;
    /**
     * 属性名
     */
    private String name = StringUtils.EMPTY;
    /**
     * 类型
     */
    private String type = StringUtils.EMPTY;
    /**
     * 是否必填
     */
    private Boolean require = false;
    /**
     * 属性描述
     */
    private String description;
    /**
     * 嵌套属性列表
     */
    private List<ModelAttr> properties = new ArrayList<>();
 
    /**
     * 是否加载完成,避免循环引用
     */
    private boolean isCompleted = false;
}