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

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

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

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

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

}
