The labor of children under twelve years of age, shall be prohibited in mines, factories and workshops in this state.