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

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.people.PropertyPeopleRegisterApproveDTO;
import com.yuchen.saas.park.api.dto.people.PropertyPeopleRegisterDTO;
import com.yuchen.saas.park.api.dto.people.PropertyPeopleRegisterPageDTO;
import com.yuchen.saas.park.api.entity.park.people.SaasParkPropertyPeopleRegister;
import com.yuchen.saas.park.api.vo.people.PropertyPeopleRegisterPageVO;
import org.nest.springwrap.core.mp.base.BaseService;
import org.nest.springwrap.core.mp.support.NestPage;


/**
 * <p>
 * 物业人员登记信息表 服务类
 * </p>
 *
 * @author linyb
 * @since 2024-11-30
 */
public interface ISaasParkPropertyPeopleRegisterService extends BaseService<SaasParkPropertyPeopleRegister> {

    /**
     * 保存
     * @param dto
     */
    Boolean  save(PropertyPeopleRegisterDTO dto);

    /**
     * 分页
     * @param dto
     * @return
     */
    NestPage<PropertyPeopleRegisterPageVO> getPage(PropertyPeopleRegisterPageDTO dto);

    /**
     * 详情
     * @param id
     * @return
     */
    PropertyPeopleRegisterPageVO info(Long id);
    /**
     * 取消
     * @param id
     * @return
     */
    Boolean cancel(String id);
    /**
     * 审批
     * @param dto
     * @return
     */
    Boolean approve(PropertyPeopleRegisterApproveDTO dto);
}
