package com.cesgroup.cesmonitor.bean;

/**
 * 快速访问
 *
 * @author user
 * @version 1.0.0 2017年5月11日
 */
public class QuickAccess {

    public String getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public String getGroupname() {
        return groupname;
    }

    public void setGroupname(final String groupname) {
        this.groupname = groupname;
    }

    public String getHostname() {
        return hostname;
    }

    public void setHostname(final String hostname) {
        this.hostname = hostname;
    }

    public String getGraphname() {
        return graphname;
    }

    public void setGraphanme(final String graphname) {
        this.graphname = graphname;
    }

    private String id;

    private String name;

    private String groupname;

    private String hostname;

    private String graphname;

    public QuickAccess() {

    }

    /**
     *
     * @param id
     *            id
     * @param name
     *            名称
     * @param groupname
     *            群组名
     * @param hostname
     *            主机名
     * @param graphname
     *            图形名称
     */
    public QuickAccess(final String id, final String name, final String groupname, final String hostname,
        final String graphname) {
        this.id = id;
        this.name = name;
        this.groupname = groupname;
        this.hostname = hostname;
        this.graphname = graphname;
    }

    @Override
    public String toString() {
        return "QuickAccess [id=" + id + ", name=" + name + ", groupname=" + groupname + ", hostname="
            + hostname + ", graphname=" + graphname + "]";
    }

}