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

com.hn.doc.xyj.domain.Project Maven / Gradle / Ivy

There is a newer version: 1.0.18
Show newest version
package com.hn.doc.xyj.domain;

import java.util.HashMap;
import java.util.Map;

/**
 *  项目
 * @author fei
 */
public class Project {
    private Map map = new HashMap(3);

    public Project setName(String name) {
        map.put("name", name);
        return this;
    }

    public Project setDescription(String description) {
        map.put("description", description);
        return this;
    }

    /**
     *  设置项目权限
     * @param permission 权限 PUBLIC 公开项目 PRIVATE 私有
     * @return Project
     */
    public Project setPermission(String permission) {
        map.put("permission", permission);
        return this;
    }

    public Map build() {
        return map;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy