package com.yd.base.service.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yd.base.feign.request.field.ApiFieldPageRequest;
import com.yd.base.feign.response.field.ApiFieldPageResponse;
import com.yd.base.service.model.Field;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 字段表（字段属性表） Mapper 接口
 * </p>
 *
 * @author zxm
 * @since 2025-11-20
 */
public interface FieldMapper extends BaseMapper<Field> {

    IPage<ApiFieldPageResponse> page(@Param("page") Page<ApiFieldPageResponse> page,
                                     @Param("request") ApiFieldPageRequest request);
}
