Entity IDs - VittorioDeMarzi/hero-beans GitHub Wiki

We have decided that IDs:

  • have to be at the bottom of the entity
  • are not nullable and the dafault value is always 0L
    • no null checks needed
    • auto-incremented IDs start at 1 in SQL