package com.storlead.sales.mail.service;

import com.storlead.sales.mail.entity.EmailFolderRuleEntity;
import com.storlead.framework.mybatis.service.MyBaseService;
import com.storlead.sales.mail.entity.EmailsEntity;

import java.util.List;

/**
 * <p>
 * 用户邮件文件夹出入规则 服务类
 * </p>
 *
 * @author chenkq
 * @since 2024-11-12
 */
public interface EmailFolderRuleService extends MyBaseService<EmailFolderRuleEntity> {

    List<EmailFolderRuleEntity> getUserFolderRules(Long userId);

    void carveUpMailCustomFolder(EmailsEntity emails,List<EmailFolderRuleEntity> rolderRules);
}
