@map and @@map is to ensure that the names of our models and fields map to the names of the tables and columns, respectively in that database.Category and I use@@map is just to ensure that the new table created in my database has the name categories .