Add setCreatedAt method to Content model