changing OneToMany to ManyToMany to resolve the goodss displaying issue