My Coordinate Entity has three columns - x, y, & z - which will all contain a 5 digit number.
If the number is positive, it will be prefixed with a 1 to indicate positivity followed by the four digit coordinate (e.g. 19876).
If the number is negative, it will be prefixed with a 0 to indicate negativity followed by the four digit coordinate (e.g. 09876).
Is there a way to enforce that numeric pattern so I don't lose any prefixed 0s for coordinates that are either negative and / or less than 4 digits in length (e.g. 00987, 00087, 00007). I've looked at the TypeORM documentation (specifically, I've pored over the "Entity" section) to see if there were any tools I could use for this purpose but none were readily apparent. Any guidance you can offer would be much appreciated!