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 ApplicationCategoryQuery extends BaseQuery {

    @QueryField(field = "code", type = QueryType.LIKE)
    @Schema(description = "分类编码（模糊查询）")
    private String code;

    @QueryField(field = "name", type = QueryType.LIKE)
    @Schema(description = "分类名称（模糊查询）")
    private String name;

    @QueryField(field = "enabled")
    @Schema(description = "是否启用")
    private Boolean enabled;
}

