package com.kuyuntech.vrv.coreservice.dao.core;

import com.kuyuntech.vrv.coreservice.domain.core.Role;
import com.wbspool.fastboot.core.jpa.repository.FastbootRepository;

import javax.swing.text.StringContent;


/**
 * RoleDao
 *
 */
public interface RoleDao extends FastbootRepository<Role,Long> {

    

   
   Role findByCodeAndValid(String code,Short valid);



   Role findByFlagAndValid(String flag, Short valid);

}
