Concept Flow - @Id and @GeneratedValue for primary keys
Define Entity Class
Add @Id Annotation
Add @GeneratedValue Annotation
Save Entity Instance
Database Auto-generates Primary Key
Entity Saved with Unique ID
This flow shows how marking a field with @Id and @GeneratedValue lets Spring Boot auto-generate unique primary keys when saving entities.