package com.its.op.dao.repository.its.vms;

import com.its.op.entity.its.vms.TbVmsFormDsplDrct;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbVmsFromDsplDrctRepository extends JpaRepository<TbVmsFormDsplDrct, Integer>, JpaSpecificationExecutor<TbVmsFormDsplDrct> {

    @Query("select p from TbVmsFormDsplDrct p")
    List<TbVmsFormDsplDrct> findAll();
}
