demarches-normaliennes/app/models/entreprise.rb

27 lines
726 B
Ruby
Raw Normal View History

class Entreprise < Hashie::Dash
def read_attribute_for_serialization(attribute)
self[attribute]
end
2018-02-22 16:53:29 +01:00
property :etablissement
property :siren
property :capital_social, default: nil
property :numero_tva_intracommunautaire, default: nil
property :forme_juridique, default: nil
property :forme_juridique_code, default: nil
property :nom_commercial
property :raison_sociale
property :siret_siege_social
property :code_effectif_entreprise
2020-04-21 15:52:08 +02:00
property :effectif_mois
property :effectif_annee
property :effectif_mensuel
property :effectif_annuel
property :effectif_annuel_annee
property :date_creation
property :nom, default: nil
property :prenom, default: nil
2016-08-30 11:18:43 +02:00
property :inline_adresse
2015-08-10 11:05:06 +02:00
end