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

org.ssssssss.magicapi.model.Group Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package org.ssssssss.magicapi.model;

import java.util.Collections;
import java.util.List;

public class Group extends Attributes {

	private String id;

	private String name;

	private String type;

	private String parentId;

	private String path;

	/**
	 * 路径变量
	 */
	private List paths = Collections.emptyList();

	/**
	 * 分组选项
	 */
	private List options = Collections.emptyList();

	public Group(String id, String name) {
		this.id = id;
		this.name = name;
	}

	public Group() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	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 String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public List getPaths() {
		return paths;
	}

	public void setPaths(List paths) {
		this.paths = paths;
	}

	public List getOptions() {
		return options;
	}

	public void setOptions(List options) {
		this.options = options;
	}
}