A central Queensland man was allegedly attacked by three people while mowing the lawn at his workplace.

A central Queensland man has been injured in an alleged attack while he was mowing the lawn.

Police say the 47-year-old was assaulted by three men at his workplace in the Rockhampton suburb of Parkhurst.

His injuries included fractured eye sockets, grazed knees and severe bruising and swelling to his head.

A 17-year-old man will face charges of grievous bodily harm and assault with intent to steal in the Rockhampton Magistrates Court on Thursday.

Police are still investigating.