When there is a mapping between this entity and a database table, Identity or autoincrement can be defined in the Field mappings tab.
Just select the cell under the Sequence column, and select the appropriate sequence from what's available in the dropdown list.
Please check this documentation link