package com.yd.base.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yd.base.feign.request.field.ApiFieldPageRequest;
import com.yd.base.feign.response.field.ApiFieldPageResponse;
import com.yd.base.service.dto.FieldDto;
import com.yd.base.service.model.Field;

/**
 * <p>
 * 字段表（字段属性表） 服务类
 * </p>
 *
 * @author zxm
 * @since 2025-11-20
 */
public interface IFieldService extends IService<Field> {

    IPage<ApiFieldPageResponse> page(Page<ApiFieldPageResponse> page,
                                     ApiFieldPageRequest request);

    Field queryOne(FieldDto dto);
}
