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

import com.its.op.entity.its.wcam.TbWcamCtlrStts;
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 TbWcamCtlrSttsRepository extends JpaRepository<TbWcamCtlrStts, Long>, JpaSpecificationExecutor<TbWcamCtlrStts> {

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

    @Query("select p from TbWcamCtlrStts p")
    List<TbWcamCtlrStts> findAllList();

}
