This is an example of a command economy.
A command economy is an economic system where the government controls and regulates the production and distribution of goods produced. They also set the prices of the items and determines where people are going to work. A command economy is normally found in a communist country.