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

import com.qqchen.deploy.backend.deploy.enums.BuildTypeEnum;
import com.qqchen.deploy.backend.framework.annotation.QueryField;
import com.qqchen.deploy.backend.framework.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 团队应用关联查询条件
 *
 * @author qqchen
 * @since 2025-10-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "团队应用关联查询条件")
public class TeamApplicationQuery extends BaseQuery {

    @QueryField(field = "teamId")
    @Schema(description = "团队ID")
    private Long teamId;

    @QueryField(field = "applicationId")
    @Schema(description = "应用ID")
    private Long applicationId;

    @QueryField(field = "environmentId")
    @Schema(description = "环境ID")
    private Long environmentId;

    @QueryField(field = "buildType")
    @Schema(description = "构建类型")
    private BuildTypeEnum buildType;
}

