Proposal for a financial microeconomic model of the firm