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

import com.its.op.entity.its.unit.TbUnitSystStts;
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 TbUnitSystSttsRepository extends JpaRepository<TbUnitSystStts, String>, JpaSpecificationExecutor<TbUnitSystStts> {

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