package com.yuchen.saas.park.service.service.people;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.people.PropertySpecialPeopleInfoSaveDTO;
import com.yuchen.saas.park.api.dto.people.PropertySpecialPeopleInfoUpdateDTO;
import com.yuchen.saas.park.api.dto.people.SpecialPeopleInfoPageDTO;
import com.yuchen.saas.park.api.entity.park.people.SaasParkSpecialPeopleInfo;
import com.yuchen.saas.park.api.vo.people.SpecialPeopleInfoVO;
import com.yuchen.saas.park.api.vo.people.SpecialPeoplePageVO;
import org.nest.springwrap.core.mp.base.BaseService;
import org.nest.springwrap.core.mp.support.NestPage;


/**
 * <p>
 * 特殊人员信息表 服务类
 * </p>
 *
 * @author linyb
 * @since 2024-12-02
 */
public interface ISaasParkSpecialPeopleInfoService extends BaseService<SaasParkSpecialPeopleInfo> {

    /**
     * 保存
     * @param dto
     * @return
     */
    boolean save(PropertySpecialPeopleInfoSaveDTO dto);
    /**
     * 修改
     * @param dto
     * @return
     */
    boolean update(PropertySpecialPeopleInfoUpdateDTO dto);
    /**
     * 详情
     * @param id
     * @return
     */
    SpecialPeopleInfoVO info(Long id);
    /**
     * 分页
     * @param dto
     * @return
     */
    NestPage<SpecialPeoplePageVO> getPage(SpecialPeopleInfoPageDTO dto);
}
