package com.qqchen.deploy.backend.deploy.query;

import com.qqchen.deploy.backend.framework.annotation.QueryField;
import com.qqchen.deploy.backend.framework.enums.QueryType;
import com.qqchen.deploy.backend.framework.query.BaseQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Git仓库项目查询对象
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class RepositoryProjectQuery extends BaseQuery {

    @QueryField(field = "name", type = QueryType.LIKE)
    private String name;

    @QueryField(field = "path", type = QueryType.LIKE)
    private String path;

    @QueryField(field = "visibility")
    private String visibility;

    @QueryField(field = "groupId")
    private Long groupId;

    @QueryField(field = "externalSystemId")
    private Long externalSystemId;

    @QueryField(field = "projectId")
    private Long projectId;
} 