package com.ssj.dao.sys.message.dao;

import com.ssj.bean.sys.message.domain.Message;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface MessageDao extends JpaRepository<Message, String> {

    public Page<Message> findAll(Specification<Message> specification, Pageable page);

}
