package com.microservices.pms.enterprise.domain.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author otto
 */
@Data
@ApiModel("GitLink组织输入对象")
public class GitlinkOrganizationInputVo {
    @ApiModelProperty(value = "组织名称")
    private String nickname;
    @ApiModelProperty(value = "组织标识")
    private String name;
    @ApiModelProperty(value = "可见性")
    private String visibility = "common";
    @ApiModelProperty(value = "组织描述")
    private String description;
    @ApiModelProperty(value = "头像")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String image;
    @ApiModelProperty(value = "所在地区")
    private String location;
    @ApiModelProperty(value = "官方网站")
    private String website = null;
    @ApiModelProperty(value = "项目管理员可以添加或移除团队的访问权限")
    private Boolean repo_admin_change_team_access = false;
    @ApiModelProperty(value = "最大仓库数")
    private Integer max_repo_creation = null;
}
