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 io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 环境查询对象
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "环境查询对象")
public class EnvironmentQuery extends BaseQuery {

    @Schema(description = "租户编码")
    @QueryField(field = "tenantCode", type = QueryType.LIKE)
    private String tenantCode;

    @Schema(description = "项目ID")
    @QueryField(field = "projectId", type = QueryType.EQUAL)
    private Long projectId;

    @Schema(description = "环境编码")
    @QueryField(field = "envCode", type = QueryType.LIKE)
    private String envCode;

    @Schema(description = "环境名称")
    @QueryField(field = "envName", type = QueryType.LIKE)
    private String envName;
} 