package com.qqchen.deploy.backend.system.model.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;

@Data
@EqualsAndHashCode(callSuper = true)
public class PermissionQuery extends BaseQuery {

    @QueryField(type = QueryType.LIKE)
    private String code;

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

    @QueryField(type = QueryType.EQUAL)
    private String type;

    @QueryField(type = QueryType.EQUAL)
    private Boolean enabled;

    @QueryField(type = QueryType.EQUAL)
    private Long menuId;
} 