All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.viiyue.plugins.mybatis.mapper.BaseMapper Maven / Gradle / Ivy

Go to download

Mybatis generic mapper plugin for solving most basic operations, simplifying sql syntax and improving dynamic execution efficiency

There is a newer version: 1.3.7
Show newest version
/**
 * Copyright (C) 2017 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.viiyue.plugins.mybatis.mapper;

import java.io.Serializable;

import com.viiyue.plugins.mybatis.mapper.base.BaseDeleteMapper;
import com.viiyue.plugins.mybatis.mapper.base.BaseExampleMapper;
import com.viiyue.plugins.mybatis.mapper.base.BaseInsertMapper;
import com.viiyue.plugins.mybatis.mapper.base.BaseSelectLimitMapper;
import com.viiyue.plugins.mybatis.mapper.base.BaseSelectMapper;
import com.viiyue.plugins.mybatis.mapper.base.BaseUpdateMapper;

/**
 * 

* Basic mapper interface definition, does not contain special pessimistic * locking operations and logically deletion interfaces. * *

    *
  • C {@link BaseInsertMapper} - Data insertion interface *
  • U {@link BaseUpdateMapper} - Data update interface *
  • D {@link BaseDeleteMapper} - Data deletion interface *
  • R {@link BaseSelectMapper} - Data query interface *
  • R {@link BaseSelectLimitMapper} - Data limit query interface *
  • R {@link BaseExampleMapper} - Example query interface *
* *

* Note: Each api interface can be inherited independently * * @author tangxbai * @since 1.0.0 * * @param database entity type * @param query data return entity type * @param primary key type, must be a {@link Serializable} implementation class. */ public interface BaseMapper extends Marker, BaseInsertMapper, BaseDeleteMapper, BaseUpdateMapper, BaseSelectMapper, BaseSelectLimitMapper, BaseExampleMapper { }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy