com.hn.doc.xyj.domain.Project Maven / Gradle / Ivy
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