package repository

import (
	"bpmsapi/entity"

	"github.com/jmoiron/sqlx"
)

type RoleActions interface {
	fetchRolebyMobno(mobno string) (entity.Role, error)
}

type RoleRepository struct {
	db *sqlx.DB
}

// auth-jwt
func RoleRepositoryInit(db *sqlx.DB) *RoleRepository {
	return &RoleRepository{
		db: db,
	}
}
