package com.example.cezenPBX.DAO;

import com.example.cezenPBX.DTO.ReturnStatus;
import com.example.cezenPBX.entity.user.UserEntity;

// TODO only one admin allowed ... once the admin creates an
//  account they should not be able to make the account again
// admin login, logout and signup DAO operations
public interface UserOpsDAO {

    // check if user exists;
    public boolean checkIfAdminExists(UserEntity userEntity) throws Exception;

    // admin login
    public ReturnStatus adminSetUsernameAndPassword(UserEntity userEntity);

    public UserEntity getUserByUserName(String userName);
}
