/*
 * Copyright 1999-2018 Alibaba Group Holding Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.alibaba.nacos.console.model;

/**
 * 命名空间
 *
 * @author diamond
 */
public class Namespace {

    private String namespace;

    private String namespaceShowName;

    private int quota;

    private int configCount;
    /**
     * 0 全局配置， 1 默认私有命名空间 ，2 自定义命名空间
     */
    private int type;

    public String getNamespaceShowName() {
        return namespaceShowName;
    }

    public void setNamespaceShowName(String namespaceShowName) {
        this.namespaceShowName = namespaceShowName;
    }

    public String getNamespace() {
        return namespace;
    }

    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    public Namespace() {
    }

    public Namespace(String namespace, String namespaceShowName) {
        this.namespace = namespace;
        this.namespaceShowName = namespaceShowName;
    }

    public Namespace(String namespace, String namespaceShowName, int quota, int configCount, int type) {
        this.namespace = namespace;
        this.namespaceShowName = namespaceShowName;
        this.quota = quota;
        this.configCount = configCount;
        this.type = type;
    }

    public int getQuota() {
        return quota;
    }

    public void setQuota(int quota) {
        this.quota = quota;
    }

    public int getConfigCount() {
        return configCount;
    }

    public void setConfigCount(int configCount) {
        this.configCount = configCount;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

}

@@ -658,20 +658,25 @@
 %0A/**%0A * 
-%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4
+Namespace
 %0A *%0A * @
@@ -864,35 +864,83 @@
 * 0 
-%E5%85%A8%E5%B1%80%E9%85%8D%E7%BD%AE%EF%BC%8C 1 %E9%BB%98%E8%AE%A4%E7%A7%81%E6%9C%89%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4 %EF%BC%8C2 %E8%87%AA%E5%AE%9A%E4%B9%89%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4
+: Global configuration%EF%BC%8C 1 : Default private namespace %EF%BC%8C2 : Custom namespace
 %0A   

translate javadoc to English.