On this page, you can learn Japanese grammar to say ‘A has B’.
Sentence pattern
A has (or have) B.
↓
A には B がいます。
B has to be people or animals. Use あります instead of います, if B is an object.
Example
I have a boyfriend.
私にはかれしがいます。
The school has 50 students.
その学校には50人の生とがいます。