The following line can be executed inside the Package Manager Console to generate model classes for all the tables in the database:
Scaffold-DbContext "Server=.;Database=FlixOneStore;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -Force
The preceding command will populate class files for each table inside the Models folder, as shown in the following screenshot:
If you have not already done so, please refer to the database script in https://github.com/PacktPublishing/Building-RESTful-Web-services-with-DOTNET-Core to generate the database table for your application.