...
[city]-PT-[cy:yyyy/mm/dd]-[SEQ_SEQUENCE_NAME]-[d{4}]
**The sequence must have been created in the db in case of usage of a sequence in your id format, failing which error will be thrown if sequence is not found.
Everything in the square brackets will be replaced with the appropriate values by the app.
...