All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.duoec.doc.doclet.pojo.Section Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package com.duoec.doc.doclet.pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

public class Section implements Comparable
{ /** * 章节名称 */ private String name; /** * 全局唯一的一个代码,可以使用类全名 */ private String code; /** * 注释 */ private String comment; /** * 章节内的接口 */ private List apis; /** * 排序值,越小越前 */ private Integer order; @JSONField(deserialize = false, serialize = false) private Chapter chapter; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public String getComment() { return comment; } public void setComment(String comment) { this.comment = comment; } public List getApis() { return apis; } public void setApis(List apis) { this.apis = apis; } public Chapter getChapter() { return chapter; } public void setChapter(Chapter chapter) { this.chapter = chapter; } public Integer getOrder() { return order; } public void setOrder(Integer order) { this.order = order; } @Override public int compareTo(Section o) { return this.order - o.order; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy