Sha256: 01f491a16b5f0a8dc3f618f9493a657e11cff4d95a89214a657fccc30d3bc2ab
Contents?: true
Size: 636 Bytes
Versions: 3
Compression:
Stored size: 636 Bytes
Contents
module Msip module Concerns module Models module Tipoorg extend ActiveSupport::Concern include Msip::Basica included do ORGACOMP = 1 ORGNOACOMP = 2 ORGCIVIL = 2 INSTCIVIL = 3 # Institución Civil ESTADO = 3 #ORGFP = 4 # Fuerza pública es parte de estado ORGINT = 5 # Organismo internacional GRUPOARMADO = 20 # Que no es estatal has_many :orgsocial, foreign_key: 'tipoorg_id', validate: true, class_name: 'Msip::Orgsocial' end # included end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
msip-2.2.0.alfa3 | lib/msip/concerns/models/tipoorg.rb |
msip-2.2.0.alfa2 | lib/msip/concerns/models/tipoorg.rb |
msip-2.2a2 | lib/msip/concerns/models/tipoorg.rb |