Overriding class ObjectId to custom attribute name from existing database model

Hi,
I like to ask if there is a way to set custom primary key attribute name in the database table. My usecase is that I am applying the Parse Server to existing DB model.

Thanks for any suggestions.