diff --git a/Diagrammes_UML_pgModeler/majic_bati.dbm b/Diagrammes_UML_pgModeler/majic_bati.dbm new file mode 100644 index 0000000000000000000000000000000000000000..041b433bc9552868e668eef020290301b24604ba --- /dev/null +++ b/Diagrammes_UML_pgModeler/majic_bati.dbm @@ -0,0 +1,2089 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +CAUTION: Do not modify this file unless you know what you are doing. + Unexpected results may occur if the code is changed deliberately. +--> +<dbmodel pgmodeler-ver="0.9.2_snapshot20191127" last-position="0,0" last-zoom="0.2" max-obj-count="28" + default-schema="public" default-owner="postgres"> +<role name="u_vitis" + createrole="true" + inherit="true" + login="true" + encrypted="true" + password="********"> + <roles names="postgres" role-type="member" /> +</role> + +<database name="vmap_353" encoding="UTF8" connlimit="1" lc-collate="French_France.1252" lc-ctype="French_France.1252" is-template="false" allow-conns="true"> + <role name="postgres"/> + <tablespace name="pg_default"/> +</database> + +<tag name="Table de correspondance"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#eb9d00,#eb9d00,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#eb9d00,#eb9d00,#ca8700"/> +</tag> +<tag name="Table dĂŠprĂŠciĂŠe"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#000000,#000000,#000000"/> +</tag> +<schema name="public" layer="0" rect-visible="true" fill-color="#e1e1e1" sql-disabled="true"> +</schema> + +<schema name="s_majic" layer="0" rect-visible="true" fill-color="#d9d9d9"> + <role name="u_vitis"/> +</schema> + +<table name="tc_ccoaff_affectation_pev" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Affectation de PEV]]></comment> + <tag name="Table de correspondance"/> + <position x="5500" y="960"/> + <column name="ccoaff" not-null="true"> + <type name="character varying" length="1"/> + <comment><![CDATA[Modification 2017]]></comment> + </column> + <column name="l_ccoaff"> + <type name="character varying" length="200"/> + </column> + <constraint name="tc_ccoaff_affectation_pev_pkey" type="pk-constr" table="s_majic.tc_ccoaff_affectation_pev"> + <columns names="ccoaff" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_ccoeva_methode_eval" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[MĂŠthode d'ĂŠvaluation]]></comment> + <tag name="Table de correspondance"/> + <position x="4820" y="2540"/> + <column name="ccoeva" not-null="true"> + <type name="character varying" length="1"/> + </column> + <column name="l_ccoeva"> + <type name="character varying" length="72"/> + </column> + <constraint name="tc_ccoeva_methode_eval_pkey" type="pk-constr" table="s_majic.tc_ccoeva_methode_eval"> + <columns names="ccoeva" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_cconad_nature_dependance" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Nature de dĂŠpendances]]></comment> + <tag name="Table de correspondance"/> + <position x="6760" y="1780"/> + <column name="cconad" not-null="true"> + <type name="character varying" length="2"/> + <comment><![CDATA[Modification 2017]]></comment> + </column> + <column name="l_cconad"> + <type name="character varying" length="55"/> + </column> + <constraint name="tc_cconad_nature_dependance_pkey" type="pk-constr" table="s_majic.tc_cconad_nature_dependance"> + <columns names="cconad" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_cconlc_nature_local" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Nature de local]]></comment> + <tag name="Table de correspondance"/> + <position x="5740" y="2640"/> + <column name="cconlc" not-null="true"> + <type name="character varying" length="2"/> + </column> + <column name="l_cconlc"> + <type name="character varying" length="55"/> + </column> + <constraint name="tc_cconlc_nature_local_pkey" type="pk-constr" table="s_majic.tc_cconlc_nature_local"> + <columns names="cconlc" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_ccoplc_construction_particuliere" layer="0" collapse-mode="1" pagination="true" attribs-page="0" ext-attribs-page="0" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Construction Particulière]]></comment> + <tag name="Table de correspondance"/> + <position x="4720" y="2340"/> + <column name="ccoplc" not-null="true"> + <type name="character varying" length="1"/> + </column> + <column name="l_ccoplc"> + <type name="character varying" length="140"/> + </column> + <constraint name="tc_ccoplc_construction_particuliere_pkey" type="pk-constr" table="s_majic.tc_ccoplc_construction_particuliere"> + <columns names="ccoplc" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_detent_etat_entretien" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Etat d'entretien]]></comment> + <tag name="Table de correspondance"/> + <position x="6720" y="1500"/> + <column name="detent" not-null="true"> + <type name="character varying" length="1"/> + <comment><![CDATA[Code ĂŠtat d'entretien]]></comment> + </column> + <column name="l_detent"> + <type name="character varying" length="15"/> + <comment><![CDATA[LibellĂŠ ĂŠtat d'entretien]]></comment> + </column> + <constraint name="tc_detent_etat_entretien_pkey" type="pk-constr" table="s_majic.tc_detent_etat_entretien"> + <columns names="detent" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_dmatto_materiaux_toitures" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[MatĂŠriaux des toitures]]></comment> + <tag name="Table de correspondance"/> + <position x="6760" y="1960"/> + <column name="dmatto" not-null="true"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code matĂŠriaux des toitures]]></comment> + </column> + <column name="l_dmatto"> + <type name="character varying" length="15"/> + <comment><![CDATA[LibellĂŠ matĂŠriaux des toitures]]></comment> + </column> + <constraint name="tc_dmatto_materiaux_toitures_pkey" type="pk-constr" table="s_majic.tc_dmatto_materiaux_toitures"> + <columns names="dmatto" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_dnatlc_nature_occupation_local" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Nature d'occupation local]]></comment> + <tag name="Table de correspondance"/> + <position x="5740" y="2820"/> + <column name="dnatlc" not-null="true"> + <type name="character varying" length="1"/> + </column> + <column name="l_dnatlc"> + <type name="character varying" length="55"/> + </column> + <constraint name="tc_dnatlc_nature_occupation_local_pkey" type="pk-constr" table="s_majic.tc_dnatlc_nature_occupation_local"> + <columns names="dnatlc" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_dteloc_type_local" layer="0" collapse-mode="0" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Type de local]]></comment> + <tag name="Table de correspondance"/> + <position x="5220" y="2900"/> + <column name="dteloc" not-null="true"> + <type name="character varying" length="1"/> + </column> + <column name="l_dteloc"> + <type name="character varying" length="67"/> + </column> + <constraint name="tc_dteloc_type_local_pkey" type="pk-constr" table="s_majic.tc_dteloc_type_local"> + <columns names="dteloc" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_gnexpl_exoneration_permanente" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[ExonĂŠration permanente]]></comment> + <tag name="Table de correspondance"/> + <position x="5480" y="240"/> + <column name="gnexpl" not-null="true"> + <type name="character varying" length="2"/> + </column> + <column name="l_gnexpl"> + <type name="character varying" length="200"/> + </column> + <constraint name="tc_gnexpl_exoneration_permanente_pkey" type="pk-constr" table="s_majic.tc_gnexpl_exoneration_permanente"> + <columns names="gnexpl" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_cbtabt_exoneration_hlm" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[ExonĂŠration HLM zone sensible]]></comment> + <tag name="Table de correspondance"/> + <position x="4900" y="1720"/> + <column name="cbtabt" not-null="true"> + <type name="character varying" length="2"/> + </column> + <column name="l_cbtabt"> + <type name="character varying" length="200"/> + </column> + <constraint name="tc_cbtabt_exoneration_hlm_pkey" type="pk-constr" table="s_majic.tc_cbtabt_exoneration_hlm"> + <columns names="cbtabt" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_gnextl_exoneration_temporaire" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[ExonĂŠration temporaire]]></comment> + <tag name="Table de correspondance"/> + <position x="4420" y="600"/> + <column name="gnextl" not-null="true"> + <type name="character varying" length="2"/> + <comment><![CDATA[Ajout 2018 des valeurs ES, BS et MA]]></comment> + </column> + <column name="l_gnextl"> + <type name="character varying" length="250"/> + </column> + <constraint name="tc_gnextl_exoneration_temporaire_pkey" type="pk-constr" table="s_majic.tc_gnextl_exoneration_temporaire"> + <columns names="gnextl" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_dnatcg_nature_changement_evaluation" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Nature du changement d'ĂŠvaluation]]></comment> + <tag name="Table de correspondance"/> + <position x="4700" y="1980"/> + <column name="dnatcg" not-null="true"> + <type name="character varying" length="2"/> + </column> + <column name="l_dnatcg"> + <type name="character varying" length="55"/> + </column> + <constraint name="tc_dnatcg_nature_changement_evaluation_pkey" type="pk-constr" table="s_majic.tc_dnatcg_nature_changement_evaluation"> + <columns names="dnatcg" ref-type="src-columns"/> + </constraint> +</table> + +<table name="bati_0010_local" layer="0" collapse-mode="1" max-obj-count="79"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif du local]]></comment> + <position x="5460" y="1700"/> + <column name="id_local" not-null="true"> + <type name="character" length="12"/> + <comment><![CDATA[Identifiant de bâti(Ccodep + invar(invloc))]]></comment> + </column> + <column name="id_par" not-null="true"> + <type name="character" length="14"/> + <comment><![CDATA[Identifiant de la parcelle(ccodep+ ccocom+ ccopre+ ccosec+ dnupla)]]></comment> + </column> + <column name="id_dnupro" not-null="true"> + <type name="character" length="11"/> + <comment><![CDATA[(id_com+dnupro)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[code commune INSEE]]></comment> + </column> + <column name="invar"> + <type name="character" length="10"/> + <comment><![CDATA[numĂŠro invariant]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[code enregistrement (00)]]></comment> + </column> + <column name="ccopre"> + <type name="character" length="3"/> + <comment><![CDATA[prĂŠfixe de section ou quartier servi pour les communes associĂŠes,]]></comment> + </column> + <column name="ccosec"> + <type name="character varying" length="2"/> + <comment><![CDATA[lettres de section]]></comment> + </column> + <column name="dnupla"> + <type name="integer" length="0"/> + <comment><![CDATA[numĂŠro de plan (format ÂŤ 0000 Âť)]]></comment> + </column> + <column name="dnubat"> + <type name="character varying" length="2"/> + <comment><![CDATA[lettre de bâtiment]]></comment> + </column> + <column name="nesc"> + <type name="character" length="2"/> + <comment><![CDATA[numĂŠro d'escalier]]></comment> + </column> + <column name="dniv"> + <type name="character" length="2"/> + <comment><![CDATA[niveau ĂŠtage]]></comment> + </column> + <column name="dpor"> + <type name="character" length="5"/> + <comment><![CDATA[numĂŠro de local]]></comment> + </column> + <column name="ccoriv"> + <type name="character" length="4"/> + <comment><![CDATA[Code Rivoli de la voie]]></comment> + </column> + <column name="covoi"> + <type name="character" length="5"/> + <comment><![CDATA[deprecated. Remplacement par ccovoi. juin 2017.]]></comment> + </column> + <column name="dnvoiri"> + <type name="character" length="4"/> + <comment><![CDATA[NumĂŠro de voirie]]></comment> + </column> + <column name="dindic"> + <type name="character" length="1"/> + <comment><![CDATA[indice de rĂŠpĂŠtition]]></comment> + </column> + <column name="ccocif"> + <type name="character" length="4"/> + <comment><![CDATA[code du cdif (code topad)]]></comment> + </column> + <column name="dvoilib"> + <type name="character varying" length="30"/> + <comment><![CDATA[libelle de la voie]]></comment> + </column> + <column name="cleinvar"> + <type name="character" length="1"/> + <comment><![CDATA[clĂŠ alpha no invariant]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="id_voie" not-null="true"> + <type name="character" length="9"/> + <comment><![CDATA[l'identifiant rivoli de la parcelle(ccodep+ccocom+ccoriv)]]></comment> + </column> + <column name="gpdl"> + <type name="character" length="1"/> + <comment><![CDATA[indicateur d'appartenance Ă un lot de pdl(1 = oui, sinon 0)]]></comment> + </column> + <column name="dsrpar"> + <type name="character" length="1"/> + <comment><![CDATA[lettre de sĂŠrie rĂ´le]]></comment> + </column> + <column name="dnupro"> + <type name="character" length="6"/> + <comment><![CDATA[compte communal de propriĂŠtaire]]></comment> + </column> + <column name="jdatat"> + <type name="character" length="8"/> + <comment><![CDATA[date d'acte de mutation (jjmmaaaa)]]></comment> + </column> + <column name="dnufnl"> + <type name="character" length="6"/> + <comment><![CDATA[compte communal de fonctionnaire logĂŠ(redevable de la tom)]]></comment> + </column> + <column name="ccoeva"> + <type name="character" length="1"/> + <comment><![CDATA[code ĂŠvaluation]]></comment> + </column> + <column name="dteloc"> + <type name="character" length="1"/> + <comment><![CDATA[type de local]]></comment> + </column> + <column name="gtauom"> + <type name="character varying" length="2"/> + <comment><![CDATA[zone de ramassage des ordures mĂŠnagères(P RA RB RC RD ou blanc)]]></comment> + </column> + <column name="dcomrd"> + <type name="integer" length="0"/> + <comment><![CDATA[Pourcentage de rĂŠduction sur tom]]></comment> + </column> + <column name="ccoplc"> + <type name="character varying" length="1"/> + <comment><![CDATA[Code de construction particulière]]></comment> + </column> + <column name="cconlc"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code nature de local]]></comment> + </column> + <column name="dvltrt"> + <type name="integer" length="0"/> + <comment><![CDATA[Valeur locative totale retenue pour le local]]></comment> + </column> + <column name="cc48lc"> + <type name="character varying" length="2"/> + <comment><![CDATA[CatĂŠgorie de loi de 48]]></comment> + </column> + <column name="dloy48a"> + <type name="character varying" length="9"/> + <comment><![CDATA[Loyer de 48 en valeur de l'annĂŠe]]></comment> + </column> + <column name="top48a"> + <type name="character" length="1"/> + <comment><![CDATA[top taxation indiquant si la pev est impose au loyer ou a la vl(1 = loyer o = vl)]]></comment> + </column> + <column name="dnatlc"> + <type name="character" length="1"/> + <comment><![CDATA[Nature d occupation]]></comment> + </column> + <column name="cchpr"> + <type name="character" length="1"/> + <comment><![CDATA[Top indiquant une mutation propriĂŠtaire(* ou blanc)]]></comment> + </column> + <column name="jannat"> + <type name="character" length="4"/> + <comment><![CDATA[AnnĂŠe de construction]]></comment> + </column> + <column name="dnbniv"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de niveaux de la construction]]></comment> + </column> + <column name="hlmsem"> + <type name="character" length="1"/> + <comment><![CDATA[Local appartenant Ă hlm ou sem(5 = hlm, 6 = sem, sinon blanc)]]></comment> + </column> + <column name="postel"> + <type name="character" length="1"/> + <comment><![CDATA[Local de Poste ou France Telecom(X, Y, Z ou blanc)]]></comment> + </column> + <column name="gimtom"> + <type name="character" length="1"/> + <comment><![CDATA[Indicateur imposition OM exploitable Ă partir de 2002(D, E, V ou blanc)]]></comment> + </column> + <column name="cbtabt"> + <type name="character" length="2"/> + <comment><![CDATA[Code exonĂŠration HLM zone sensible(ZS ou blanc)]]></comment> + </column> + <column name="jdtabt"> + <type name="character varying" length="4"/> + <comment><![CDATA[AnnĂŠe dĂŠbut d'exonĂŠration ZS]]></comment> + </column> + <column name="jrtabt"> + <type name="character varying" length="4"/> + <comment><![CDATA[AnnĂŠe fin d'exonĂŠration ZS]]></comment> + </column> + <column name="cconac"> + <type name="character varying" length="20"/> + <comment><![CDATA[Code NACE pour les locaux professionnels]]></comment> + </column> + <column name="fburx"> + <type name="character varying" length="20"/> + <comment><![CDATA[Indicateur prĂŠsence bureaux(0 (pas de bureau), 1 (bureau prĂŠsent))]]></comment> + </column> + <column name="dnatcg"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code nature du changement d'ĂŠvaluation]]></comment> + </column> + <column name="jdatcgl"> + <type name="character" length="8"/> + <comment><![CDATA[Date changement ĂŠvaluation]]></comment> + </column> + <column name="id_adresse"> + <type name="character" length="15"/> + <comment><![CDATA[Identifiant adresse du bâti(id_com+dnvoiri+dindic+ccoriv)]]></comment> + </column> + <column name="ccovoi"> + <type name="character" length="5"/> + <comment><![CDATA[Code Majic2 de la voie]]></comment> + </column> + <column name="toprev"> + <type name="character" length="1"/> + <comment><![CDATA[Local professionnel soumis Ă la rĂŠvision(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="ccoifp"> + <type name="character" length="3"/> + <comment><![CDATA[Code intĂŠgration fiscale progressive(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="jdbabt"> + <type name="character varying" length="4"/> + <comment><![CDATA[AnnĂŠe dĂŠbut d'exonĂŠration ZS]]></comment> + </column> + <column name="ccpper"> + <type name="character" length="3"/> + <comment><![CDATA[Code de trĂŠsorerie gestionnaire]]></comment> + </column> + <constraint name="bati_0010_local_pkey" type="pk-constr" table="s_majic.bati_0010_local"> + <columns names="id_local" ref-type="src-columns"/> + </constraint> +</table> + +<table name="bati_21_pev_descr" layer="0" collapse-mode="1" max-obj-count="45"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif de PEV]]></comment> + <position x="5860" y="340"/> + <column name="id_pev" not-null="true"> + <type name="character" length="15"/> + <comment><![CDATA[Identifiant de PEV(ccodep+ invar + dnupev)]]></comment> + </column> + <column name="id_local" not-null="true"> + <type name="character" length="12"/> + <comment><![CDATA[Identifiant de bâti(ccodep + invar(invloc))]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE]]></comment> + </column> + <column name="invar"> + <type name="character" length="10"/> + <comment><![CDATA[NumĂŠro invariant]]></comment> + </column> + <column name="dnupev"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro de pev]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement (21)]]></comment> + </column> + <column name="ccoaff"> + <type name="character" length="1"/> + <comment><![CDATA[Affectation de la pev ]]></comment> + </column> + <column name="ccostb"> + <type name="character" length="1"/> + <comment><![CDATA[lettre de sĂŠrie tarif bâtie ou secteur locatif(A Ă Z sauf I O Q)]]></comment> + </column> + <column name="dcapec"> + <type name="character" length="2"/> + <comment><![CDATA[CatĂŠgorie (Commentaires 2.2.3)]]></comment> + </column> + <column name="dcetlc"> + <type name="integer" length="0"/> + <comment><![CDATA[Coefficient d entretien (9V99)]]></comment> + </column> + <column name="dcsplc"> + <type name="character varying" length="5"/> + <comment><![CDATA[Coefficient de situation particulière]]></comment> + </column> + <column name="dsupot"> + <type name="integer" length="0"/> + <comment><![CDATA[Surface pondĂŠrĂŠe (PrĂŠsence non systĂŠmatique)]]></comment> + </column> + <column name="dvlper"> + <type name="integer" length="0"/> + <comment><![CDATA[Valeur locative de la pev, en valeur de rĂŠfĂŠrence (1970) sauf pour les ĂŠtablissements de code ĂŠvaluation A]]></comment> + </column> + <column name="dvlpera"> + <type name="integer" length="0"/> + <comment><![CDATA[Valeur locative de la pev, en valeur de l'annĂŠe]]></comment> + </column> + <column name="gnexpl"> + <type name="character varying" length="2"/> + <comment><![CDATA[Nature d'exonĂŠration permanente]]></comment> + </column> + <column name="ccthp"> + <type name="character" length="1"/> + <comment><![CDATA[Code occupation Ă la Th ou Ă la TP]]></comment> + </column> + <column name="retimp"> + <type name="character" length="1"/> + <comment><![CDATA[Top : retour partiel ou total Ă imposition]]></comment> + </column> + <column name="dnuref"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro de local type]]></comment> + </column> + <column name="gnidom"> + <type name="character" length="1"/> + <comment><![CDATA[Top : pev non imposable (Dom)]]></comment> + </column> + <column name="dcsglc"> + <type name="character" length="5"/> + <comment><![CDATA[Coefficient de situation gĂŠnĂŠrale]]></comment> + </column> + <column name="dvltpe"> + <type name="integer" length="0"/> + <comment><![CDATA[VL TOTALE DE LA PEV MAJIC2]]></comment> + </column> + <column name="dcralc"> + <type name="character" length="5"/> + <comment><![CDATA[correctif d'ascenseur]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="tpevtieom"> + <type name="integer" length="0"/> + <comment><![CDATA[Top local passible de la TEOM]]></comment> + </column> + <column name="ccocac"> + <type name="character" length="4"/> + <comment><![CDATA[Code catĂŠgorie du local(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="dnutrf"> + <type name="character" length="2"/> + <comment><![CDATA[Secteur rĂŠvisĂŠ(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="dcfloc"> + <type name="character" length="3"/> + <comment><![CDATA[Coefficient de localication(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="ccortar"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune origine du tarif(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="ccorvl"> + <type name="character" length="2"/> + <comment><![CDATA[Code rĂŠduction du local(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="dtaurv"> + <type name="character" length="3"/> + <comment><![CDATA[Taux de rĂŠduction(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="dcmloc"> + <type name="character" length="3"/> + <comment><![CDATA[Coefficient de modulation du local(AjoutĂŠ en 2017)]]></comment> + </column> + <constraint name="bati_21_pev_descr_pkey" type="pk-constr" table="s_majic.bati_21_pev_descr"> + <columns names="id_pev" ref-type="src-columns"/> + </constraint> +</table> + +<table name="bati_30_pev_exo" layer="0" collapse-mode="1" max-obj-count="30"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[ExonĂŠration de PEV sâappliquant sur la base imposable]]></comment> + <position x="4820" y="660"/> + <column name="id_ex" not-null="true"> + <type name="character" length="26"/> + <comment><![CDATA[(id_pev+dnuexb+janbil (depuis version 3.3))]]></comment> + </column> + <column name="id_pev" not-null="true"> + <type name="character" length="15"/> + <comment><![CDATA[Identifiant de PEV(Ccodep+ invar + dnupev)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE]]></comment> + </column> + <column name="invar"> + <type name="character" length="10"/> + <comment><![CDATA[NumĂŠro invariant]]></comment> + </column> + <column name="janbil"> + <type name="character" length="4"/> + <comment><![CDATA[AnnĂŠe d'immobilisation(servie pour ets. Industriels, ÂŤ 0000 Âť si nul)]]></comment> + </column> + <column name="dnupev"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro de pev]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement (30)]]></comment> + </column> + <column name="dnuexb"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro d'ordre de l'article (001 Ă 015)]]></comment> + </column> + <column name="ccolloc"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code de collectivitĂŠ locale accordant l'exonĂŠration]]></comment> + </column> + <column name="pexb"> + <type name="character" length="5"/> + <comment><![CDATA[Taux d'exonĂŠration accordĂŠe (999V99)]]></comment> + </column> + <column name="gnextl"> + <type name="character" length="2"/> + <comment><![CDATA[Nature d'exonĂŠration temporaire (et permanente pour ets. Industriels)]]></comment> + </column> + <column name="jandeb"> + <type name="character" length="4"/> + <comment><![CDATA[annĂŠe de dĂŠbut d'exonĂŠration(ÂŤ 0000 Âť si nul)]]></comment> + </column> + <column name="janimp"> + <type name="character" length="4"/> + <comment><![CDATA[annĂŠe de retour Ă imposition(ÂŤ 0000 Âť si nul)]]></comment> + </column> + <column name="dvldif2"> + <type name="integer" length="0"/> + <comment><![CDATA[Montant de VL exonĂŠrĂŠe (valeur 70)]]></comment> + </column> + <column name="dvldif2a"> + <type name="integer" length="0"/> + <comment><![CDATA[Montant de VL exonĂŠrĂŠe (valeur de l'annĂŠe)]]></comment> + </column> + <column name="fcexb2"> + <type name="integer" length="0"/> + <comment><![CDATA[Fraction de VL exonĂŠrĂŠe (valeur 70)]]></comment> + </column> + <column name="fcexba2"> + <type name="integer" length="0"/> + <comment><![CDATA[Fraction de VL exonĂŠrĂŠe (valeur de l'annĂŠe)]]></comment> + </column> + <column name="rcexba2"> + <type name="integer" length="0"/> + <comment><![CDATA[Revenu cadastral exonĂŠrĂŠ (valeur de l'annĂŠe)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="id_local" not-null="true"> + <type name="character" length="12"/> + <comment><![CDATA[Identifiant de bâti(Ccodep + invar(invloc))]]></comment> + </column> + <column name="valplaf"> + <type name="character" length="10"/> + <comment><![CDATA[Ajout juin 2018.]]></comment> + </column> + <constraint name="bati_30_pev_exo_pkey" type="pk-constr" table="s_majic.bati_30_pev_exo"> + <columns names="id_ex" ref-type="src-columns"/> + </constraint> +</table> + +<table name="bati_36_pev_tax" layer="0" collapse-mode="1" max-obj-count="28"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Taxation de PEV]]></comment> + <position x="6520" y="140"/> + <column name="id_pev" not-null="true"> + <type name="character" length="15"/> + <comment><![CDATA[Identifiant de PEV(Ccodep+ invar + dnupev)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE]]></comment> + </column> + <column name="invar"> + <type name="character" length="10"/> + <comment><![CDATA[NumĂŠro invariant]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement (40)]]></comment> + </column> + <column name="dnupev"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro de pev]]></comment> + </column> + <column name="vlbaia1"> + <type name="integer" length="0"/> + <comment><![CDATA[Part de VL imposĂŠe (valeur de l'annĂŠe)]]></comment> + </column> + <column name="vlbai1"> + <type name="integer" length="0"/> + <comment><![CDATA[Part de VL imposĂŠe (valeur70)]]></comment> + </column> + <column name="bipevla1"> + <type name="integer" length="0"/> + <comment><![CDATA[Base d'imposition de la pev(valeur de l'annĂŠe)]]></comment> + </column> + <column name="vlbai2"> + <type name="integer" length="0"/> + <comment><![CDATA[Part de VL imposĂŠe (valeur70)]]></comment> + </column> + <column name="vlbaia2"> + <type name="integer" length="0"/> + <comment><![CDATA[Part de VL imposĂŠe (valeur de l'annĂŠe)]]></comment> + </column> + <column name="bipevla2"> + <type name="integer" length="0"/> + <comment><![CDATA[Base d'imposition de la pev(valeur de l'annĂŠe)]]></comment> + </column> + <column name="vlbai3"> + <type name="integer" length="0"/> + <comment><![CDATA[Part de VL imposĂŠe (valeur70)]]></comment> + </column> + <column name="vlbaia3"> + <type name="integer" length="0"/> + <comment><![CDATA[Part de VL imposĂŠe (valeur de l'annĂŠe)]]></comment> + </column> + <column name="bipevla3"> + <type name="integer" length="0"/> + <comment><![CDATA[Base d'imposition de la pev(valeur de l'annĂŠe)]]></comment> + </column> + <column name="vlbai4"> + <type name="integer" length="0"/> + <comment><![CDATA[Part de VL imposĂŠe (valeur70)]]></comment> + </column> + <column name="vlbaia4"> + <type name="integer" length="0"/> + <comment><![CDATA[Part de VL imposĂŠe (valeur de l'annĂŠe)]]></comment> + </column> + <column name="bipevla4"> + <type name="integer" length="0"/> + <comment><![CDATA[Base d'imposition de la pev(valeur de l'annĂŠe)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="id_local" not-null="true"> + <type name="character" length="12"/> + <comment><![CDATA[Identifiant de bâti(ccodep + invar(invloc))]]></comment> + </column> + <column name="bateom"> + <type name="integer" length="0"/> + <comment><![CDATA[Base d'imposition de la PEV prise en compte pour la taxe d'enlèvement des ordures mĂŠnagères (TEOM).(Depuis Majic III)]]></comment> + </column> + <column name="baomec"> + <type name="integer" length="0"/> + <comment><![CDATA[Base d'imposition ĂŠcrĂŞtĂŠe de la PEV, c'est-Ă -dire non prise en compte pour la taxe d'enlèvement des ordures mĂŠnagères(Depuis Majic III)]]></comment> + </column> + <column name="mvltieomx"> + <type name="integer" length="0"/> + <comment><![CDATA[Montant TIEOM]]></comment> + </column> + <constraint name="bati_36_pev_tax_pkey" type="pk-constr" table="s_majic.bati_36_pev_tax"> + <columns names="id_pev" ref-type="src-columns"/> + </constraint> +</table> + +<table name="bati_40_descr_hab" layer="0" collapse-mode="1" max-obj-count="64"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif de la partie principale habitation (locaux non rĂŠvisĂŠs)]]></comment> + <position x="6100" y="1400"/> + <column name="dnudes" not-null="true"> + <type name="character varying" length="3"/> + <comment><![CDATA[NumĂŠro d'ordre de descriptif(bHb, bHA...)]]></comment> + </column> + <column name="id_pev" not-null="true"> + <type name="character" length="15"/> + <comment><![CDATA[Identifiant de PEV(Ccodep+ invar + dnupev)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE]]></comment> + </column> + <column name="invar"> + <type name="character" length="10"/> + <comment><![CDATA[NumĂŠro invariant]]></comment> + </column> + <column name="dnupev"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro de pev]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement (40)]]></comment> + </column> + <column name="cconad1"> + <type name="character" length="2"/> + <comment><![CDATA[Nature de dĂŠpendance]]></comment> + </column> + <column name="dsueic1"> + <type name="integer" length="0"/> + <comment><![CDATA[Surface rĂŠelle de l'ĂŠlĂŠment incorporĂŠ]]></comment> + </column> + <column name="dcimei1"> + <type name="integer" length="0"/> + <comment><![CDATA[Coefficient de pondĂŠration (9V9)]]></comment> + </column> + <column name="cconad2"> + <type name="character" length="2"/> + <comment><![CDATA[Nature de dĂŠpendance]]></comment> + </column> + <column name="dsueic2"> + <type name="integer" length="0"/> + <comment><![CDATA[Surface rĂŠelle de l'ĂŠlĂŠment incorporĂŠ]]></comment> + </column> + <column name="dcimei2"> + <type name="integer" length="0"/> + <comment><![CDATA[Coefficient de pondĂŠration (9V9)]]></comment> + </column> + <column name="cconad3"> + <type name="character" length="2"/> + <comment><![CDATA[Nature de dĂŠpendance]]></comment> + </column> + <column name="dsueic3"> + <type name="integer" length="0"/> + <comment><![CDATA[Surface rĂŠelle de l'ĂŠlĂŠment incorporĂŠ]]></comment> + </column> + <column name="dcimei3"> + <type name="integer" length="0"/> + <comment><![CDATA[Coefficient de pondĂŠration (9V9)]]></comment> + </column> + <column name="cconad4"> + <type name="character" length="2"/> + <comment><![CDATA[Nature de dĂŠpendance]]></comment> + </column> + <column name="dsueic4"> + <type name="integer" length="0"/> + <comment><![CDATA[Surface rĂŠelle de l'ĂŠlĂŠment incorporĂŠ]]></comment> + </column> + <column name="dcimei4"> + <type name="integer" length="0"/> + <comment><![CDATA[Coefficient de pondĂŠration (9V9)]]></comment> + </column> + <column name="geaulc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence d'eau (O = oui, N = non)]]></comment> + </column> + <column name="gelelc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence d'ĂŠlectricitĂŠ (O = oui, N = non)]]></comment> + </column> + <column name="gesclc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence d'escalier de service (appartement)(O = oui, N = non, blanc)]]></comment> + </column> + <column name="ggazlc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence du gaz (O = oui, N = non)]]></comment> + </column> + <column name="gasclc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence d'ascenseur (appartement)(O = oui, N = non, blanc)]]></comment> + </column> + <column name="gchclc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence du chauffage central(O = oui, N = non)]]></comment> + </column> + <column name="gvorlc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence de vide-ordures (appartement) (O = oui, N = non, blanc)]]></comment> + </column> + <column name="gteglc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence du tout Ă l'ĂŠgout (O = oui, N = non)]]></comment> + </column> + <column name="dnbbai"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de baignoires]]></comment> + </column> + <column name="dnbdou"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de douches]]></comment> + </column> + <column name="dnblav"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de lavabos]]></comment> + </column> + <column name="dnbwc"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de WC]]></comment> + </column> + <column name="deqdha"> + <type name="character" length="3"/> + <comment><![CDATA[Equivalence superficielle des ĂŠlĂŠments de confort]]></comment> + </column> + <column name="dnbppr"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de pièces principales]]></comment> + </column> + <column name="dnbsam"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de salles Ă manger]]></comment> + </column> + <column name="dnbcha"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de chambres]]></comment> + </column> + <column name="dnbcu8"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de cuisines de moins de 9 m2]]></comment> + </column> + <column name="dnbcu9"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de cuisines d'au moins 9 m2]]></comment> + </column> + <column name="dnbsea"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de salles d'eau]]></comment> + </column> + <column name="dnbann"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de pièces annexes]]></comment> + </column> + <column name="dnbpdc"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de pièces]]></comment> + </column> + <column name="dsupdc"> + <type name="integer" length="0"/> + <comment><![CDATA[Superficie des pièces]]></comment> + </column> + <column name="dmagtm"> + <type name="character" length="2"/> + <comment><![CDATA[Attribut en erreur. DĂŠprĂŠciĂŠ 2018]]></comment> + </column> + <column name="dmatto"> + <type name="character" length="2"/> + <comment><![CDATA[MatĂŠriaux des toitures]]></comment> + </column> + <column name="jannat"> + <type name="character" length="4"/> + <comment><![CDATA[AnnĂŠe d'achèvement]]></comment> + </column> + <column name="detent"> + <type name="character" length="1"/> + <comment><![CDATA[ĂŠtat d'entretien]]></comment> + </column> + <column name="dnbniv"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de niveaux]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="id_local" not-null="true"> + <type name="character" length="12"/> + <comment><![CDATA[Identifiant de bâti(ccodep + invar(invloc))]]></comment> + </column> + <column name="dmatgm"> + <type name="character" length="2"/> + <comment><![CDATA[MatĂŠriaux des gros murs]]></comment> + </column> + <constraint name="bati_40_descr_hab_pkey" type="pk-constr" table="s_majic.bati_40_descr_hab"> + <columns names="dnudes,id_pev" ref-type="src-columns"/> + </constraint> +</table> + +<table name="bati_50_descr_pro" layer="0" collapse-mode="1" max-obj-count="20"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif de la partie professionnelle (locaux rĂŠvisĂŠs)]]></comment> + <position x="5600" y="1220"/> + <column name="id_pev" not-null="true"> + <type name="character" length="15"/> + <comment><![CDATA[Identifiant de PEV(ccodep+ invar + dnupev)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE]]></comment> + </column> + <column name="invar"> + <type name="character" length="10"/> + <comment><![CDATA[NumĂŠro invariant]]></comment> + </column> + <column name="dnupev"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro de pev]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement(50)]]></comment> + </column> + <column name="dnudes"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro d'ordre de descriptif(P01)]]></comment> + </column> + <column name="vsurzt"> + <type name="integer" length="0"/> + <comment><![CDATA[Surface rĂŠelle totale]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="id_local" not-null="true"> + <type name="character" length="12"/> + <comment><![CDATA[Identifiant de bâti(ccodep + invar(invloc))]]></comment> + </column> + <column name="dsupot"> + <type name="character" length="9"/> + <comment><![CDATA[Surface pondĂŠrĂŠe(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="dsup1"> + <type name="character" length="9"/> + <comment><![CDATA[Surface des parties principales(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="dsup2"> + <type name="character" length="9"/> + <comment><![CDATA[Surface des parties secondaires couvertes(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="dsup3"> + <type name="character" length="9"/> + <comment><![CDATA[Surface des parties secondaires non couvertes(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="dsupk1"> + <type name="character" length="9"/> + <comment><![CDATA[Surface des stationnements couverts(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="dsupk2"> + <type name="character" length="9"/> + <comment><![CDATA[Surface des stationnements non couverts(AjoutĂŠ en 2017)]]></comment> + </column> + <constraint name="bati_50_descr_pro_pkey" type="pk-constr" table="s_majic.bati_50_descr_pro"> + <columns names="id_pev" ref-type="src-columns"/> + </constraint> +</table> + +<table name="bati_60_descr_dep" layer="0" collapse-mode="1" max-obj-count="36"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif des dĂŠpendances (locaux non rĂŠvisĂŠs)]]></comment> + <position x="6520" y="700"/> + <column name="id_dep" not-null="true"> + <type name="character" length="18"/> + <comment><![CDATA[Identifiant de PEV + NumĂŠro d'ordre de descriptif (id_pev + dnudes)]]></comment> + </column> + <column name="id_pev" not-null="true"> + <type name="character" length="15"/> + <comment><![CDATA[Identifiant de PEV(Ccodep+ invar + dnupev)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE]]></comment> + </column> + <column name="invar"> + <type name="character" length="10"/> + <comment><![CDATA[NumĂŠro invariant]]></comment> + </column> + <column name="dnupev"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro de pev]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement(60)]]></comment> + </column> + <column name="dnudes"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro d'ordre de descriptif(001, 002...)]]></comment> + </column> + <column name="dsudep"> + <type name="integer" length="0"/> + <comment><![CDATA[Surface rĂŠelle de la dĂŠpendance]]></comment> + </column> + <column name="cconad"> + <type name="character" length="2"/> + <comment><![CDATA[Nature de dĂŠpendance]]></comment> + </column> + <column name="asitet"> + <type name="character varying" length="6"/> + <comment><![CDATA[Localisation (bat, esc, niv)]]></comment> + </column> + <column name="dmagtm"> + <type name="character" length="2"/> + <comment><![CDATA[deprecated. Remplacement par dmatgm. juin 2017.]]></comment> + </column> + <column name="dmatto"> + <type name="character" length="2"/> + <comment><![CDATA[MatĂŠriaux des toitures(0 Ă 4)]]></comment> + </column> + <column name="detent"> + <type name="character" length="1"/> + <comment><![CDATA[1 Ă 5]]></comment> + </column> + <column name="geaulc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence d'eau(O = oui, N = non)]]></comment> + </column> + <column name="gelelc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence d'ĂŠlectricitĂŠ(O = oui, N = non)]]></comment> + </column> + <column name="gchclc"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠsence du chauffage central(O = oui, N = non)]]></comment> + </column> + <column name="dnbbai"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de baignoires]]></comment> + </column> + <column name="dnbdou"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de douches]]></comment> + </column> + <column name="dnblav"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de lavabos]]></comment> + </column> + <column name="dnbwc"> + <type name="character" length="2"/> + <comment><![CDATA[Nombre de WC]]></comment> + </column> + <column name="deqtlc"> + <type name="integer" length="0"/> + <comment><![CDATA[Equivalence superficielle des ĂŠlĂŠments de confort]]></comment> + </column> + <column name="dcimlc"> + <type name="integer" length="0"/> + <comment><![CDATA[Coefficient de pondĂŠration(1,0 - 0,2 Ă 0,6)]]></comment> + </column> + <column name="dcetde"> + <type name="integer" length="0"/> + <comment><![CDATA[Coefficient d entretien(9V99)]]></comment> + </column> + <column name="dcspde"> + <type name="character" length="3"/> + <comment><![CDATA[Coefficient de situation particulière(S9V99 de -0,10 Ă +0,10)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="id_local" not-null="true"> + <type name="character" length="12"/> + <comment><![CDATA[Identifiant de bâti(ccodep + invar(invloc))]]></comment> + </column> + <column name="dmatgm"> + <type name="character" length="2"/> + <comment><![CDATA[MatĂŠriaux des gros murs(0 Ă 9)]]></comment> + </column> + <constraint name="bati_60_descr_dep_pkey" type="pk-constr" table="s_majic.bati_60_descr_dep"> + <columns names="id_dep" ref-type="src-columns"/> + </constraint> +</table> + +<index name="IND_bati_0010_local_id_com" table="s_majic.bati_0010_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_bati_0010_local_id_par" table="s_majic.bati_0010_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_par"/> + </idxelement> +</index> + +<index name="IND_bati_0010_local_id_dnupro" table="s_majic.bati_0010_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_dnupro"/> + </idxelement> +</index> + +<index name="IND_bati_0010_local_id_local" table="s_majic.bati_0010_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_local"/> + </idxelement> +</index> + +<index name="IND_bati_0010_local_dnatlc" table="s_majic.bati_0010_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dnatlc"/> + </idxelement> +</index> + +<index name="IND_bati_0010_local_dteloc" table="s_majic.bati_0010_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dteloc"/> + </idxelement> +</index> + +<index name="IND_bati_0010_local_dnupro" table="s_majic.bati_0010_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dnupro"/> + </idxelement> +</index> + +<index name="IND_bati_0010_local_ccocom" table="s_majic.bati_0010_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="ccocom"/> + </idxelement> +</index> + +<index name="IND_bati_0010_local_id_dnupro_id_par" table="s_majic.bati_0010_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_dnupro"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="id_par"/> + </idxelement> +</index> + +<index name="IND_bati_21_pev_descr_id_com" table="s_majic.bati_21_pev_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_bati_21_pev_descr_id_local" table="s_majic.bati_21_pev_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_local"/> + </idxelement> +</index> + +<index name="IND_bati_21_pev_descr_id_pev" table="s_majic.bati_21_pev_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_pev"/> + </idxelement> +</index> + +<index name="IND_bati_21_pev_descr_ccoaff" table="s_majic.bati_21_pev_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="ccoaff"/> + </idxelement> +</index> + +<index name="IND_bati_21_pev_descr_dnupev" table="s_majic.bati_21_pev_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dnupev"/> + </idxelement> +</index> + +<index name="IND_bati_30_pev_exo_id_pev" table="s_majic.bati_30_pev_exo" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_pev"/> + </idxelement> +</index> + +<index name="IND_bati_30_pev_exo_id_ex" table="s_majic.bati_30_pev_exo" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_ex"/> + </idxelement> +</index> + +<index name="IND_bati_30_pev_exo_id_com" table="s_majic.bati_30_pev_exo" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_bati_36_pev_tax_id_local" table="s_majic.bati_36_pev_tax" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_local"/> + </idxelement> +</index> + +<index name="IND_bati_36_pev_tax_id_pev" table="s_majic.bati_36_pev_tax" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_pev"/> + </idxelement> +</index> + +<index name="IND_bati_36_pev_tax_id_com" table="s_majic.bati_36_pev_tax" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_bati_40_descr_hab_id_local" table="s_majic.bati_40_descr_hab" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_local"/> + </idxelement> +</index> + +<index name="IND_bati_40_descr_hab_id_com" table="s_majic.bati_40_descr_hab" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_bati_40_descr_hab_id_pev" table="s_majic.bati_40_descr_hab" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_pev"/> + </idxelement> +</index> + +<index name="IND_bati_40_descr_hab_dmagtm" table="s_majic.bati_40_descr_hab" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dmagtm"/> + </idxelement> +</index> + +<index name="IND_bati_40_descr_hab_dmatto" table="s_majic.bati_40_descr_hab" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dmatto"/> + </idxelement> +</index> + +<index name="IND_bati_40_descr_hab_detent" table="s_majic.bati_40_descr_hab" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="detent"/> + </idxelement> +</index> + +<index name="IND_bati_50_descr_pro_id_local" table="s_majic.bati_50_descr_pro" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_local"/> + </idxelement> +</index> + +<index name="IND_bati_50_descr_pro_id_com" table="s_majic.bati_50_descr_pro" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_bati_50_descr_pro_id_pev" table="s_majic.bati_50_descr_pro" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_pev"/> + </idxelement> +</index> + +<index name="IND_bati_60_descr_dep_id_com" table="s_majic.bati_60_descr_dep" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_bati_60_descr_dep_id_pev" table="s_majic.bati_60_descr_dep" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_pev"/> + </idxelement> +</index> + +<index name="IND_bati_60_descr_dep_id_local" table="s_majic.bati_60_descr_dep" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_local"/> + </idxelement> +</index> + +<index name="IND_bati_60_descr_dep_dmagtm" table="s_majic.bati_60_descr_dep" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dmagtm"/> + </idxelement> +</index> + +<index name="IND_bati_60_descr_dep_dmatto" table="s_majic.bati_60_descr_dep" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dmatto"/> + </idxelement> +</index> + +<index name="IND_bati_60_descr_dep_detent" table="s_majic.bati_60_descr_dep" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="detent"/> + </idxelement> +</index> + +<index name="IND_bati_60_descr_dep_cconad" table="s_majic.bati_60_descr_dep" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="cconad"/> + </idxelement> +</index> + +<table name="tc_dmatgm_materiaux_gros_murs" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[MatĂŠriaux des gros murs]]></comment> + <tag name="Table de correspondance"/> + <position x="6720" y="2160"/> + <column name="dmatgm" not-null="true"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code matĂŠriaux des gros murs]]></comment> + </column> + <column name="l_dmatgm"> + <type name="character varying" length="15"/> + <comment><![CDATA[LibellĂŠ matĂŠriaux des gros murs]]></comment> + </column> + <constraint name="tc_dmatgm_materiaux_gros_murs_pkey" type="pk-constr" table="s_majic.tc_dmatgm_materiaux_gros_murs"> + <columns names="dmatgm" ref-type="src-columns"/> + </constraint> +</table> + +<index name="IND_bati_0010_local_cconlc" table="s_majic.bati_0010_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="cconlc"/> + </idxelement> +</index> + +<table name="bati_52_descr_qp" layer="0" collapse-mode="1" max-obj-count="24"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif des quotes-parts de lissage (locaux rĂŠvisĂŠs)]]></comment> + <position x="5220" y="1220"/> + <column name="id_pev" not-null="true"> + <type name="character varying" length="15"/> + <comment><![CDATA[Identifiant de PEV(Ccodep+ invar + dnupev)]]></comment> + </column> + <column name="ccodep"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character varying" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character varying" length="3"/> + <comment><![CDATA[Code commune INSEE]]></comment> + </column> + <column name="invar"> + <type name="character varying" length="10"/> + <comment><![CDATA[N° invariant du local]]></comment> + </column> + <column name="dnupev"> + <type name="character varying" length="3"/> + <comment><![CDATA[N° de la PEV]]></comment> + </column> + <column name="cenr"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code enregistrement]]></comment> + </column> + <column name="mlbcom"> + <type name="character varying" length="11"/> + <comment><![CDATA[Quote-part de lissage de la commune]]></comment> + </column> + <column name="mlbsyn"> + <type name="character varying" length="11"/> + <comment><![CDATA[Quote-part de lissage du syndicat intercommunal]]></comment> + </column> + <column name="mlbcu"> + <type name="character varying" length="11"/> + <comment><![CDATA[Quote-part de lissage de l'intercommunalitĂŠ]]></comment> + </column> + <column name="mlbdep"> + <type name="character varying" length="11"/> + <comment><![CDATA[Quote-part de lissage du dĂŠpartement]]></comment> + </column> + <column name="mlbts1"> + <type name="character varying" length="11"/> + <comment><![CDATA[Quote-part de lissage de la TSE]]></comment> + </column> + <column name="mlbts2"> + <type name="character varying" length="11"/> + <comment><![CDATA[Quote-part de lissage de la TSE autre]]></comment> + </column> + <column name="mlbtas"> + <type name="character varying" length="11"/> + <comment><![CDATA[Quote-part de lissage de la TASA]]></comment> + </column> + <column name="mlbgem"> + <type name="character varying" length="11"/> + <comment><![CDATA[Quote-part de lissage de GEMAPI]]></comment> + </column> + <column name="mlbtom"> + <type name="character varying" length="11"/> + <comment><![CDATA[Quote-part de lissage TEOM]]></comment> + </column> + <column name="tbfpas"> + <type name="character varying" length="11"/> + <comment><![CDATA[Pas de lissage du local]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character varying" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="id_local" not-null="true"> + <type name="character varying" length="12"/> + <comment><![CDATA[Identifiant de bâti(ccodep + invar(invloc))]]></comment> + </column> + <column name="mlbtfc"> + <type name="character varying" length="11"/> + <comment><![CDATA[Quote-parte de lissage TFC]]></comment> + </column> + <constraint name="bati_52_descr_qp_pkey" type="pk-constr" table="s_majic.bati_52_descr_qp"> + <columns names="id_pev" ref-type="src-columns"/> + </constraint> +</table> + +<table name="bati_31_pev_exo" layer="0" collapse-mode="1" max-obj-count="30"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[ExonĂŠration de PEV sâappliquant sur la base imposĂŠe]]></comment> + <position x="4800" y="80"/> + <column name="id_ex" not-null="true"> + <type name="character" length="26"/> + </column> + <column name="id_pev" not-null="true"> + <type name="character" length="15"/> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + </column> + <column name="invar"> + <type name="character" length="10"/> + </column> + <column name="janbil"> + <type name="character" length="4"/> + </column> + <column name="dnupev"> + <type name="character" length="3"/> + </column> + <column name="cenr"> + <type name="character" length="2"/> + </column> + <column name="dnuexb"> + <type name="character" length="3"/> + </column> + <column name="ccolloc"> + <type name="character varying" length="2"/> + </column> + <column name="pexb"> + <type name="character" length="5"/> + </column> + <column name="gnextl"> + <type name="character" length="2"/> + </column> + <column name="jandeb"> + <type name="character" length="4"/> + </column> + <column name="janimp"> + <type name="character" length="4"/> + </column> + <column name="dvldif2"> + <type name="integer" length="0"/> + </column> + <column name="dvldif2a"> + <type name="integer" length="0"/> + </column> + <column name="fcexb2"> + <type name="integer" length="0"/> + </column> + <column name="fcexba2"> + <type name="integer" length="0"/> + </column> + <column name="rcexba2"> + <type name="integer" length="0"/> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + </column> + <column name="id_local" not-null="true"> + <type name="character" length="12"/> + </column> + <column name="valplaf"> + <type name="character" length="10"/> + </column> + <constraint name="bati_31_pev_exo_pkey" type="pk-constr" table="s_majic.bati_31_pev_exo"> + <columns names="id_ex" ref-type="src-columns"/> + </constraint> +</table> + +<index name="IND_bati_31_pev_exo_id_com" table="s_majic.bati_31_pev_exo" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_bati_31_pev_exo_id_ex" table="s_majic.bati_31_pev_exo" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_ex"/> + </idxelement> +</index> + +<index name="IND_bati_31_pev_exo_id_pev" table="s_majic.bati_31_pev_exo" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_pev"/> + </idxelement> +</index> + +<table name="tc_ccocac_categorie_local" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[CatĂŠgorie du local]]></comment> + <tag name="Table de correspondance"/> + <position x="5980" y="160"/> + <column name="ccocac" not-null="true"> + <type name="character varying" length="4"/> + <comment><![CDATA[Code catĂŠgorie du local]]></comment> + </column> + <column name="l_ccocac"> + <type name="character varying" length="200"/> + <comment><![CDATA[LibellĂŠ catĂŠgorie du local]]></comment> + </column> + <constraint name="tc_ccocac_categorie_local_pk" type="pk-constr" table="s_majic.tc_ccocac_categorie_local"> + <columns names="ccocac" ref-type="src-columns"/> + </constraint> +</table> + +<relationship name="bati_21_pev_descr_has_one_bati_36_pev_tax" type="rel11" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.bati_36_pev_tax" + dst-table="s_majic.bati_21_pev_descr" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-445.069" y="-53.464"/> + </label> +</relationship> + +<relationship name="bati_21_pev_descr_has_many_bati_31_pev_exo" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.bati_21_pev_descr" + dst-table="s_majic.bati_31_pev_exo" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-600.569" y="-110.375"/> + </label> +</relationship> + +<relationship name="tc_gnextl_exoneration_temporaire_has_many_bati_31_pev_exo" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_gnextl_exoneration_temporaire" + dst-table="s_majic.bati_31_pev_exo" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="393.786" y="-67.4112"/> + </label> +</relationship> + +<relationship name="tc_gnextl_exoneration_temporaire_has_many_bati_30_pev_exo" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_gnextl_exoneration_temporaire" + dst-table="s_majic.bati_30_pev_exo" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="421.038" y="90.3755"/> + </label> +</relationship> + +<relationship name="bati_21_pev_descr_has_many_bati_30_pev_exo" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.bati_21_pev_descr" + dst-table="s_majic.bati_30_pev_exo" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-590.569" y="37.9809"/> + </label> +</relationship> + +<relationship name="tc_dmatgm_materiaux_gros_murs_has_many_bati_40_descr_hab" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_dmatgm_materiaux_gros_murs" + dst-table="s_majic.bati_40_descr_hab" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-370.655" y="56.8464"/> + </label> +</relationship> + +<relationship name="tc_dmatto_materiaux_toitures_has_many_bati_40_descr_hab" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_dmatto_materiaux_toitures" + dst-table="s_majic.bati_40_descr_hab" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-282.569" y="42.1877"/> + </label> +</relationship> + +<relationship name="tc_detent_etat_entretien_has_many_bati_40_descr_hab" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_detent_etat_entretien" + dst-table="s_majic.bati_40_descr_hab" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-372.18" y="95.9011"/> + </label> +</relationship> + +<relationship name="tc_cconad_nature_dependance_has_many_bati_40_descr_hab" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_cconad_nature_dependance" + dst-table="s_majic.bati_40_descr_hab" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-348.569" y="84.4823"/> + </label> +</relationship> + +<relationship name="bati_0010_local_has_many_bati_21_pev_descr" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.bati_0010_local" + dst-table="s_majic.bati_21_pev_descr" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="162.932" y="-734.4"/> + </label> +</relationship> + +<relationship name="bati_21_pev_descr_has_many_bati_60_descr_dep" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.bati_21_pev_descr" + dst-table="s_majic.bati_60_descr_dep" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-413.069" y="-48.7207"/> + </label> +</relationship> + +<relationship name="tc_gnexpl_exoneration_permanente_has_many_bati_21_pev_descr" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_gnexpl_exoneration_permanente" + dst-table="s_majic.bati_21_pev_descr" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="404.599" y="231.295"/> + </label> +</relationship> + +<relationship name="tc_ccoaff_affectation_pev_has_many_bati_21_pev_descr" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_ccoaff_affectation_pev" + dst-table="s_majic.bati_21_pev_descr" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="280.476" y="182.389"/> + </label> +</relationship> + +<relationship name="tc_cconlc_nature_local_has_many_bati_0010_local" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_cconlc_nature_local" + dst-table="s_majic.bati_0010_local" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-188.059" y="83.9299"/> + </label> +</relationship> + +<relationship name="tc_dnatlc_nature_occupation_local_has_many_bati_0010_local" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_dnatlc_nature_occupation_local" + dst-table="s_majic.bati_0010_local" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-161.102" y="70.3092"/> + </label> +</relationship> + +<relationship name="tc_dteloc_type_local_has_many_bati_0010_local" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_dteloc_type_local" + dst-table="s_majic.bati_0010_local" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="331.982" y="-45.7375"/> + </label> +</relationship> + +<relationship name="tc_ccoeva_methode_eval_has_many_bati_0010_local" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_ccoeva_methode_eval" + dst-table="s_majic.bati_0010_local" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="439.931" y="-11.7644"/> + </label> +</relationship> + +<relationship name="tc_ccoplc_construction_particuliere_has_many_bati_0010_local" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_ccoplc_construction_particuliere" + dst-table="s_majic.bati_0010_local" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="482.431" y="-172.22"/> + </label> +</relationship> + +<relationship name="tc_dnatcg_nature_changement_evaluation_has_many_bati_0010_local" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_dnatcg_nature_changement_evaluation" + dst-table="s_majic.bati_0010_local" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="594.601" y="-252.615"/> + </label> +</relationship> + +<relationship name="tc_cbtabt_exoneration_hlm_has_many_bati_0010_local" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_cbtabt_exoneration_hlm" + dst-table="s_majic.bati_0010_local" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="485.01" y="7.04842"/> + </label> +</relationship> + +<relationship name="tc_ccocac_categorie_local_has_many_bati_21_pev_descr" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_ccocac_categorie_local" + dst-table="s_majic.bati_21_pev_descr" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="33.5289" y="192.389"/> + </label> +</relationship> + +<permission> + <object name="s_majic" type="schema"/> + <roles names="u_vitis"/> + <privileges create="true" usage="true"/> +</permission> +</dbmodel> diff --git a/Diagrammes_UML_pgModeler/majic_fantoir.dbm b/Diagrammes_UML_pgModeler/majic_fantoir.dbm new file mode 100644 index 0000000000000000000000000000000000000000..7949b2a5a84bd953bcb4cdfcb46c481fef73c635 --- /dev/null +++ b/Diagrammes_UML_pgModeler/majic_fantoir.dbm @@ -0,0 +1,292 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +CAUTION: Do not modify this file unless you know what you are doing. + Unexpected results may occur if the code is changed deliberately. +--> +<dbmodel pgmodeler-ver="0.9.2_snapshot20191127" last-position="1321,1003" last-zoom="0.5" max-obj-count="4" + default-schema="public" default-owner="postgres"> +<role name="u_vitis" + createrole="true" + inherit="true" + login="true" + encrypted="true" + password="********"> + <roles names="postgres" role-type="member" /> +</role> + +<database name="vmap_353" encoding="UTF8" connlimit="1" lc-collate="French_France.1252" lc-ctype="French_France.1252" is-template="false" allow-conns="true"> + <role name="postgres"/> + <tablespace name="pg_default"/> +</database> + +<tag name="Table de correspondance"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#eb9d00,#eb9d00,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#eb9d00,#eb9d00,#ca8700"/> +</tag> +<tag name="Table dĂŠprĂŠciĂŠe"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#000000,#000000,#000000"/> +</tag> +<schema name="public" layer="0" rect-visible="true" fill-color="#e1e1e1" sql-disabled="true"> +</schema> + +<schema name="s_majic" layer="0" rect-visible="true" fill-color="#d9d9d9"> + <role name="u_vitis"/> +</schema> + +<table name="fantoir_commune" layer="0" collapse-mode="1" max-obj-count="18"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Enregistrement Commune]]></comment> + <position x="4240" y="2860"/> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="annee"> + <type name="character" length="4"/> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement au sens INSEE.]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction DGI.]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune dĂŠfinie par MAJIC2.(A blanc si article direction.)]]></comment> + </column> + <column name="clerivoli"> + <type name="character" length="1"/> + <comment><![CDATA[Zone alphabĂŠtique fournie par MAJIC2.(ContrĂ´le la validitĂŠ de DEP DIR COM VOI.)]]></comment> + </column> + <column name="libcom"> + <type name="character varying" length="45"/> + <comment><![CDATA[ DĂŠsignation de la commune sur 30 caractères pour les communes]]></comment> + </column> + <column name="typcom"> + <type name="character" length="1"/> + <comment><![CDATA[Permet de distinguer les communes recensĂŠes des communes rurales(N = commune rurale.R = commune recensĂŠe.A blanc si article direction.)]]></comment> + </column> + <column name="rur"> + <type name="character" length="1"/> + <comment><![CDATA[Indique si la commune est pseudo-recensĂŠe ou non.(3 = commune pseudo-recensĂŠe blanc = rien)]]></comment> + </column> + <column name="carpop"> + <type name="character" length="1"/> + <comment><![CDATA[PrĂŠcise la dernière situation connue de la commune au regard de la limite de 3000 habitants (= blanc si < 3000 h sinon = \*).]]></comment> + </column> + <column name="annulation"> + <type name="character" length="1"/> + <comment><![CDATA[Cet article indique que plus aucune entitĂŠ topo n'est reprĂŠsentĂŠe par ce code.(O = voie annulĂŠe sans transfert. Q = voie annulĂŠe avec transfert. Q = commune annulĂŠe avec transfert.)]]></comment> + </column> + <column name="dateannul"> + <type name="character" length="7"/> + <comment><![CDATA[Date d'annulation.]]></comment> + </column> + <column name="datecrea"> + <type name="character" length="7"/> + <comment><![CDATA[Date Ă laquelle l'article a ĂŠtĂŠ crĂŠĂŠ par crĂŠation MAJIC2.]]></comment> + </column> + <constraint name="fantoir_commune_pkey" type="pk-constr" table="s_majic.fantoir_commune"> + <columns names="id_com" ref-type="src-columns"/> + </constraint> +</table> + +<table name="fantoir_direction" layer="0" collapse-mode="1" max-obj-count="4"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Enregistrement Direction]]></comment> + <position x="3900" y="2800"/> + <column name="ccodep" not-null="true"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement au sens INSEE.]]></comment> + </column> + <column name="ccodir" not-null="true"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction DGI.]]></comment> + </column> + <column name="clerivoli"> + <type name="character" length="1"/> + <comment><![CDATA[Zone alphabĂŠtique fournie par MAJIC2.(ContrĂ´le la validitĂŠ de DEP DIR COM VOI.)]]></comment> + </column> + <column name="libdep"> + <type name="character varying" length="45"/> + <comment><![CDATA[LibellĂŠ dĂŠpartement]]></comment> + </column> + <constraint name="pk_fantoir_direction" type="pk-constr" table="s_majic.fantoir_direction"> + <columns names="ccodep,ccodir" ref-type="src-columns"/> + </constraint> +</table> + +<table name="fantoir_voie" layer="0" collapse-mode="1" max-obj-count="26"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Enregistrement Voie]]></comment> + <position x="3440" y="2800"/> + <column name="id_voie" not-null="true"> + <type name="character" length="9"/> + <comment><![CDATA[(ccodep+ccodir+ccocom+ccoriv)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement au sens INSEE.]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction DGI.]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune dĂŠfini par MAJIC2.(A blanc si article direction.)]]></comment> + </column> + <column name="rivoli"> + <type name="character" length="4"/> + <comment><![CDATA[Identifiant de voie dans la commune.(A blanc si article direction ou commune.)]]></comment> + </column> + <column name="clerivoli"> + <type name="character" length="1"/> + <comment><![CDATA[Zone alphabĂŠtique fournie par MAJIC2.(ContrĂ´le la validitĂŠ de DEP DIR COM VOI.)]]></comment> + </column> + <column name="codevoie"> + <type name="character" length="4"/> + <comment><![CDATA[Code nature de voie sur 4 caractères]]></comment> + </column> + <column name="libvoie"> + <type name="character varying" length="26"/> + <comment><![CDATA[libellĂŠ de voie sur 26 caract. pour les voies.]]></comment> + </column> + <column name="typcom"> + <type name="character" length="1"/> + <comment><![CDATA[Permet de distinguer les communes recensĂŠes des communes rurales(N = commune rurale.R = commune recensĂŠe.A blanc si article direction.)]]></comment> + </column> + <column name="rur"> + <type name="character" length="1"/> + <comment><![CDATA[Indique si la commune est pseudo-recensĂŠe ou non.(3 = commune pseudo-recensĂŠeblanc = rien)]]></comment> + </column> + <column name="carvoie"> + <type name="character" length="1"/> + <comment><![CDATA[Zone indiquant si la voie est privĂŠe (1) ou publique (0)]]></comment> + </column> + <column name="annulation"> + <type name="character" length="1"/> + <comment><![CDATA[Cet article indique que plus aucune entitĂŠ topo n'est reprĂŠsentĂŠe par ce code.]]></comment> + </column> + <column name="dateannul"> + <type name="character" length="7"/> + <comment><![CDATA[Date annulation]]></comment> + </column> + <column name="datecrea"> + <type name="character" length="7"/> + <comment><![CDATA[Date Ă laquelle l'article a ĂŠtĂŠ crĂŠĂŠ par crĂŠation MAJIC2.]]></comment> + </column> + <column name="majic2"> + <type name="character" length="5"/> + <comment><![CDATA[Code identifiant la voie dans MAJIC2.(Permet de faire le lien entre le code voie RIVOLI et le code voie MAJIC2.)]]></comment> + </column> + <column name="typevoie"> + <type name="character" length="1"/> + <comment><![CDATA[Indicateur de la classe de la voie.1 = voie.2 = ensemble immobilier.3 = lieu-dit.4 = pseudo-voie.5 = voie provisoire.(Permet de distinguer les diffĂŠrents types de voie.)]]></comment> + </column> + <column name="indic"> + <type name="character" length="1"/> + <comment><![CDATA[Zone servie uniquement pour les lieux-dits. Permet d'indiquer si le lieu-dit comporte ou non un bâtiment dans MAJIC.(= 1 pour lieu-dit non bâti,= 0 sinon.)]]></comment> + </column> + <column name="motclass"> + <type name="character" length="8"/> + <comment><![CDATA[Dernier mot entièrement alphabĂŠtique du libellĂŠ de voie.(Permet de restituer l'ordre alphabĂŠtique.)]]></comment> + </column> + <constraint name="fantoir_voie_pkey" type="pk-constr" table="s_majic.fantoir_voie"> + <columns names="id_voie" ref-type="src-columns"/> + </constraint> +</table> + +<index name="IND_fantoir_commune_id_com" table="s_majic.fantoir_commune" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_fantoir_voie_id_com" table="s_majic.fantoir_voie" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_fantoir_voie_libvoie" table="s_majic.fantoir_voie" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="libvoie"/> + </idxelement> +</index> + +<index name="IND_fantoir_voie_id_voie" table="s_majic.fantoir_voie" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_voie"/> + </idxelement> +</index> + +<relationship name="fantoir_commune_has_many_fantoir_voie" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.fantoir_commune" + dst-table="s_majic.fantoir_voie" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-360.319" y="80.9485"/> + </label> +</relationship> + +<relationship name="fantoir_direction_has_many_fantoir_voie" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.fantoir_direction" + dst-table="s_majic.fantoir_voie" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-195.319" y="28.5157"/> + </label> +</relationship> + +<relationship name="fantoir_direction_has_many_fantoir_commune" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.fantoir_direction" + dst-table="s_majic.fantoir_commune" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="221.181" y="36.0393"/> + </label> +</relationship> + +<permission> + <object name="s_majic" type="schema"/> + <roles names="u_vitis"/> + <privileges create="true" usage="true"/> +</permission> +</dbmodel> diff --git a/Diagrammes_UML_pgModeler/majic_lot_local.dbm b/Diagrammes_UML_pgModeler/majic_lot_local.dbm new file mode 100644 index 0000000000000000000000000000000000000000..f3c4f89530b78885e4dc047c50e268f9d36006da --- /dev/null +++ b/Diagrammes_UML_pgModeler/majic_lot_local.dbm @@ -0,0 +1,177 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +CAUTION: Do not modify this file unless you know what you are doing. + Unexpected results may occur if the code is changed deliberately. +--> +<dbmodel pgmodeler-ver="0.9.2_snapshot20191127" last-position="2466,1299" last-zoom="0.75" max-obj-count="4" + default-schema="public" default-owner="postgres"> +<role name="u_vitis" + createrole="true" + inherit="true" + login="true" + encrypted="true" + password="********"> + <roles names="postgres" role-type="member" /> +</role> + +<database name="vmap_353" encoding="UTF8" connlimit="1" lc-collate="French_France.1252" lc-ctype="French_France.1252" is-template="false" allow-conns="true"> + <role name="postgres"/> + <tablespace name="pg_default"/> +</database> + +<tag name="Table de correspondance"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#eb9d00,#eb9d00,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#eb9d00,#eb9d00,#ca8700"/> +</tag> +<tag name="Table dĂŠprĂŠciĂŠe"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#000000,#000000,#000000"/> +</tag> +<schema name="public" layer="0" rect-visible="true" fill-color="#e1e1e1" sql-disabled="true"> +</schema> + +<schema name="s_majic" layer="0" rect-visible="true" fill-color="#d9d9d9"> + <role name="u_vitis"/> +</schema> + +<table name="lot_local" layer="0" collapse-mode="1" max-obj-count="25"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Description du fichier Lot-Local]]></comment> + <position x="3760" y="2060"/> + <column name="id_local" not-null="true"> + <type name="character" length="12"/> + <comment><![CDATA[Identifiant unique de l'objet]]></comment> + </column> + <column name="klot" not-null="true"> + <type name="character" length="25"/> + <comment><![CDATA[Identifiant d'un lot(= clotloc)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[Identifiant de la commune(ccodep+ccocom)]]></comment> + </column> + <column name="clotloc"> + <type name="character" length="25"/> + <comment><![CDATA[Identifiant d'un lot(ccodepl+ccodirl+ccocoml+ccoprel+ccosecl+dnuplal+dnupdl)]]></comment> + </column> + <column name="ccodepl"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodirl"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocoml"> + <type name="character" length="3"/> + <comment><![CDATA[Code INSEE de la commune]]></comment> + </column> + <column name="ccoprel"> + <type name="character varying" length="3"/> + <comment><![CDATA[Code prĂŠfixe]]></comment> + </column> + <column name="ccosecl"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code section]]></comment> + </column> + <column name="dnuplal"> + <type name="character" length="4"/> + <comment><![CDATA[NumĂŠro du plan(format "0000")]]></comment> + </column> + <column name="dnupdl"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro de pdl]]></comment> + </column> + <column name="dnulot"> + <type name="character" length="7"/> + <comment><![CDATA[NumĂŠro de lot]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement(10)]]></comment> + </column> + <column name="ccodebpb"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodird"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocomb"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune]]></comment> + </column> + <column name="ccopreb"> + <type name="character varying" length="3"/> + <comment><![CDATA[Code prĂŠfixe]]></comment> + </column> + <column name="invloc"> + <type name="character" length="10"/> + <comment><![CDATA[NumĂŠro invariant du local]]></comment> + </column> + <column name="dnumql"> + <type name="integer" length="0"/> + <comment><![CDATA[NumĂŠrateur du lot]]></comment> + </column> + <column name="ddenql"> + <type name="integer" length="0"/> + <comment><![CDATA[DĂŠnominateur du lot]]></comment> + </column> + <column name="klocal"> + <type name="character" length="19"/> + <comment><![CDATA[Identifiant d'un local(ccodebpb+ccodird+ccocomb+ccopreb+invloc)]]></comment> + </column> + <constraint name="lot_local_pkey" type="pk-constr" table="s_majic.lot_local"> + <columns names="id_local,klot" ref-type="src-columns"/> + </constraint> +</table> + +<index name="IND_lot_local_id_com" table="s_majic.lot_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_lot_local_klot" table="s_majic.lot_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="klot"/> + </idxelement> +</index> + +<index name="IND_lot_local_id_local" table="s_majic.lot_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_local"/> + </idxelement> +</index> + +<index name="IND_lot_local_id_local_klot" table="s_majic.lot_local" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_local"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="klot"/> + </idxelement> +</index> + +<permission> + <object name="s_majic" type="schema"/> + <roles names="u_vitis"/> + <privileges create="true" usage="true"/> +</permission> +</dbmodel> diff --git a/Diagrammes_UML_pgModeler/majic_non_bati.dbm b/Diagrammes_UML_pgModeler/majic_non_bati.dbm new file mode 100644 index 0000000000000000000000000000000000000000..be95a865fe78fe47927741ee8fa463c68c03a07b --- /dev/null +++ b/Diagrammes_UML_pgModeler/majic_non_bati.dbm @@ -0,0 +1,951 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +CAUTION: Do not modify this file unless you know what you are doing. + Unexpected results may occur if the code is changed deliberately. +--> +<dbmodel pgmodeler-ver="0.9.2_snapshot20191127" last-position="1381,450" last-zoom="0.55" max-obj-count="12" + default-schema="public" default-owner="postgres"> +<role name="u_vitis" + createrole="true" + inherit="true" + login="true" + encrypted="true" + password="********"> + <roles names="postgres" role-type="member" /> +</role> + +<database name="vmap_353" encoding="UTF8" connlimit="1" lc-collate="French_France.1252" lc-ctype="French_France.1252" is-template="false" allow-conns="true"> + <role name="postgres"/> + <tablespace name="pg_default"/> +</database> + +<tag name="Table de correspondance"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#eb9d00,#eb9d00,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#eb9d00,#eb9d00,#ca8700"/> +</tag> +<tag name="Table dĂŠprĂŠciĂŠe"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#000000,#000000,#000000"/> +</tag> +<schema name="public" layer="0" rect-visible="true" fill-color="#e1e1e1" sql-disabled="true"> +</schema> + +<schema name="s_majic" layer="0" rect-visible="true" fill-color="#d9d9d9"> + <role name="u_vitis"/> +</schema> + +<table name="tc_ccolloc_collectivite" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[CollectivitĂŠ (reprĂŠsente la collectivitĂŠ qui accorde l'exonĂŠration)]]></comment> + <tag name="Table de correspondance"/> + <position x="4240" y="780"/> + <column name="ccolloc" not-null="true"> + <type name="character varying" length="2"/> + <comment><![CDATA[Ajout 2018 des valeurs TS et OM]]></comment> + </column> + <column name="l_ccolloc"> + <type name="character varying" length="55"/> + </column> + <constraint name="tc_ccolloc_collectivite_pkey" type="pk-constr" table="s_majic.tc_ccolloc_collectivite"> + <columns names="ccolloc" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_cgrnum_groupe_numerique" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Groupe nature de culture]]></comment> + <tag name="Table de correspondance"/> + <position x="3040" y="1560"/> + <column name="cgrnum" not-null="true"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code groupe nature de culture]]></comment> + </column> + <column name="l_cgrnum"> + <type name="character varying" length="200"/> + <comment><![CDATA[LibellĂŠ groupe nature de culture]]></comment> + </column> + <constraint name="tc_cgrnum_groupe_numerique_pkey" type="pk-constr" table="s_majic.tc_cgrnum_groupe_numerique"> + <columns names="cgrnum" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_cnatsp_code_nature_culture_speciale" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Nature de culture spĂŠciale]]></comment> + <tag name="Table de correspondance"/> + <position x="3020" y="1380"/> + <column name="cnatsp" not-null="true"> + <type name="character varying" length="5"/> + </column> + <column name="l_cnatsp"> + <type name="character varying" length="55"/> + </column> + <constraint name="tc_cnatsp_code_nature_culture_speciale_pkey" type="pk-constr" table="s_majic.tc_cnatsp_code_nature_culture_speciale"> + <columns names="cnatsp" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_dsgrpf_sousgroupe_suf" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Sous groupe de subdivision fiscale]]></comment> + <tag name="Table de correspondance"/> + <position x="3080" y="960"/> + <column name="dsgrpf" not-null="true"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code sous groupe de subdivision fiscale]]></comment> + </column> + <column name="l_dsgrpf"> + <type name="character varying" length="50"/> + <comment><![CDATA[LibellĂŠ sous groupe de subdivision fiscale]]></comment> + </column> + <constraint name="tc_dsgrpf_sousgroupe_suf_pkey" type="pk-constr" table="s_majic.tc_dsgrpf_sousgroupe_suf"> + <columns names="dsgrpf" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_gnexps_exoneration_permanente" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[ExonĂŠration permanente(Zone servie lorsque la suf bĂŠnĂŠficie d'une exonĂŠration permanente totale ou partielle)]]></comment> + <tag name="Table de correspondance"/> + <position x="3040" y="1200"/> + <column name="gnexps" not-null="true"> + <type name="character varying" length="2"/> + </column> + <column name="l_gnexps"> + <type name="character varying" length="160"/> + </column> + <constraint name="tc_gnexps_exoneration_permanente_pkey" type="pk-constr" table="s_majic.tc_gnexps_exoneration_permanente"> + <columns names="gnexps" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_gnexts_nature_exoneration_temporaire" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Nature exonĂŠration temporaire]]></comment> + <tag name="Table de correspondance"/> + <position x="4240" y="600"/> + <column name="gnexts" not-null="true"> + <type name="character varying" length="2"/> + <comment><![CDATA[Ajout 2017 de la valeur HS]]></comment> + </column> + <column name="l_gnexts"> + <type name="character varying" length="155"/> + </column> + <constraint name="tc_gnexts_nature_exoneration_temporaire_pkey" type="pk-constr" table="s_majic.tc_gnexts_nature_exoneration_temporaire"> + <columns names="gnexts" ref-type="src-columns"/> + </constraint> +</table> + +<table name="nb_10_parcelle" layer="0" collapse-mode="1" max-obj-count="49"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif de parcelle]]></comment> + <position x="4100" y="960"/> + <column name="id_par" not-null="true"> + <type name="character" length="14"/> + <comment><![CDATA[Identifiant parcelle 14 caractères(ccodep+ ccocom+ ccopre+ ccosec+ dnupla)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[Identifiant commune 5 caractères(ccodep+ ccocom)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE ou DGI d'arrondissement]]></comment> + </column> + <column name="ccopre"> + <type name="character" length="3"/> + <comment><![CDATA[PrĂŠfixe de section ou quartier servi pour les communes associĂŠes, &des1.]]></comment> + </column> + <column name="ccosec"> + <type name="character varying" length="2"/> + <comment><![CDATA[Section cadastrale]]></comment> + </column> + <column name="dnupla"> + <type name="character varying" length="4"/> + <comment><![CDATA[NumĂŠro de plan - NumĂŠro de la parcelle (format ÂŤ 0000 Âť)]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement (10)]]></comment> + </column> + <column name="dcntpa"> + <type name="character" length="9"/> + <comment><![CDATA[Contenance de la parcelle (en centiares)]]></comment> + </column> + <column name="dsrpar"> + <type name="character" length="1"/> + <comment><![CDATA[Lettre de sĂŠrie rĂ´le]]></comment> + </column> + <column name="dnupro"> + <type name="character" length="6"/> + <comment><![CDATA[Compte communal du propriĂŠtaire de la parcelle]]></comment> + </column> + <column name="jdatat"> + <type name="character" length="8"/> + <comment><![CDATA[Date de l'acte (jjmmaaaa)]]></comment> + </column> + <column name="dreflf"> + <type name="character" length="5"/> + <comment><![CDATA[RĂŠfĂŠrence au Livre Foncier en Alsace-Moselle]]></comment> + </column> + <column name="gpdl"> + <type name="character" length="1"/> + <comment><![CDATA[Indicateur d'appartenance Ă pdl. Identifiant de la pdl(cf. dĂŠtail supra si gpdl =2)]]></comment> + </column> + <column name="cprsecr"> + <type name="character" length="3"/> + <comment><![CDATA[PrĂŠfixe de la parcelle de rĂŠfĂŠrence]]></comment> + </column> + <column name="ccosecr"> + <type name="character varying" length="2"/> + <comment><![CDATA[Section de la parcelle de rĂŠfĂŠrence]]></comment> + </column> + <column name="dnuplar"> + <type name="character varying" length="4"/> + <comment><![CDATA[N° de plan de la parcelle de rĂŠfĂŠrence]]></comment> + </column> + <column name="dnupdl"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro d'ordre de la pdl (en gĂŠnĂŠral, 001)]]></comment> + </column> + <column name="gurbpa"> + <type name="character" length="1"/> + <comment><![CDATA[Caractère Urbain de la parcelle(U, * ou blanc)]]></comment> + </column> + <column name="dparpi"> + <type name="character varying" length="4"/> + <comment><![CDATA[NumĂŠro de parcelle primitive]]></comment> + </column> + <column name="ccoarp"> + <type name="character" length="1"/> + <comment><![CDATA[Indicateur d'arpentage (A ou blanc)]]></comment> + </column> + <column name="gparnf"> + <type name="character" length="1"/> + <comment><![CDATA[Indicateur de parcelle non figurĂŠe au plan(1 = figurĂŠe, 0 = non figurĂŠe)]]></comment> + </column> + <column name="gparbat"> + <type name="character" length="1"/> + <comment><![CDATA[Indicateur de parcelle rĂŠfĂŠrençant un bâtiment(1 = oui, sinon 0)]]></comment> + </column> + <column name="dnvoiri"> + <type name="character varying" length="4"/> + <comment><![CDATA[NumĂŠro de voirie]]></comment> + </column> + <column name="dindic"> + <type name="character" length="1"/> + <comment><![CDATA[Indice de rĂŠpĂŠtition]]></comment> + </column> + <column name="ccovoi"> + <type name="character" length="5"/> + <comment><![CDATA[Code Majic2 de la voie]]></comment> + </column> + <column name="ccoriv"> + <type name="character" length="4"/> + <comment><![CDATA[Code Rivoli de la voie]]></comment> + </column> + <column name="ccocif"> + <type name="character" length="4"/> + <comment><![CDATA[Code du cdif (code topad)]]></comment> + </column> + <column name="cconvo"> + <type name="character varying" length="4"/> + <comment><![CDATA[Code nature de la voie]]></comment> + </column> + <column name="dvoilib"> + <type name="character" length="26"/> + <comment><![CDATA[LibellĂŠ de la voie]]></comment> + </column> + <column name="ccocomm"> + <type name="character varying" length="3"/> + <comment><![CDATA[Code INSEE de la commune de la parcelle mère]]></comment> + </column> + <column name="ccoprem"> + <type name="character varying" length="3"/> + <comment><![CDATA[Code du prĂŠfixe de section de la, parcelle mère]]></comment> + </column> + <column name="ccosecm"> + <type name="character varying" length="20"/> + <comment><![CDATA[Code section de la parcelle mère]]></comment> + </column> + <column name="dnuplam"> + <type name="character varying" length="4"/> + <comment><![CDATA[NumĂŠro de plan de la parcelle mère]]></comment> + </column> + <column name="type"> + <type name="character varying" length="1"/> + <comment><![CDATA[Type de filiation(D : Division, R : RĂŠunion , T : Transfert ou blanc)]]></comment> + </column> + <column name="id_voie" not-null="true"> + <type name="character" length="9"/> + <comment><![CDATA[L'identifiant Rivoli de la parcelle(ccodep+ccocom+ccoriv)]]></comment> + </column> + <column name="id_dnupro" not-null="true"> + <type name="character" length="11"/> + <comment><![CDATA[Compte communal du propriĂŠtaire de la parcelle(id_com+dnupro)]]></comment> + </column> + <column name="id_adresse"> + <type name="character" length="15"/> + <comment><![CDATA[Identifiant adresse de la parcelle(id_com+dnvoiri+dindic+ccoriv)]]></comment> + </column> + <column name="ccoifp"> + <type name="character" length="3"/> + <comment><![CDATA[Code intĂŠgration fiscale progressive(AjoutĂŠ en 2017)]]></comment> + </column> + <column name="ccpper"> + <type name="character" length="3"/> + <comment><![CDATA[Code de la trĂŠsorerie (code TOPAD)]]></comment> + </column> + <constraint name="nb_10_parcelle_pkey" type="pk-constr" table="s_majic.nb_10_parcelle"> + <columns names="id_par" ref-type="src-columns"/> + </constraint> +</table> + +<table name="nb_21_suf_descr" layer="0" collapse-mode="1" max-obj-count="48"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif de subdivision fiscale]]></comment> + <position x="3420" y="960"/> + <column name="id_suf" not-null="true"> + <type name="character varying" length="16"/> + <comment><![CDATA[(ID_PAR+CCOSUB)]]></comment> + </column> + <column name="klot" not-null="true"> + <type name="character" length="25"/> + <comment><![CDATA[(kpdl_+dnulot)]]></comment> + </column> + <column name="id_par" not-null="true"> + <type name="character" length="14"/> + <comment><![CDATA[Identifiant de la parcelle(ccodep+ ccocom+ ccopre+ ccosec+ dnupla)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[Identifiant de la commune(ccodep+ccocom)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE ou DGI d'arrondissement]]></comment> + </column> + <column name="ccopre"> + <type name="character varying" length="3"/> + <comment><![CDATA[PrĂŠfixe de section ou quartier servi pour les communes associĂŠes, &des1.]]></comment> + </column> + <column name="ccosec"> + <type name="character varying" length="2"/> + <comment><![CDATA[Section cadastrale]]></comment> + </column> + <column name="dnupla"> + <type name="character varying" length="4"/> + <comment><![CDATA[NumĂŠro de plan - NumĂŠro de parcelle]]></comment> + </column> + <column name="ccosub"> + <type name="character" length="2"/> + <comment><![CDATA[Lettres indicatives de suf]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement (21)]]></comment> + </column> + <column name="dcntsf"> + <type name="character" length="9"/> + <comment><![CDATA[Contenance de la suf (en centiares)]]></comment> + </column> + <column name="dnupro"> + <type name="character" length="6"/> + <comment><![CDATA[Compte communal du propriĂŠtaire de la suf]]></comment> + </column> + <column name="gnexps"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code exonĂŠration permanente]]></comment> + </column> + <column name="drcsub"> + <type name="integer" length="0"/> + <comment><![CDATA[Roddu cadastral en valeur actualise rĂŠfĂŠrence 1980(ExprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="drcsuba"> + <type name="integer" length="0"/> + <comment><![CDATA[Roddu cadastral revalorisĂŠ en valeur du 01/01 de l'annĂŠe(ExprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="ccostn"> + <type name="character" length="1"/> + <comment><![CDATA[SĂŠrie-tarif (A Ă Z, sauf I, O, Q)]]></comment> + </column> + <column name="cgrnum"> + <type name="character" length="2"/> + <comment><![CDATA[Groupe de nature de culture ]]></comment> + </column> + <column name="dsgrpf"> + <type name="character varying" length="2"/> + <comment><![CDATA[Sous-groupe alphabĂŠtique]]></comment> + </column> + <column name="dclssf"> + <type name="character" length="2"/> + <comment><![CDATA[Classe dans le groupe et la sĂŠrie-tarif]]></comment> + </column> + <column name="cnatsp"> + <type name="character varying" length="5"/> + <comment><![CDATA[code nature de culture spĂŠciale]]></comment> + </column> + <column name="drgpos"> + <type name="character" length="1"/> + <comment><![CDATA[Top terrain constructible]]></comment> + </column> + <column name="ccoprel"> + <type name="character varying" length="3"/> + <comment><![CDATA[PrĂŠfixe de la parcelle identifiant le lot]]></comment> + </column> + <column name="ccosecl"> + <type name="character varying" length="2"/> + <comment><![CDATA[Section de la parcelle identifiant le lot]]></comment> + </column> + <column name="dnuplal"> + <type name="character varying" length="4"/> + <comment><![CDATA[N° de plan de la parcelle de rĂŠfĂŠrence]]></comment> + </column> + <column name="dnupdl"> + <type name="character varying" length="3"/> + <comment><![CDATA[NumĂŠro d ordre de la pdl (en gĂŠnĂŠral, 001)]]></comment> + </column> + <column name="dnulot"> + <type name="character varying" length="7"/> + <comment><![CDATA[NumĂŠro du lot - Le lot de BND se prĂŠsente sous la forme 00Axxxx]]></comment> + </column> + <column name="gnidom"> + <type name="character varying" length="1"/> + <comment><![CDATA[Indicateur de suf non imposable(* ou blanc)]]></comment> + </column> + <column name="topja"> + <type name="character varying" length="1"/> + <comment><![CDATA[Indicateur jeune agriculteur(J ou blanc)]]></comment> + </column> + <column name="datja"> + <type name="character varying" length="8"/> + <comment><![CDATA[Date d'installation jeune agriculteur(peut ĂŞtre servie si topja = J)]]></comment> + </column> + <column name="postel"> + <type name="character varying" length="1"/> + <comment><![CDATA[Indicateur de bien appartenant Ă la Poste(X ou blanc)]]></comment> + </column> + <column name="kpdl"> + <type name="character" length="18"/> + <comment><![CDATA[(id_com+ccoprel+ccosecl+dnuplal+dnupdl)]]></comment> + </column> + <column name="id_dnupro" not-null="true"> + <type name="character" length="11"/> + <comment><![CDATA[(id_com+dnupro)]]></comment> + </column> + <column name="ccortar"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune origine du tarif]]></comment> + </column> + <constraint name="nb_21_suf_descr_pkey" type="pk-constr" table="s_majic.nb_21_suf_descr"> + <columns names="id_suf" ref-type="src-columns"/> + </constraint> +</table> + +<table name="nb_30_suf_exo" layer="0" collapse-mode="1" max-obj-count="26"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[ExonĂŠration de subdivision fiscale]]></comment> + <position x="3580" y="400"/> + <column name="rnuexn" not-null="true"> + <type name="character" length="2"/> + <comment><![CDATA[NumĂŠro d ordre d'exonĂŠration temporaire(01 Ă 04)]]></comment> + </column> + <column name="id_suf" not-null="true"> + <type name="character varying" length="16"/> + <comment><![CDATA[(id_par+ccosub sur 2 char)]]></comment> + </column> + <column name="id_par" not-null="true"> + <type name="character" length="14"/> + <comment><![CDATA[Identifiant de la parcelle(ccodep+ ccocom+ ccopre+ ccosec+ dnupla)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE ou DGI d'arrondissement]]></comment> + </column> + <column name="ccopre"> + <type name="character" length="3"/> + <comment><![CDATA[PrĂŠfixe de section ou quartier servi pour les communes associĂŠes, &des1.]]></comment> + </column> + <column name="ccosec"> + <type name="character varying" length="2"/> + <comment><![CDATA[Section cadastrale]]></comment> + </column> + <column name="dnupla"> + <type name="character varying" length="4"/> + <comment><![CDATA[NumĂŠro de plan (format ÂŤ 0000 Âť)]]></comment> + </column> + <column name="ccosub"> + <type name="character varying" length="2"/> + <comment><![CDATA[Lettres indicatives de suf]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement (30)]]></comment> + </column> + <column name="vecexn"> + <type name="integer" length="0"/> + <comment><![CDATA[Montant de VL sur lequel porte l'exonĂŠration(en centimes d'Euros)]]></comment> + </column> + <column name="ccolloc"> + <type name="character varying" length="2"/> + <comment><![CDATA[CollectivitĂŠ accordant l'exonĂŠration]]></comment> + </column> + <column name="pexn"> + <type name="character" length="5"/> + <comment><![CDATA[Pourcentage d'exonĂŠration (100)]]></comment> + </column> + <column name="gnexts"> + <type name="character" length="2"/> + <comment><![CDATA[Code d'exonĂŠration temporaire]]></comment> + </column> + <column name="rcexnba"> + <type name="integer" length="0"/> + <comment><![CDATA[Revenu cadastral exonĂŠrĂŠ, en valeur de l'annĂŠe(ExprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="jfinex"> + <type name="character" length="4"/> + <comment><![CDATA[AnnĂŠe de retour Ă imposition(Ă blanc)]]></comment> + </column> + <column name="jandeb"> + <type name="character" length="4"/> + <comment><![CDATA[AnnĂŠe de dĂŠbut d'exonĂŠration(Ă blanc)]]></comment> + </column> + <constraint name="nb_30_suf_exo_pkey" type="pk-constr" table="s_majic.nb_30_suf_exo"> + <columns names="rnuexn,id_suf" ref-type="src-columns"/> + </constraint> +</table> + +<table name="nb_36_suf_tax" layer="0" collapse-mode="1" max-obj-count="25"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Taxation de subdivision fiscale]]></comment> + <position x="3080" y="400"/> + <column name="id_suf" not-null="true"> + <type name="character varying" length="16"/> + <comment><![CDATA[(id_par+ccosub)]]></comment> + </column> + <column name="id_par" not-null="true"> + <type name="character" length="14"/> + <comment><![CDATA[Identifiant de la parcelle(ccodep+ ccocom+ ccopre+ ccosec+ dnupla)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE ou DGI d'arrondissement]]></comment> + </column> + <column name="ccopre"> + <type name="character" length="3"/> + <comment><![CDATA[PrĂŠfixe de section ou quartier servi pour les communes associĂŠes, &des1.]]></comment> + </column> + <column name="ccosec"> + <type name="character varying" length="2"/> + <comment><![CDATA[Section cadastrale]]></comment> + </column> + <column name="dnupla"> + <type name="character varying" length="4"/> + <comment><![CDATA[NumĂŠro de plan (format ÂŤ 0000 Âť)]]></comment> + </column> + <column name="ccosub"> + <type name="character varying" length="2"/> + <comment><![CDATA[Lettres indicatives de suf]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement (36)]]></comment> + </column> + <column name="majposa1"> + <type name="integer" length="0"/> + <comment><![CDATA[Montant de la majoration terrain constructible. Servi pour la part communale. Toujours Ă zĂŠro pour autres collectivitĂŠs.(exprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="bisufad1"> + <type name="integer" length="0"/> + <comment><![CDATA[Base d'imposition de la suf en valeur de l'annĂŠe(exprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="majposa2"> + <type name="integer" length="0"/> + <comment><![CDATA[Montant de la majoration terrain constructible. Servi pour la part communale. Toujours Ă zĂŠro pour autres collectivitĂŠs.(exprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="bisufad2"> + <type name="integer" length="0"/> + <comment><![CDATA[Base d'imposition de la suf en valeur de l'annĂŠe(exprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="majposa3"> + <type name="integer" length="0"/> + <comment><![CDATA[Montant de la majoration terrain constructible. Servi pour la part communale. Toujours Ă zĂŠro pour autres collectivitĂŠs.(exprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="bisufad3"> + <type name="integer" length="0"/> + <comment><![CDATA[Base d'imposition de la suf en valeur de l'annĂŠe(exprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="majposa4"> + <type name="integer" length="0"/> + <comment><![CDATA[Montant de la majoration terrain constructible. Servi pour la part communale. Toujours Ă zĂŠro pour autres collectivitĂŠs.(exprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="bisufad4"> + <type name="integer" length="0"/> + <comment><![CDATA[Base d'imposition de la suf en valeur de l'annĂŠe(exprimĂŠ en centimes d'Euros)]]></comment> + </column> + <column name="cntmajtc"> + <type name="integer" length="0"/> + <comment><![CDATA[Nouvelle contenance suf pour calcul Majoration TC]]></comment> + </column> + <constraint name="nb_36_suf_tax_pkey" type="pk-constr" table="s_majic.nb_36_suf_tax"> + <columns names="id_suf" ref-type="src-columns"/> + </constraint> +</table> + +<index name="IND_nb_10_parcelle_dnupro" table="s_majic.nb_10_parcelle" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dnupro"/> + </idxelement> +</index> + +<index name="IND_nb_10_parcelle_id_com" table="s_majic.nb_10_parcelle" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_nb_10_parcelle_id_com_ccosec_dparpi" table="s_majic.nb_10_parcelle" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="ccosec"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="dparpi"/> + </idxelement> +</index> + +<index name="IND_nb_10_parcelle_id_com_id_voie" table="s_majic.nb_10_parcelle" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="id_voie"/> + </idxelement> +</index> + +<index name="IND_nb_10_parcelle_id_com_id_voie_dnvoiri" table="s_majic.nb_10_parcelle" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="id_voie"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="dnvoiri"/> + </idxelement> +</index> + +<index name="IND_nb_10_parcelle_id_dnupro" table="s_majic.nb_10_parcelle" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_dnupro"/> + </idxelement> +</index> + +<index name="IND_nb_10_parcelle_id_voie" table="s_majic.nb_10_parcelle" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_voie"/> + </idxelement> +</index> + +<index name="IND_nb_10_parcelle_id_par" table="s_majic.nb_10_parcelle" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_par"/> + </idxelement> +</index> + +<index name="IND_nb_10_parcelle_dnvoiri" table="s_majic.nb_10_parcelle" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dnvoiri"/> + </idxelement> +</index> + +<index name="IND_nb_10_parcelle_dnupla" table="s_majic.nb_10_parcelle" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dnupla"/> + </idxelement> +</index> + +<index name="IND_nb_21_suf_descr_id_com" table="s_majic.nb_21_suf_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_nb_21_suf_descr_klot" table="s_majic.nb_21_suf_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="klot"/> + </idxelement> +</index> + +<index name="IND_nb_21_suf_descr_id_par" table="s_majic.nb_21_suf_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_par"/> + </idxelement> +</index> + +<index name="IND_nb_21_suf_descr_dnupro" table="s_majic.nb_21_suf_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dnupro"/> + </idxelement> +</index> + +<index name="IND_nb_30_suf_exo_id_com" table="s_majic.nb_30_suf_exo" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_nb_36_suf_tax_id_com" table="s_majic.nb_36_suf_tax" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_nb_21_suf_descr_dsgrpf" table="s_majic.nb_21_suf_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="dsgrpf"/> + </idxelement> +</index> + +<index name="IND_nb_21_suf_descr_id_suf" table="s_majic.nb_21_suf_descr" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_suf"/> + </idxelement> +</index> + +<index name="IND_nb_30_suf_exo_id_suf_rnuexn" table="s_majic.nb_30_suf_exo" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_suf"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="rnuexn"/> + </idxelement> +</index> + +<index name="IND_nb_30_suf_exo_id_suf" table="s_majic.nb_30_suf_exo" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_suf"/> + </idxelement> +</index> + +<relationship name="tc_dsgrpf_sousgroupe_suf_has_many_nb_21_suf_descr" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_dsgrpf_sousgroupe_suf" + dst-table="s_majic.nb_21_suf_descr" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="375.422" y="-57.2451"/> + </label> +</relationship> + +<relationship name="tc_gnexps_exoneration_permanente_has_many_nb_21_suf_descr" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_gnexps_exoneration_permanente" + dst-table="s_majic.nb_21_suf_descr" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="368.931" y="154.202"/> + </label> +</relationship> + +<relationship name="tc_cnatsp_code_nature_culture_speciale_has_many_nb_21_suf_descr" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_cnatsp_code_nature_culture_speciale" + dst-table="s_majic.nb_21_suf_descr" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="354.545" y="9.49812"/> + </label> +</relationship> + +<relationship name="tc_cgrnum_groupe_numerique_has_many_nb_21_suf_descr" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_cgrnum_groupe_numerique" + dst-table="s_majic.nb_21_suf_descr" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="330.867" y="-7.82763"/> + </label> +</relationship> + +<relationship name="nb_21_suf_descr_has_many_nb_36_suf_tax" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.nb_21_suf_descr" + dst-table="s_majic.nb_36_suf_tax" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="164.314" y="246.189"/> + </label> +</relationship> + +<relationship name="nb_21_suf_descr_has_many_nb_30_suf_exo" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.nb_21_suf_descr" + dst-table="s_majic.nb_30_suf_exo" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-224.807" y="256.389"/> + </label> +</relationship> + +<relationship name="tc_gnexts_nature_exoneration_temporaire_has_many_nb_30_suf_exo" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_gnexts_nature_exoneration_temporaire" + dst-table="s_majic.nb_30_suf_exo" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-370.384" y="42.5312"/> + </label> +</relationship> + +<relationship name="nb_10_parcelle_has_many_nb_21_suf_descr" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.nb_10_parcelle" + dst-table="s_majic.nb_21_suf_descr" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-441.819" y="-16.1982"/> + </label> +</relationship> + +<relationship name="tc_ccolloc_collectivite_has_many_nb_30_suf_exo" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_ccolloc_collectivite" + dst-table="s_majic.nb_30_suf_exo" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-476.319" y="-13.8837"/> + </label> +</relationship> + +<permission> + <object name="s_majic" type="schema"/> + <roles names="u_vitis"/> + <privileges create="true" usage="true"/> +</permission> +</dbmodel> diff --git a/Diagrammes_UML_pgModeler/majic_pdl_lots.dbm b/Diagrammes_UML_pgModeler/majic_pdl_lots.dbm new file mode 100644 index 0000000000000000000000000000000000000000..11639e04c862d1eaa4532b84ea5c197597d7965e --- /dev/null +++ b/Diagrammes_UML_pgModeler/majic_pdl_lots.dbm @@ -0,0 +1,389 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +CAUTION: Do not modify this file unless you know what you are doing. + Unexpected results may occur if the code is changed deliberately. +--> +<dbmodel pgmodeler-ver="0.9.2_snapshot20191127" last-position="2738,1479" last-zoom="0.8" max-obj-count="4" + default-schema="public" default-owner="postgres"> +<role name="u_vitis" + createrole="true" + inherit="true" + login="true" + encrypted="true" + password="********"> + <roles names="postgres" role-type="member" /> +</role> + +<database name="vmap_353" encoding="UTF8" connlimit="1" lc-collate="French_France.1252" lc-ctype="French_France.1252" is-template="false" allow-conns="true"> + <role name="postgres"/> + <tablespace name="pg_default"/> +</database> + +<tag name="Table de correspondance"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#eb9d00,#eb9d00,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#eb9d00,#eb9d00,#ca8700"/> +</tag> +<tag name="Table dĂŠprĂŠciĂŠe"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#000000,#000000,#000000"/> +</tag> +<schema name="public" layer="0" rect-visible="true" fill-color="#e1e1e1" sql-disabled="true"> +</schema> + +<schema name="s_majic" layer="0" rect-visible="true" fill-color="#d9d9d9"> + <role name="u_vitis"/> +</schema> + +<table name="tc_cconlo_nature_lot" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Nature du lot]]></comment> + <tag name="Table de correspondance"/> + <position x="3540" y="2340"/> + <column name="cconlo" not-null="true"> + <type name="character varying" length="1"/> + <comment><![CDATA[Code nature du lot]]></comment> + </column> + <column name="l_cconlo"> + <type name="character varying" length="20"/> + <comment><![CDATA[LibellĂŠ nature du lot]]></comment> + </column> + <constraint name="tc_cconlo_nature_lot_pkey" type="pk-constr" table="s_majic.tc_cconlo_nature_lot"> + <columns names="cconlo" ref-type="src-columns"/> + </constraint> +</table> + +<table name="pdl_10_descr_pdl" layer="0" collapse-mode="1" max-obj-count="22"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif PDL]]></comment> + <position x="3980" y="2140"/> + <column name="kpdl" not-null="true"> + <type name="character" length="18"/> + <comment><![CDATA[ClĂŠ de la pdl(ccodep+ccodir+ccocom+ccopre+ccosec+dnupla+dnupdl)]]></comment> + </column> + <column name="id_par" not-null="true"> + <type name="character" length="14"/> + <comment><![CDATA[Identifiant de la parcelle de rĂŠfĂŠrence(ccodep+ccocom+ccopre+ccosec+dnupla)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[Identifiant de la commune(ccodep+ccocom)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code de dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code de direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE]]></comment> + </column> + <column name="ccopre"> + <type name="character" length="3"/> + <comment><![CDATA[Code du prĂŠfixe]]></comment> + </column> + <column name="ccosec"> + <type name="character varying" length="2"/> + <comment><![CDATA[Lettres de section]]></comment> + </column> + <column name="dnupla"> + <type name="character varying" length="4"/> + <comment><![CDATA[NumĂŠro de plan(format "0000")]]></comment> + </column> + <column name="dnupdl"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro de pdl]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement(10)]]></comment> + </column> + <column name="dnivim"> + <type name="character varying" length="1"/> + <comment><![CDATA[Niveau imbrication]]></comment> + </column> + <column name="ctpdl"> + <type name="character varying" length="3"/> + <comment><![CDATA[Type de pdl(bnd, cl, cv, tf...)]]></comment> + </column> + <column name="dnompdl"> + <type name="character varying" length="30"/> + <comment><![CDATA[Nom de la PDL]]></comment> + </column> + <column name="dmrpdl"> + <type name="character varying" length="20"/> + <comment><![CDATA[Lot mère (plan+pdl+lot)]]></comment> + </column> + <column name="grpmut"> + <type name="character" length="1"/> + <comment><![CDATA[Top 1ère mut effectuĂŠe]]></comment> + </column> + <column name="dnupro"> + <type name="character" length="6"/> + <comment><![CDATA[Compte de la pdl]]></comment> + </column> + <column name="ccocif"> + <type name="character" length="4"/> + <comment><![CDATA[Code cdif]]></comment> + </column> + <column name="id_dnupro" not-null="true"> + <type name="character" length="11"/> + <comment><![CDATA[(id_com+dnupro)]]></comment> + </column> + <constraint name="pdl_10_descr_pdl_pkey" type="pk-constr" table="s_majic.pdl_10_descr_pdl"> + <columns names="kpdl" ref-type="src-columns"/> + </constraint> +</table> + +<table name="pdl_20_assise_pdl" layer="0" collapse-mode="1" max-obj-count="22"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Assise de PDL]]></comment> + <position x="4340" y="1880"/> + <column name="kass" not-null="true"> + <type name="character" length="14"/> + <comment><![CDATA[Identifiant parcelle d'assise(ccodep+ccodir+ccocom+ccoprea+ccoseca+dnuplaa)]]></comment> + </column> + <column name="kpdl" not-null="true"> + <type name="character" length="18"/> + <comment><![CDATA[ClĂŠ de la pdl(ccodep+ccodir+ccocom+ccopre+ccosec+dnupla+dnupdl)]]></comment> + </column> + <column name="id_par" not-null="true"> + <type name="character" length="14"/> + <comment><![CDATA[Identifiant de la parcelle de rĂŠfĂŠrence(ccodep+ccocom+ccopre+ccosec+dnupla)]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[Identifiant de la commune(ccodep+ccocom)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code de dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[Code de direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[Code commune INSEE]]></comment> + </column> + <column name="ccopre"> + <type name="character" length="3"/> + <comment><![CDATA[Code du prĂŠfixe]]></comment> + </column> + <column name="ccosec"> + <type name="character varying" length="2"/> + <comment><![CDATA[Lettres de section]]></comment> + </column> + <column name="dnupla"> + <type name="character" length="4"/> + <comment><![CDATA[NumĂŠro de plan - numĂŠro de parcelle(format "0000")]]></comment> + </column> + <column name="dnupdl"> + <type name="character" length="3"/> + <comment><![CDATA[NumĂŠro de pdl]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement(20)]]></comment> + </column> + <column name="ccoprea"> + <type name="character varying" length="3"/> + <comment><![CDATA[Code du prĂŠfixe]]></comment> + </column> + <column name="ccoseca"> + <type name="character" length="2"/> + <comment><![CDATA[Lettres de section]]></comment> + </column> + <column name="dnuplaa"> + <type name="character" length="4"/> + <comment><![CDATA[NumĂŠro de plan]]></comment> + </column> + <column name="ccocif"> + <type name="character" length="4"/> + <comment><![CDATA[Code cdif]]></comment> + </column> + <column name="id_sec" not-null="true"> + <type name="character" length="10"/> + <comment><![CDATA[Identifiant section]]></comment> + </column> + <constraint name="pdl_20_assise_pdl_PKEY" type="pk-constr" table="s_majic.pdl_20_assise_pdl"> + <columns names="kpdl,kass" ref-type="src-columns"/> + </constraint> +</table> + +<table name="pdl_30_descr_lot" layer="0" collapse-mode="1" max-obj-count="21"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif du lot]]></comment> + <position x="3480" y="1880"/> + <column name="klot" not-null="true"> + <type name="character" length="25"/> + <comment><![CDATA[Identifiant du lot(kpdl+dnulot)]]></comment> + </column> + <column name="kpdl"> + <type name="character" length="18"/> + <comment><![CDATA[Identifiant pdl]]></comment> + </column> + <column name="dnulot"> + <type name="character" length="7"/> + <comment><![CDATA[NumĂŠro de lot]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[Code dĂŠpartement]]></comment> + </column> + <column name="cenr"> + <type name="character" length="2"/> + <comment><![CDATA[Code enregistrement]]></comment> + </column> + <column name="cconlo"> + <type name="character" length="1"/> + <comment><![CDATA[Code nature du lot]]></comment> + </column> + <column name="dcntlo"> + <type name="integer" length="0"/> + <comment><![CDATA[Superficie du lot]]></comment> + </column> + <column name="dnumql"> + <type name="integer" length="0"/> + <comment><![CDATA[NumĂŠrateur]]></comment> + </column> + <column name="ddenql"> + <type name="integer" length="0"/> + <comment><![CDATA[DĂŠnominateur]]></comment> + </column> + <column name="dfilot"> + <type name="character varying" length="20"/> + <comment><![CDATA[pdl-fille du lot]]></comment> + </column> + <column name="datact"> + <type name="character varying" length="8"/> + <comment><![CDATA[Date de l'acte]]></comment> + </column> + <column name="dnuprol"> + <type name="character" length="6"/> + <comment><![CDATA[Compte du lot]]></comment> + </column> + <column name="dreflf"> + <type name="character varying" length="5"/> + <comment><![CDATA[RĂŠfĂŠrence livre foncier]]></comment> + </column> + <column name="ccocif"> + <type name="character" length="4"/> + <comment><![CDATA[Code cdif]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[Identifiant de la commune(ccodep+ccocom)]]></comment> + </column> + <column name="id_dnupro" not-null="true"> + <type name="character" length="11"/> + <comment><![CDATA[(id_com+dnuprol)]]></comment> + </column> + <constraint name="pdl_30_descr_lot_pkey" type="pk-constr" table="s_majic.pdl_30_descr_lot"> + <columns names="klot" ref-type="src-columns"/> + </constraint> +</table> + +<index name="IND_pdl_10_descr_pdl_id_com" table="s_majic.pdl_10_descr_pdl" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_pdl_20_assise_pdl_id_com" table="s_majic.pdl_20_assise_pdl" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_pdl_30_descr_lot_klot" table="s_majic.pdl_30_descr_lot" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="klot"/> + </idxelement> +</index> + +<index name="IND_pdl_30_descr_lot_id_com" table="s_majic.pdl_30_descr_lot" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<relationship name="pdl_10_descr_pdl_has_many_pdl_30_descr_lot" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.pdl_10_descr_pdl" + dst-table="s_majic.pdl_30_descr_lot" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-242.569" y="-49.9674"/> + </label> +</relationship> + +<relationship name="pdl_30_descr_lot_has_many_pdl_20_assise_pdl" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.pdl_30_descr_lot" + dst-table="s_majic.pdl_20_assise_pdl" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="17.9309" y="205.797"/> + </label> +</relationship> + +<relationship name="tc_cconlo_nature_lot_has_many_pdl_30_descr_lot" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_cconlo_nature_lot" + dst-table="s_majic.pdl_30_descr_lot" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-7.39692" y="-184.411"/> + </label> +</relationship> + +<relationship name="pdl_10_descr_pdl_has_many_pdl_20_assise_pdl" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.pdl_10_descr_pdl" + dst-table="s_majic.pdl_20_assise_pdl" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="232.181" y="-37.2949"/> + </label> +</relationship> + +<permission> + <object name="s_majic" type="schema"/> + <roles names="u_vitis"/> + <privileges create="true" usage="true"/> +</permission> +</dbmodel> diff --git a/Diagrammes_UML_pgModeler/majic_proprietaires.dbm b/Diagrammes_UML_pgModeler/majic_proprietaires.dbm new file mode 100644 index 0000000000000000000000000000000000000000..86ddd4f0fe4aa40748956674ed95f48cda1e41ea --- /dev/null +++ b/Diagrammes_UML_pgModeler/majic_proprietaires.dbm @@ -0,0 +1,691 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +CAUTION: Do not modify this file unless you know what you are doing. + Unexpected results may occur if the code is changed deliberately. +--> +<dbmodel pgmodeler-ver="0.9.2_snapshot20191127" last-position="724,930" last-zoom="0.45" max-obj-count="14" + default-schema="public" default-owner="postgres"> +<role name="u_vitis" + createrole="true" + inherit="true" + login="true" + encrypted="true" + password="********"> + <roles names="postgres" role-type="member" /> +</role> + +<database name="vmap_353" encoding="UTF8" connlimit="1" lc-collate="French_France.1252" lc-ctype="French_France.1252" is-template="false" allow-conns="true"> + <role name="postgres"/> + <tablespace name="pg_default"/> +</database> + +<tag name="Table de correspondance"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#eb9d00,#eb9d00,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#eb9d00,#eb9d00,#ca8700"/> +</tag> +<tag name="Table dĂŠprĂŠciĂŠe"> + <style id="table-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-ext-body" colors="#fcfcfc,#fcfcfc,#808080"/> + <style id="table-name" colors="#ffffff"/> + <style id="table-schema-name" colors="#ffffff"/> + <style id="table-title" colors="#000000,#000000,#000000"/> +</tag> +<schema name="public" layer="0" rect-visible="true" fill-color="#e1e1e1" sql-disabled="true"> +</schema> + +<schema name="s_majic" layer="0" rect-visible="true" fill-color="#d9d9d9"> + <role name="u_vitis"/> +</schema> + +<table name="tc_ccodem_nature_demembrement" layer="0" collapse-mode="1" pagination="true" attribs-page="0" ext-attribs-page="0" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[DĂŠmembrement Indivision]]></comment> + <tag name="Table de correspondance"/> + <position x="3480" y="3000"/> + <column name="ccodem" not-null="true"> + <type name="character varying" length="1"/> + </column> + <column name="l_ccodem"> + <type name="character varying" length="60"/> + </column> + <constraint name="tc_ccodem_nature_demembrement_pkey" type="pk-constr" table="s_majic.tc_ccodem_nature_demembrement"> + <columns names="ccodem" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_ccodro_code_droit" layer="0" collapse-mode="1" pagination="true" attribs-page="0" ext-attribs-page="0" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Droit]]></comment> + <tag name="Table de correspondance"/> + <position x="2280" y="2180"/> + <column name="ccodro" not-null="true"> + <type name="character varying" length="1"/> + </column> + <column name="l_ccodro"> + <type name="character varying" length="90"/> + </column> + <constraint name="tc_ccodro_code_droit_pkey" type="pk-constr" table="s_majic.tc_ccodro_code_droit"> + <columns names="ccodro" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_ccogrm_groupe_personne_morale" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Groupe de personne morale]]></comment> + <tag name="Table de correspondance"/> + <position x="2260" y="2580"/> + <column name="ccogrm" not-null="true"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code groupe de personne morale]]></comment> + </column> + <column name="l_ccogrm"> + <type name="character varying" length="200"/> + <comment><![CDATA[LibellĂŠ groupe de personne morale]]></comment> + </column> + <constraint name="tc_ccogrm_groupe_personne_morale_pkey" type="pk-constr" table="s_majic.tc_ccogrm_groupe_personne_morale"> + <columns names="ccogrm" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_ccoqua_code_qualite" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[QualitĂŠ de personne physique]]></comment> + <tag name="Table de correspondance"/> + <position x="2380" y="1920"/> + <column name="ccoqua" not-null="true"> + <type name="character varying" length="1"/> + </column> + <column name="l_ccoqua"> + <type name="character varying" length="15"/> + </column> + <constraint name="tc_ccoqua_code_qualite_pkey" type="pk-constr" table="s_majic.tc_ccoqua_code_qualite"> + <columns names="ccoqua" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_dnatpr_nature_personne" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Nature de la personne]]></comment> + <tag name="Table de correspondance"/> + <position x="2260" y="2400"/> + <column name="dnatpr" not-null="true"> + <type name="character varying" length="3"/> + <comment><![CDATA[Code nature de la personne]]></comment> + </column> + <column name="l_dnatpr"> + <type name="character varying" length="50"/> + <comment><![CDATA[LibellĂŠ nature de la personne]]></comment> + </column> + <constraint name="tc_dnatpr_nature_personne_pkey" type="pk-constr" table="s_majic.tc_dnatpr_nature_personne"> + <columns names="dnatpr" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_gtoper_type_personne" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Type personne]]></comment> + <tag name="Table de correspondance"/> + <position x="3500" y="2700"/> + <column name="gtoper" not-null="true"> + <type name="character varying" length="1"/> + </column> + <column name="l_gtoper"> + <type name="character varying" length="15"/> + </column> + <constraint name="tc_gtoper_type_personne_pkey" type="pk-constr" table="s_majic.tc_gtoper_type_personne"> + <columns names="gtoper" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_gtype3_dlign3_signification" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Première ligne d'adresse ou complĂŠment d'adresse]]></comment> + <tag name="Table de correspondance"/> + <position x="3420" y="2000"/> + <column name="gtype3" not-null="true"> + <type name="character varying" length="1"/> + <comment><![CDATA[Code première ligne d'adresse ou complĂŠment d'adresse]]></comment> + </column> + <column name="l_gtype3"> + <type name="character varying" length="40"/> + <comment><![CDATA[LibellĂŠ première ligne d'adresse ou complĂŠment d'adresse]]></comment> + </column> + <constraint name="tc_gtype3_dlign3_signification_pkey" type="pk-constr" table="s_majic.tc_gtype3_dlign3_signification"> + <columns names="gtype3" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_gtype4_dlign4_signification" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Ligne d'adresse indiquant la voie et la voirie]]></comment> + <tag name="Table de correspondance"/> + <position x="2300" y="2860"/> + <column name="gtype4" not-null="true"> + <type name="character varying" length="1"/> + <comment><![CDATA[Code ligne d'adresse indiquant la voie et la voirie]]></comment> + </column> + <column name="l_gtype4"> + <type name="character varying" length="40"/> + <comment><![CDATA[LibellĂŠ ligne d'adresse indiquant la voie et la voirie]]></comment> + </column> + <constraint name="tc_gtype4_dlign4_signification_pkey" type="pk-constr" table="s_majic.tc_gtype4_dlign4_signification"> + <columns names="gtype4" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_gtype5_dlign5_signification" layer="0" collapse-mode="1" pagination="true" attribs-page="0" ext-attribs-page="0" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Ligne complĂŠment concernant la commune]]></comment> + <tag name="Table de correspondance"/> + <position x="2420" y="3120"/> + <column name="gtype5" not-null="true"> + <type name="character varying" length="1"/> + <comment><![CDATA[Code ligne complĂŠment concernant la commune]]></comment> + </column> + <column name="l_gtype5"> + <type name="character varying" length="45"/> + <comment><![CDATA[LibellĂŠ ligne complĂŠment concernant la commune]]></comment> + </column> + <constraint name="tc_gtype5_dlign5_signification_pkey" type="pk-constr" table="s_majic.tc_gtype5_dlign5_signification"> + <columns names="gtype5" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_gtype6_dlign6_signification" layer="0" collapse-mode="1" pagination="true" attribs-page="0" ext-attribs-page="0" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Ligne du code postal]]></comment> + <tag name="Table de correspondance"/> + <position x="3480" y="2300"/> + <column name="gtype6" not-null="true"> + <type name="character varying" length="1"/> + <comment><![CDATA[Code ligne du code postal]]></comment> + </column> + <column name="l_gtype6"> + <type name="character varying" length="60"/> + <comment><![CDATA[LibellĂŠ ligne du code postal]]></comment> + </column> + <constraint name="tc_gtype6_dlign6_signification_pkey" type="pk-constr" table="s_majic.tc_gtype6_dlign6_signification"> + <columns names="gtype6" ref-type="src-columns"/> + </constraint> +</table> + +<table name="tc_dforme_forme_juridique" layer="0" collapse-mode="1" max-obj-count="2"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Forme juridique]]></comment> + <tag name="Table de correspondance"/> + <position x="3500" y="2520"/> + <column name="dforme" not-null="true"> + <type name="character varying" length="4"/> + <comment><![CDATA[Code forme juridique]]></comment> + </column> + <column name="l_dforme"> + <type name="character varying" length="155"/> + <comment><![CDATA[LibellĂŠ forme juridique]]></comment> + </column> + <constraint name="tc_dforme_forme_juridique_pkey" type="pk-constr" table="s_majic.tc_dforme_forme_juridique"> + <columns names="dforme" ref-type="src-columns"/> + </constraint> +</table> + +<table name="proprietaire" layer="0" collapse-mode="1" max-obj-count="78"> + <schema name="s_majic"/> + <role name="u_vitis"/> + <comment><![CDATA[Descriptif des propriĂŠtaires]]></comment> + <position x="2780" y="1900"/> + <column name="id_dnupro" not-null="true"> + <type name="character" length="11"/> + <comment><![CDATA[Identifiant national de compte communal.(id_com+dnupro)]]></comment> + </column> + <column name="id_pro" not-null="true"> + <type name="character" length="9"/> + <comment><![CDATA[Identifiant national d'un compte de propriĂŠtaire.(ccodep+ccodir+dnuper (depuis majiciii, v.1.5.0))]]></comment> + </column> + <column name="id_com" not-null="true"> + <type name="character" length="5"/> + <comment><![CDATA[(ccodep+ccocom)]]></comment> + </column> + <column name="ccodep"> + <type name="character" length="2"/> + <comment><![CDATA[code dĂŠpartement]]></comment> + </column> + <column name="ccodir"> + <type name="character" length="1"/> + <comment><![CDATA[code direction]]></comment> + </column> + <column name="ccocom"> + <type name="character" length="3"/> + <comment><![CDATA[code commune INSEE]]></comment> + </column> + <column name="dnupro"> + <type name="character" length="6"/> + <comment><![CDATA[compte communal]]></comment> + </column> + <column name="cgroup"> + <type name="character" length="1"/> + <comment><![CDATA[groupe de compte communal (+ * A B ..)]]></comment> + </column> + <column name="dnumcp"> + <type name="character" length="5"/> + <comment><![CDATA[numĂŠro d'ordre de compte]]></comment> + </column> + <column name="dnulp"> + <type name="character" length="2"/> + <comment><![CDATA[numĂŠro de libellĂŠ partiel (01 Ă 06)]]></comment> + </column> + <column name="ccocif"> + <type name="character" length="4"/> + <comment><![CDATA[code cdif]]></comment> + </column> + <column name="dnuper"> + <type name="character" length="6"/> + <comment><![CDATA[numĂŠro de personne dans le cdif(Au format Majic III (unique par dĂŠpartement))]]></comment> + </column> + <column name="ccodro" not-null="true"> + <type name="character" length="1"/> + <comment><![CDATA[code du droit rĂŠel ou parti- culier]]></comment> + </column> + <column name="ccodem"> + <type name="character" length="1"/> + <comment><![CDATA[code du dĂŠmembrement/indivision]]></comment> + </column> + <column name="gdesip"> + <type name="character" length="1"/> + <comment><![CDATA[indicateur du destinataire de l'avis d'imposition(1 = oui, 0 = non)]]></comment> + </column> + <column name="gtoper"> + <type name="character varying" length="1"/> + <comment><![CDATA[indicateur de personne physique ou morale(1 = physique 2 = morale)]]></comment> + </column> + <column name="ccoqua"> + <type name="character" length="1"/> + <comment><![CDATA[Code qualitĂŠ de personne physique]]></comment> + </column> + <column name="dnatpr"> + <type name="character varying" length="3"/> + <comment><![CDATA[Code nature de personne physique ou morale]]></comment> + </column> + <column name="ccogrm"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code groupe de personne morale]]></comment> + </column> + <column name="dsglpm"> + <type name="character varying" length="10"/> + <comment><![CDATA[sigle de personne morale]]></comment> + </column> + <column name="dforme"> + <type name="character" length="4"/> + <comment><![CDATA[forme juridique abrĂŠgĂŠe majic2]]></comment> + </column> + <column name="ddenom"> + <type name="character varying" length="60"/> + <comment><![CDATA[DĂŠnomination de personne physique ou morale]]></comment> + </column> + <column name="gtype3"> + <type name="character" length="1"/> + <comment><![CDATA[type de la 3eme ligne d'adresse]]></comment> + </column> + <column name="gtype4"> + <type name="character" length="1"/> + <comment><![CDATA[Type de la 4eme ligne d'adresse]]></comment> + </column> + <column name="gtype5"> + <type name="character" length="1"/> + <comment><![CDATA[type de la 5eme ligne d'adresse]]></comment> + </column> + <column name="gtype6"> + <type name="character" length="1"/> + <comment><![CDATA[type de la 6eme ligne d'adresse]]></comment> + </column> + <column name="dlign4"> + <type name="character varying" length="36"/> + <comment><![CDATA[4eme ligne d'adresse ]]></comment> + </column> + <column name="dlign5"> + <type name="character varying" length="100"/> + <comment><![CDATA[5eme ligne d'adresse ]]></comment> + </column> + <column name="dlign3"> + <type name="character varying" length="30"/> + <comment><![CDATA[3eme ligne d'adresse ]]></comment> + </column> + <column name="dlign6"> + <type name="character varying" length="32"/> + <comment><![CDATA[6eme ligne d'adresse ]]></comment> + </column> + <column name="ccopay"> + <type name="character varying" length="3"/> + <comment><![CDATA[code de pays ĂŠtranger et TOM(non servi pour France mĂŠtropole et Dom)]]></comment> + </column> + <column name="ccodep1a2"> + <type name="character varying" length="2"/> + <comment><![CDATA[Code dĂŠpartement de l'adresse]]></comment> + </column> + <column name="ccodira"> + <type name="character varying" length="1"/> + <comment><![CDATA[Code direction de l'adresse]]></comment> + </column> + <column name="ccocomadr"> + <type name="character varying" length="3"/> + <comment><![CDATA[Code commune de l'adresse]]></comment> + </column> + <column name="ccovoi"> + <type name="character varying" length="5"/> + <comment><![CDATA[Code majic2 de la voie]]></comment> + </column> + <column name="ccoriv"> + <type name="character" length="4"/> + <comment><![CDATA[Code Rivoli de la voie]]></comment> + </column> + <column name="dnvoiri"> + <type name="character varying" length="4"/> + <comment><![CDATA[numĂŠro de voirie]]></comment> + </column> + <column name="dindic"> + <type name="character varying" length="1"/> + <comment><![CDATA[indice de rĂŠpĂŠtition de voirie]]></comment> + </column> + <column name="ccopos"> + <type name="character varying" length="5"/> + <comment><![CDATA[Code postal]]></comment> + </column> + <column name="dqualp"> + <type name="character" length="3"/> + <comment><![CDATA[QualitĂŠ abrĂŠgĂŠe (M, MME ou MLE)]]></comment> + </column> + <column name="dnomlp"> + <type name="character varying" length="30"/> + <comment><![CDATA[Nom d'usage]]></comment> + </column> + <column name="dprnlp"> + <type name="character varying" length="15"/> + <comment><![CDATA[PrĂŠnoms associĂŠs au nom d'usage]]></comment> + </column> + <column name="jdatnss"> + <type name="character" length="10"/> + <comment><![CDATA[date de naissance (sous la forme jj/mm/aaaa)]]></comment> + </column> + <column name="dldnss"> + <type name="character varying" length="58"/> + <comment><![CDATA[lieu de naissance]]></comment> + </column> + <column name="epxnee"> + <type name="character varying" length="3"/> + <comment><![CDATA[mention du complĂŠment (EPX ou NEE si complĂŠment)]]></comment> + </column> + <column name="dnomcp"> + <type name="character varying" length="30"/> + <comment><![CDATA[Nom complĂŠment]]></comment> + </column> + <column name="dprncp"> + <type name="character varying" length="15"/> + <comment><![CDATA[PrĂŠnoms associĂŠs au complĂŠment]]></comment> + </column> + <column name="dsiren"> + <type name="character varying" length="10"/> + <comment><![CDATA[numĂŠro siren]]></comment> + </column> + <column name="id_voie" not-null="true"> + <type name="character varying" length="9"/> + <comment><![CDATA[(ccodep+ccodir+ccocom+ccoriv)]]></comment> + </column> + <column name="topja"> + <type name="character varying" length="1"/> + <comment><![CDATA[Indic jeune agriculteur]]></comment> + </column> + <column name="datja"> + <type name="character varying" length="8"/> + <comment><![CDATA[Date installation jeune agriculteur]]></comment> + </column> + <column name="id_adresse"> + <type name="character" length="15"/> + <comment><![CDATA[Identifiant adresse du propriĂŠtaire(id_com+dnvoiri+dindic+ccoriv)]]></comment> + </column> + <column name="dnomus"> + <type name="character varying" length="60"/> + <comment><![CDATA[Nom dâusage]]></comment> + </column> + <column name="dprnus"> + <type name="character varying" length="40"/> + <comment><![CDATA[PrĂŠnom dâusage ]]></comment> + </column> + <constraint name="proprietaire_pkey" type="pk-constr" table="s_majic.proprietaire"> + <columns names="id_dnupro,id_pro,ccodro" ref-type="src-columns"/> + </constraint> +</table> + +<index name="IND_proprietaire_ccodem" table="s_majic.proprietaire" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="ccodem"/> + </idxelement> +</index> + +<index name="IND_proprietaire_ccodro" table="s_majic.proprietaire" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="ccodro"/> + </idxelement> +</index> + +<index name="IND_proprietaire_id_com_ddenom" table="s_majic.proprietaire" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="ddenom"/> + </idxelement> +</index> + +<index name="IND_proprietaire_id_com_dnupro" table="s_majic.proprietaire" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="dnupro"/> + </idxelement> +</index> + +<index name="IND_proprietaire_id_dnupro" table="s_majic.proprietaire" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_dnupro"/> + </idxelement> +</index> + +<index name="IND_proprietaire_id_com" table="s_majic.proprietaire" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_com"/> + </idxelement> +</index> + +<index name="IND_proprietaire_gdesip" table="s_majic.proprietaire" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="gdesip"/> + </idxelement> +</index> + +<index name="IND_proprietaire_id_dnupro_id_pro" table="s_majic.proprietaire" + concurrent="false" unique="false" fast-update="false" buffering="false" + index-type="btree" factor="90"> + <idxelement use-sorting="false"> + <column name="id_dnupro"/> + </idxelement> + <idxelement use-sorting="false"> + <column name="id_pro"/> + </idxelement> +</index> + +<relationship name="tc_ccodem_nature_demembrement_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_ccodem_nature_demembrement" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-426.072" y="-39.7887"/> + </label> +</relationship> + +<relationship name="tc_ccogrm_groupe_personne_morale_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_ccogrm_groupe_personne_morale" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="444.442" y="8.7607"/> + </label> +</relationship> + +<relationship name="tc_dnatpr_nature_personne_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_dnatpr_nature_personne" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="494.611" y="18.5841"/> + </label> +</relationship> + +<relationship name="tc_gtype5_dlign5_signification_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_gtype5_dlign5_signification" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="398.931" y="3.44046"/> + </label> +</relationship> + +<relationship name="tc_gtype4_dlign4_signification_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_gtype4_dlign4_signification" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="463.242" y="14.3378"/> + </label> +</relationship> + +<relationship name="tc_ccodro_code_droit_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_ccodro_code_droit" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="466.145" y="164.266"/> + </label> +</relationship> + +<relationship name="tc_gtoper_type_personne_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_gtoper_type_personne" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-296.848" y="-41.0246"/> + </label> +</relationship> + +<relationship name="tc_ccoqua_code_qualite_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_ccoqua_code_qualite" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="424.53" y="181.479"/> + </label> +</relationship> + +<relationship name="tc_gtype3_dlign3_signification_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_gtype3_dlign3_signification" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-394.557" y="-179.615"/> + </label> +</relationship> + +<relationship name="tc_gtype6_dlign6_signification_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_gtype6_dlign6_signification" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-333.006" y="-207.957"/> + </label> +</relationship> + +<relationship name="tc_dforme_forme_juridique_has_many_proprietaire" type="rel1n" layer="0" + src-col-pattern="{sc}_{st}" + pk-pattern="{dt}_pk" uq-pattern="{dt}_uq" + src-fk-pattern="{st}_fk" + custom-color="#000000" + src-table="s_majic.tc_dforme_forme_juridique" + dst-table="s_majic.proprietaire" + src-required="false" dst-required="false"> + <label ref-type="name-label"> + <position x="-311.569" y="-216.573"/> + </label> +</relationship> + +<permission> + <object name="s_majic" type="schema"/> + <roles names="u_vitis"/> + <privileges create="true" usage="true"/> +</permission> +</dbmodel> diff --git a/images/Modeles_de_donnees/02.vMap/01.Non-Bati.png b/images/Modeles_de_donnees/02.vMap/01.Non-Bati.png index f648c621689dafbfb16c261301e875b466a6226d..c79043221bba85037428fabd8c1f996eb1f88ad3 100644 Binary files a/images/Modeles_de_donnees/02.vMap/01.Non-Bati.png and b/images/Modeles_de_donnees/02.vMap/01.Non-Bati.png differ diff --git a/images/Modeles_de_donnees/02.vMap/02.Bati.png b/images/Modeles_de_donnees/02.vMap/02.Bati.png index eff5b5904ff7703507ebac22b128e2dbe4f52f40..09c6f3f12c83bc6caf62eb992e823d793d7c119e 100644 Binary files a/images/Modeles_de_donnees/02.vMap/02.Bati.png and b/images/Modeles_de_donnees/02.vMap/02.Bati.png differ diff --git a/images/Modeles_de_donnees/02.vMap/03.Proprietaires.png b/images/Modeles_de_donnees/02.vMap/03.Proprietaires.png index 21b2d77c7e3f6aed9f8f524e6c210b2ed8329070..b3203613a1aa44ab81a09344c8cd3774b2636c19 100644 Binary files a/images/Modeles_de_donnees/02.vMap/03.Proprietaires.png and b/images/Modeles_de_donnees/02.vMap/03.Proprietaires.png differ diff --git a/images/Modeles_de_donnees/02.vMap/04.Fantoir.png b/images/Modeles_de_donnees/02.vMap/04.Fantoir.png index 36b9bdeaa7dc75aa76675e8356bb5445cf547c57..bbfb0ddf9f45853f6e0e6f9c3fe07397558a4b14 100644 Binary files a/images/Modeles_de_donnees/02.vMap/04.Fantoir.png and b/images/Modeles_de_donnees/02.vMap/04.Fantoir.png differ diff --git a/images/Modeles_de_donnees/02.vMap/05.pdl-lots.png b/images/Modeles_de_donnees/02.vMap/05.pdl-lots.png index adc89198279b3377095dc97961f287991300f822..581cd74b99f68c00d50942b6b8db92ab7809afd4 100644 Binary files a/images/Modeles_de_donnees/02.vMap/05.pdl-lots.png and b/images/Modeles_de_donnees/02.vMap/05.pdl-lots.png differ diff --git a/images/Modeles_de_donnees/02.vMap/06.Lot-Local.png b/images/Modeles_de_donnees/02.vMap/06.Lot-Local.png index 3dd9f1dc971fd9e1bfad6dc7f89e656103f257be..f74e1f9c86522b513d40e8ea6ed40adf10517331 100644 Binary files a/images/Modeles_de_donnees/02.vMap/06.Lot-Local.png and b/images/Modeles_de_donnees/02.vMap/06.Lot-Local.png differ