. "The state with good reason might regulate the terms and conditions of employment, including the methods of accepting and dismissing employees, so as to prevent the corporations from producing undue detriment to the individuals concerned...." . . . .