Sha256: 11d12942062b2f63f8fcd3c89d9a47880c958fbc4a3dd0d3f4e06d7b3da4433b

Contents?: true

Size: 500 Bytes

Versions: 8

Compression:

Stored size: 500 Bytes

Contents

# Ethnicity 是中国的民族代码。符合 GB/T 3304-1991 标准。
# Alphabetic 基于字母代码,Numeric 基于数字代码。

module Unidom::Party::China::Ethnicity

  class Alphabetic < ActiveRecord::Type::Value

    include ProgneTapera::EnumConfig

    enum :unidom_china_ethnicity_alphabetic, :unidom_china_ethnicity

  end

  class Numeric < ActiveRecord::Type::Value

    include ProgneTapera::EnumConfig

    enum :unidom_china_ethnicity_numeric, :unidom_china_ethnicity

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
unidom-party-china-0.7.1 app/types/unidom/party/china/ethnicity.rb
unidom-party-china-0.7 app/types/unidom/party/china/ethnicity.rb
unidom-party-china-0.6 app/types/unidom/party/china/ethnicity.rb
unidom-party-china-0.5 app/types/unidom/party/china/ethnicity.rb
unidom-party-china-0.4.1 app/types/unidom/party/china/ethnicity.rb
unidom-party-china-0.4 app/types/unidom/party/china/ethnicity.rb
unidom-party-china-0.3 app/types/unidom/party/china/ethnicity.rb
unidom-party-china-0.2 app/types/unidom/party/china/ethnicity.rb