-
Notifications
You must be signed in to change notification settings - Fork 2
/
models.dot
35 lines (35 loc) · 4.12 KB
/
models.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
digraph models_diagram {
graph[overlap=false, splines=true]
"Adjudicacion" [shape=Mrecord, label="{Adjudicacion|importe :float\lcreated_at :datetime\lupdated_at :datetime\l}"]
"Adjudicatario" [shape=Mrecord, label="{Adjudicatario|cif :string\lnombre :string\ldireccion :string\lpoblacion :string\lcp :string\ltlf :string\lfax :string\lemail :string\lweb :string\lcreated_at :datetime\lupdated_at :datetime\lthe_geom :geometry\l}"]
"Administracion" [shape=Mrecord, label="{Administracion|nombre :string\lcif :string\lwikipedia_url :text\lfoto :text\lescudo :text\lhabitantes :integer\lalcalde_voota_link :text\lpresupuesto_total :float\lpresupuesto_url :text\llft :integer\lrgt :integer\ldireccion :string\lpoblacion :string\lcp :string\ltlf :string\lfax :string\lemail :string\lweb :string\lcreated_at :datetime\lupdated_at :datetime\lthe_geom :geometry\l}"]
"Comentario" [shape=Mrecord, label="{Comentario|comentario :text\lis_vote :boolean\lcreated_at :datetime\lupdated_at :datetime\lthe_geom :geometry\l}"]
"ComunidadAutonoma" [shape=Mrecord, label="{ComunidadAutonoma|nombre :string\lcreated_at :datetime\lupdated_at :datetime\l}"]
"FuenteDatos" [shape=Mrecord, label="{FuenteDatos|nombre :string\lultima_importacion :datetime\lweb :text\lcreated_at :datetime\lupdated_at :datetime\l}"]
"Licitacion" [shape=Mrecord, label="{Licitacion|expediente :string\limporte_estimado :float\lfecha_publicacion :datetime\lfecha_adjudicacion :datetime\ltitulo :string\ldescripcion :text\lcodigo_cpv_ppal :string\lurl_licitacion :text\lvotes_up :integer\lvotes_down :integer\lnum_comentarios :integer\lref_publicacion :text\lmesa_contratacion :text\lcreated_at :datetime\lupdated_at :datetime\lthe_geom :geometry\l}"]
"OrganoContratacion" [shape=Mrecord, label="{OrganoContratacion|nombre :text\ldireccion :string\lpoblacion :string\lcp :string\ltlf :string\lfax :string\lemail :string\lweb :string\lcreated_at :datetime\lupdated_at :datetime\l}"]
"PartidoPolitico" [shape=Mrecord, label="{PartidoPolitico|nombre :string\lsiglas :string\lweb :text\lcreated_at :datetime\lupdated_at :datetime\l}"]
"ProgramaFinanciacion" [shape=Mrecord, label="{ProgramaFinanciacion|nombre :string\lnivel :string\lcreated_at :datetime\lupdated_at :datetime\l}"]
"Provincia" [shape=Mrecord, label="{Provincia|nombre :string\lcreated_at :datetime\lupdated_at :datetime\l}"]
"TipoAdministracion" [shape=Mrecord, label="{TipoAdministracion|nombre :string\lcreated_at :datetime\lupdated_at :datetime\l}"]
"TipoLicitacion" [shape=Mrecord, label="{TipoLicitacion|nombre :string\lcreated_at :datetime\lupdated_at :datetime\l}"]
"TipoProcedimiento" [shape=Mrecord, label="{TipoProcedimiento|nombre :string\lcreated_at :datetime\lupdated_at :datetime\l}"]
"Usuario" [shape=Mrecord, label="{Usuario|token :string\lnombre :string\lemail :string\lweb :text\lcreated_at :datetime\lupdated_at :datetime\l}"]
"Adjudicatario" -> "Licitacion" [arrowtail=crow, arrowhead=crow, dir=both]
"Adjudicatario" -> "Adjudicacion" [arrowtail=crow, arrowhead=dot, dir=both]
"Administracion" -> "OrganoContratacion" [arrowtail=crow, arrowhead=dot, dir=both]
"ComunidadAutonoma" -> "Provincium" [label="provincias", arrowtail=crow, arrowhead=dot, dir=both]
"ComunidadAutonoma" -> "Administracion" [arrowtail=crow, arrowhead=dot, dir=both]
"FuenteDatos" -> "Licitacion" [arrowtail=crow, arrowhead=dot, dir=both]
"Licitacion" -> "Comentario" [arrowtail=crow, arrowhead=dot, dir=both]
"Licitacion" -> "Adjudicatario" [arrowtail=crow, arrowhead=crow, dir=both]
"Licitacion" -> "Adjudicacion" [arrowtail=crow, arrowhead=dot, dir=both]
"OrganoContratacion" -> "Licitacion" [arrowtail=crow, arrowhead=dot, dir=both]
"PartidoPolitico" -> "Administracion" [arrowtail=crow, arrowhead=dot, dir=both]
"ProgramaFinanciacion" -> "Licitacion" [arrowtail=crow, arrowhead=dot, dir=both]
"Provincia" -> "Administracion" [arrowtail=crow, arrowhead=dot, dir=both]
"TipoAdministracion" -> "Administracion" [arrowtail=crow, arrowhead=dot, dir=both]
"TipoLicitacion" -> "Licitacion" [arrowtail=crow, arrowhead=dot, dir=both]
"TipoProcedimiento" -> "Licitacion" [arrowtail=crow, arrowhead=dot, dir=both]
"Usuario" -> "Comentario" [arrowtail=crow, arrowhead=dot, dir=both]
}