diff --git a/src/Faker/Provider/zh_CN/Address.php b/src/Faker/Provider/zh_CN/Address.php new file mode 100644 index 00000000..4b290293 --- /dev/null +++ b/src/Faker/Provider/zh_CN/Address.php @@ -0,0 +1,42 @@ +city() . static::area(); + } + + public static function postcode() + { + $prefix = str_pad(mt_rand(1, 85), 2, 0, STR_PAD_LEFT); + $suffix = '00'; + return $prefix . mt_rand(10, 88) . $suffix; + } +} diff --git a/src/Faker/Provider/zh_CN/Company.php b/src/Faker/Provider/zh_CN/Company.php new file mode 100644 index 00000000..97e98493 --- /dev/null +++ b/src/Faker/Provider/zh_CN/Company.php @@ -0,0 +1,27 @@ +