Vapor Model : ID and not UUID

Hello everyone,

I need to use an existing MySQL database with an Id in INT format but I don't know how to do it in my Vapor 4 model declaration: instead of this:
@ID(key: .id)
var id: UUID?

I would have something like:
@ID(key: "Id")
var id: Int?

In the table, it is declared : Field: Id , Kind : INT, Lenght: 11, Key : PRI, Extra : auto_increment

Thank you for your help,
Best regards,
Eric

You can use a custom identifier for that

Ah, I was almost there, it was just missing custom!!!

Many thanks!