In the earlier years of the band , they were under SM Entertainment , later switching to Good Entertainment . However , after going to court , Shinhwa won the case , thus moving completely from SM Entertainment to Good Entertainment .