Let's create the last doctype for our app: Library Settings. It will have the following fields:
Since we don't need to have multiple records for these settings, we will enable Is Single for this doctype.
After creating the doctype, click on Go to Library Settings, to go to the form and set the values for Loan Period and Maximum Number of Issued Articles.