Nimbus3020 / Crud_Springboot

Backend Crud project developed using Springboot framework.
0 stars 0 forks source link

No primitive types as IDs #2

Open s4b3l0 opened 1 year ago

s4b3l0 commented 1 year ago

https://github.com/Nimbus3020/Crud_Springboot/blob/a1eebffd875d40481f902821cce21329743c0804/crud/src/main/java/com/example/crud/entity/User.java#L18

Nimbus3020 commented 1 year ago

If I can't use this primitive Long that what kind of a non primitive I would use as an ID