package com.ruoyi.platform.vo;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(description = "Git项目信息")
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class GitProjectVo implements Serializable {

    @ApiModelProperty(value = "用户或组织ID", required = true)
    private int userId;

    @ApiModelProperty(value = "项目名称", required = true)
    private String name;

    @ApiModelProperty(value = "项目描述", required = false)
    private String description;

    @ApiModelProperty(value = "项目标识", required = true)
    private String repositoryName;

    @ApiModelProperty(value = "项目分类ID", required = false)
    private int projectCategoryId;

//
//    @ApiModelProperty(value = "项目语言ID", required = false)
//    private int projectLanguageId;

//    @ApiModelProperty(value = "项目忽略文件ID", required = false)
//    private int ignoreId;

//    @ApiModelProperty(value = "项目许可证ID", required = false)
//    private int licenseId;

    @ApiModelProperty(value = "项目是否为私有项目", required = false)
    private boolean isPrivate;

//    @ApiModelProperty(value = "是否为区块链激励项目", required = false)
//    private boolean blockchain;
//
//    @ApiModelProperty(value = "区块链激励金额总数", required = false)
//    private int blockchainTokenAll;

//
//    @Override
//    public String toString() {
//        return "GitProjectVo{" +
//                "userId=" + userId +
//                ", name='" + name + '\'' +
//                ", description='" + description + '\'' +
//                ", repositoryName='" + repositoryName + '\'' +
//                ", projectCategoryId=" + projectCategoryId +
//                ", projectLanguageId=" + projectLanguageId +
//                ", ignoreId=" + ignoreId +
//                ", licenseId=" + licenseId +
//                ", isPrivate=" + isPrivate +
//                ", blockchain=" + blockchain +
//                ", blockchainTokenAll=" + blockchainTokenAll +
//                '}';
//    }
}

