static type has many foreign key