The Company can borrow the money from its directors by passing the board resolution as per section 179 of the Companies Act 2013. Director has to file declaration that such loan shall be given out of its own fund and not from borrowing outside.
However company can borrow the money from its member upto 100 perecnt of the paid up share capital, free reserves and securities premium amount.
However the Company cannot take loan from the partnership firms as partnership firms are not included in Body corporates. But Company can take loan from LLP as LLP is covered under the defination of Body Corporates