package com.goafanti.common.dao;

import com.goafanti.common.model.PersonnelEntry;
import com.goafanti.common.model.PersonnelEntryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PersonnelEntryMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    long countByExample(PersonnelEntryExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    int deleteByExample(PersonnelEntryExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    int insert(PersonnelEntry record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    int insertSelective(PersonnelEntry record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    List<PersonnelEntry> selectByExample(PersonnelEntryExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    PersonnelEntry selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    int updateByExampleSelective(@Param("record") PersonnelEntry record, @Param("example") PersonnelEntryExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    int updateByExample(@Param("record") PersonnelEntry record, @Param("example") PersonnelEntryExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    int updateByPrimaryKeySelective(PersonnelEntry record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table personnel_entry
     *
     * @mbg.generated Fri Apr 24 11:14:15 CST 2020
     */
    int updateByPrimaryKey(PersonnelEntry record);
}