package jnpf.qualifications.service;

import com.github.pagehelper.PageInfo;
import jnpf.base.service.SuperService;
import jnpf.entity.qualifications.QualificationsField;
import jnpf.model.qualifications.dto.QualificationsDto;
import jnpf.model.qualifications.vo.QualificationsCategoryVo;
import jnpf.model.qualifications.vo.QualificationsItemsVo;
import jnpf.model.qualifications.vo.QualificationsVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * todo
 *
 * @author Flynn Chan
 * @create 2024-03-04
 */
public interface QualificationsFieldService extends SuperService<QualificationsField> {

    Boolean create(QualificationsDto qualificationsDto);

    Boolean updateById(QualificationsDto qualificationsDto);

    PageInfo<QualificationsCategoryVo> getQualificationsFieldPages(String keyWord, String categoryId, Integer currentPage, Integer pageSize);

    QualificationsItemsVo getQualificationsFieldItem(String fieldId);

    Boolean deleteFieldById(String fieldId);

    List<QualificationsField> getCategoryFieldList(String categoryId);
}
