Struct in System verilog

you can also simply create array of 10 elements like

student_data base[10]

and allocate them using foreach loop or using array concatenation as answered above.