package com.gyee.wisdom.dao.sql.alarm.repository;

import com.gyee.wisdom.dao.sql.Windturbine.entity.WindturbineEntity;
import com.gyee.wisdom.dao.sql.alarm.Entity.GyeeWindturbineEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface GyeeWindturbineRepository extends JpaRepository<GyeeWindturbineEntity, String>, JpaSpecificationExecutor {

  /*  ModelEntity findFirstByUserName(String userName);*/
  List<GyeeWindturbineEntity> findByWindPowerStationId(String stationId);

}
