package com.qqchen.deploy.backend.deploy.integration.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * Git组响应对象
 */
@Data
public class GitGroupResponse {

    private Long id;

    private String name;

    private String path;

    private String description;

    private String visibility;

    @JsonProperty("parent_id")
    private Long parentId;

    @JsonProperty("web_url")
    private String webUrl;

    @JsonProperty("avatar_url")
    private String avatarUrl;

    @JsonProperty("full_name")
    private String fullName;

    @JsonProperty("full_path")
    private String fullPath;

    @JsonProperty("project_creation_level")
    private String projectCreationLevel;

    @JsonProperty("subgroup_creation_level")
    private String subgroupCreationLevel;

    @JsonProperty("request_access_enabled")
    private Boolean requestAccessEnabled;

    @JsonProperty("share_with_group_lock")
    private Boolean shareWithGroupLock;

    @JsonProperty("require_two_factor_authentication")
    private Boolean requireTwoFactorAuthentication;

    @JsonProperty("two_factor_grace_period")
    private Integer twoFactorGracePeriod;

    @JsonProperty("auto_devops_enabled")
    private Boolean autoDevopsEnabled;

    @JsonProperty("emails_disabled")
    private Boolean emailsDisabled;

    @JsonProperty("mentions_disabled")
    private Boolean mentionsDisabled;

    @JsonProperty("lfs_enabled")
    private Boolean lfsEnabled;

    @JsonProperty("default_branch_protection")
    private Integer defaultBranchProtection;

    @JsonProperty("created_at")
    private String createdAt;
} 