@Zip()
New in 2.0Generate postal codes
Geographic InformationSince 2.0.0
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| dict | — | — | Postal code dictionary, default includes Chinese and UK formats |
Usage
@Zip(arg0)Generate postal code using specified dictionary
Example:
@Zip(101407|101406|101405)
Output:
101407101405101406@Zip(arg0)Generate postal code in specified locale
Example:
@Zip(en)
Output:
EC1A 1HQ1ASA 9AA1BSA 4AB@Zip()Generate postal code (Chinese)
Example:
@Zip()
Output:
2528632526651252866