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

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

/**
 * 团队环境配置查询条件
 *
 * @author qqchen
 * @since 2025-11-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TeamEnvironmentConfigQuery extends BaseQuery {

    /**
     * 团队ID
     */
    @QueryField(field = "teamId")
    private Long teamId;

    /**
     * 环境ID
     */
    @QueryField(field = "environmentId")
    private Long environmentId;

    /**
     * 是否需要审批
     */
    @QueryField(field = "approvalRequired")
    private Boolean approvalRequired;

    /**
     * 是否启用通知
     */
    @QueryField(field = "notificationEnabled")
    private Boolean notificationEnabled;
}

