package com.tykj.dev.device.matching.repository;

import com.tykj.dev.device.matching.subject.domin.MatchingDeviceModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author zsp
 */
public interface MatchingDeviceModelDao extends JpaRepository<MatchingDeviceModel, Integer>, JpaSpecificationExecutor<MatchingDeviceModel> {

        MatchingDeviceModel findByModel(String model);
        MatchingDeviceModel findByModelAndName(String model,String name);
}
