unidom-party-china 0.6 → 0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -0
- data/app/types/unidom/party/china/business_registration.rb +11 -0
- data/config/enum.yml +10 -0
- data/config/locales/enum.zh-CN.yml +13 -0
- data/lib/unidom/party/china/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e964a08147f4613731101ce86cf13eae61d4be73
|
4
|
+
data.tar.gz: bae5cf2b4941096363c269d9f7faca0ab603e026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0129d563784c7c3fa34e72f45728ae3d8d94274ab957a64caed6aed49175332478258f50021da5ae75755be2dc82aa73863748c05b358c3a40f20148670fb423
|
7
|
+
data.tar.gz: b43523d9073e66c63c6faede1c29ac662dda051b94297d9a3f4adabf45c9bacd09f7a39aaee19e8e633a8ad38831e42b29b43d7a7d0aa80c32177c9435f88ef7
|
data/README.md
CHANGED
@@ -122,3 +122,12 @@ Unidom::Party::China::BloodGroup::O_TYPE # O型
|
|
122
122
|
Unidom::Party::China::BloodGroup::AB_TYPE # AB型
|
123
123
|
Unidom::Party::China::BloodGroup::OTHER # 其他
|
124
124
|
```
|
125
|
+
|
126
|
+
### Business Registration enum code 工商注册
|
127
|
+
|
128
|
+
```ruby
|
129
|
+
Unidom::Party::China::BusinessRegistration::DOMESTICALLY_FUNDED_COMPANY # 内资企业
|
130
|
+
Unidom::Party::China::BusinessRegistration::TAIWAN_HK_MACAO_FUNDED_ENTERPRISE # 港、澳、台商投资企业
|
131
|
+
Unidom::Party::China::BusinessRegistration::FOREIGN_FUNDED_ENTERPRISE # 外商投资企业
|
132
|
+
Unidom::Party::China::BusinessRegistration::SELF_EMPLOYED_BUSINESS # 个体经营
|
133
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Business Registration 是中国的工商注册。
|
2
|
+
# 关于划分企业登记注册类型的规定 http://www.stats.gov.cn/tjsj/tjbz/200610/t20061018_8657.html
|
3
|
+
# 个体经营分类与代码 http://www.stats.gov.cn/tjsj/tjbz/200611/t20061123_8663.html
|
4
|
+
|
5
|
+
class Unidom::Party::China::BusinessRegistration < ActiveRecord::Type::Value
|
6
|
+
|
7
|
+
include ProgneTapera::EnumConfig
|
8
|
+
|
9
|
+
enum :unidom_china_business_registration
|
10
|
+
|
11
|
+
end
|
data/config/enum.yml
CHANGED
@@ -514,3 +514,13 @@ enum:
|
|
514
514
|
code: '4'
|
515
515
|
other:
|
516
516
|
code: '9'
|
517
|
+
|
518
|
+
unidom_china_business_registration:
|
519
|
+
domestically_funded_company:
|
520
|
+
code: '100'
|
521
|
+
taiwan_hk_macao_funded_enterprise:
|
522
|
+
code: '200'
|
523
|
+
foreign_funded_enterprise:
|
524
|
+
code: '300'
|
525
|
+
self_employed_business:
|
526
|
+
code: '400'
|
@@ -157,3 +157,16 @@
|
|
157
157
|
o_type: O型
|
158
158
|
ab_type: AB型
|
159
159
|
other: 其他
|
160
|
+
|
161
|
+
unidom_china_business_registration:
|
162
|
+
domestically_funded_company: 内资企业
|
163
|
+
#state_owned_enterprise: 国有企业
|
164
|
+
#collective_enterprise: 集体企业
|
165
|
+
#joint_stock_enterprise: 股份合作企业
|
166
|
+
#joint_venture_enterprise: 联营企业
|
167
|
+
#state_owned_joint_venture_enterprise: 国有联营企业
|
168
|
+
#collective_joint_venture_enterprise: 集体联营企业
|
169
|
+
#state_owned_and_collective_joint_venture_enterprise: 国有与集体联营企业
|
170
|
+
taiwan_hk_macao_funded_enterprise: 港、澳、台商投资企业
|
171
|
+
foreign_funded_enterprise: 外商投资企业
|
172
|
+
self_employed_business: 个体经营
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-party-china
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.7'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Topbit Du
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unidom-common
|
@@ -45,6 +45,7 @@ files:
|
|
45
45
|
- app/mailers/unidom/party/china/application_mailer.rb
|
46
46
|
- app/models/unidom/party/china/application_record.rb
|
47
47
|
- app/types/unidom/party/china/blood_group.rb
|
48
|
+
- app/types/unidom/party/china/business_registration.rb
|
48
49
|
- app/types/unidom/party/china/ethnicity.rb
|
49
50
|
- app/types/unidom/party/china/formal_schooling.rb
|
50
51
|
- app/types/unidom/party/china/marital_status.rb
|