Está en la página 1de 182

Sybase PowerDesigner

Physical Data Model Report

Model: FISICO
Report: Full Physical Report

Author: Vicky
Version:
Date: 12/05/2017
Summary:
Physical Data Model FISICOReport Full Physical Report

Table of Contents

The 'Table of Contents' field needs to be updated!

Sybase PowerDesigner 12/05/2017Page 2 of 182


Physical Data Model FISICO

I Specifications
Include specifications here...

PowerDesigner 12/05/2017 Page 3


Physical Data Model FISICO

II Model information
II.1 Card of model FISICO
Name FISICO
Code FISICO
Comment
DBMS MySQL 5.0
Database <None>

PowerDesigner 12/05/2017 Page 4


Physical Data Model FISICO

III PDM Diagrams


III.1Model level diagrams
III.1.1 Diagram FISICO
SVV_ADMINISTRADOR
IDADMIN int <pk>
CONTRASEnA varchar(50)
NOMUSUARIOvarchar(50)
NOMBRE01 varchar(50)
SVV_PADECIMIENTOS NOMBRE02 varchar(50)
IDPADECIMIENTOint <pk> NOMBRE03 varchar(50)
PADECIMIENTO varchar(50) APELLIDO01 varchar(50)
APELLIDO02 varchar(50)
APELLIDO03 varchar(50)

SVV_TURISTA
IDTURISTA int <pk> SVV_GPO_TURIST
IDPAIS int <fk1> IDGPOTURIST int <pk>
IDCIUDAD int <fk2> IDPAIS int <fk1>
IDPADECIMIENTO int <fk3> SVV_ESTADOS IDESTADO int <fk2>
IDESTADO int <fk4> IDESTADOint <pk> IDCIUDAD int <fk3>
NOMBRE01 varchar(50) NOMBREGPO varchar(50)
NOMBRE02 varchar(50) ESTADO int DIRECCION text
NOMBRE03 varchar(50) TELEFONO varchar(10)
APELLIDO01 varchar(50) PAGWEB varchar(20)
APELLIDO02 varchar(50) NOMBREREP varchar(50)
APELLIDO03 varchar(50) SVV_PAISES DESCRIPCION text
FECHANAC date CALIFICACION int
EMAIL varchar(100) IDPAIS int <pk> DUIREP varchar(10)
TELEFONO varchar(10) NOMBRE varchar(20) CODREG varchar(20)
DUI varchar(10) EMAIL varchar(100)
GENERO varchar(10) EMAILREP varchar(100)
TELCONTACTO varchar(10) SVV_CIUDADES CONTRASEnA varchar(50)
NOMBRECONTACTO varchar(50) IDCIUDADint <pk> NOMUSUARIO varchar(50)
FECHAING date CIUDAD <Undefined>
DIRECCION text
CONTRASEnA varchar(50)
NOMUSUARIO varchar(50)

SVV_BITACORA_SOLICITUD
IDBITACORA int <pk>
IDGPOTURIST int <fk1>
IDSOLICITUD int <fk2>
IDTURISTA int <fk3>
ESTADO int
SVV_SOLICITUD_INS
IDSOLICITUD int <pk> SVV_COMENTARIOS_PRODUCTOS
IDTURISTA int <fk1> IDCOMENTARIOint <pk>
IDPRODUCTOS int <fk2> IDPRODUCTOS int <fk1>
FECHASOLICITUDdate IDGPOTURIST int <fk2>
ESTADO int IDTURISTA int <fk3>
CUPOS int COMENTARIO text
SVV_PRODUCTOS ESTADO int
IDPRODUCTOS int <pk>
IDGPOTURIST int <fk1>
IDDESTINO int <fk2>
DESCRIPCION text
FECHAINI timestamp
FECHAFIN timestamp
PUNTOENCUENTRO text
CUPOSDISPONIBLES int
SVV_PREFERENCIAS CUPOSRESERVADOS int
IDPREFERENCIA int <pk> ESTADO int
IDTURISTA int <fk1>
IDCATEGORIA int <fk2>
IDDESTINO int <fk3> SVV_DESTINOS
IDGPOTURIST int <fk4>
PREFERENCIA varchar(20) IDDESTINO int <pk>
IDCATEGORIA int <fk1>
IDPAIS int <fk2>
IDCIUDAD int <fk3>
IDESTADO int <fk4>
NOMBREDESTINOvarchar(50)
ALTITUD bigint
LATITUD bigint

SVV_CATEGORIAS_DESTINOS
IDCATEGORIA int <pk>
CATEGORIA varchar(20)

PowerDesigner 12/05/2017 Page 5


Physical Data Model FISICO

IV Physical diagrams objects


IV.1 References
IV.1.1 Model level references

IV.1.1.1 List of references


Name Code Parent Table Child Table
CATEGORIAS_DESTIN CATEGORIAS_DESTIN SVV_CATEGORIAS_D SVV_DESTINOS
OS_DESTINOS OS_DESTINOS ESTINOS
CATEGORIAS_DESTIN CATEGORIAS_DESTIN SVV_CATEGORIAS_D SVV_PREFERENCIAS
OS_PREFERENCIAS OS_PREFERENCIAS ESTINOS
CIUDADES_GPO_TURICIUDADES_GPO_TURISVV_CIUDADES SVV_GPO_TURIST
ST ST
CIUDADES_TURISTAS CIUDADES_TURISTAS SVV_CIUDADES SVV_TURISTA
DESTINOS_CIUDADESDESTINOS_CIUDADESSVV_CIUDADES SVV_DESTINOS
DESTINOS_ESTADOS DESTINOS_ESTADOS SVV_ESTADOS SVV_DESTINOS
DESTINOS_PAISES DESTINOS_PAISES SVV_PAISES SVV_DESTINOS
DESTINOS_PREFEREN DESTINOS_PREFEREN SVV_DESTINOS SVV_PREFERENCIAS
CIAS CIAS
DESTINOS_PRODUCT DESTINOS_PRODUCT SVV_DESTINOS SVV_PRODUCTOS
OS OS
ESTADOS_GPO_TURIS ESTADOS_GPO_TURIS SVV_ESTADOS SVV_GPO_TURIST
T T
ESTADOS_TURISTAS ESTADOS_TURISTAS SVV_ESTADOS SVV_TURISTA
GPO_TURIST_BITACO GPO_TURIST_BITACO SVV_GPO_TURIST SVV_BITACORA_SOLI
RA_SOLICITUD RA_SOLICITUD CITUD
GPO_TURIST_COMEN GPO_TURIST_COMEN SVV_GPO_TURIST SVV_COMENTARIOS_
TARIOS_PRODUCTOS TARIOS_PRODUCTOS PRODUCTOS
GPO_TURIST_PREFER GPO_TURIST_PREFER SVV_GPO_TURIST SVV_PREFERENCIAS
ENCIAS ENCIAS
GPO_TURIST_PRODU GPO_TURIST_PRODU SVV_GPO_TURIST SVV_PRODUCTOS
CTOS CTOS
PADECIMIENTOS_TU PADECIMIENTOS_TU SVV_PADECIMIENTO SVV_TURISTA
RISTAS RISTAS S
PAISES_GPO_TURIST PAISES_GPO_TURIST SVV_PAISES SVV_GPO_TURIST
PAISES_TURISTAS PAISES_TURISTAS SVV_PAISES SVV_TURISTA
PRODUCTOS_COMEN PRODUCTOS_COMEN SVV_PRODUCTOS SVV_COMENTARIOS_
TARIOS_PRODUCTOS TARIOS_PRODUCTOS PRODUCTOS
PRODUCTOS_SOLICIT PRODUCTOS_SOLICIT SVV_PRODUCTOS SVV_SOLICITUD_INS
UD_INS UD_INS
SOLICITUD_INS_BITA SOLICITUD_INS_BITA SVV_SOLICITUD_INS SVV_BITACORA_SOLI
CORA_SOLICITUD CORA_SOLICITUD CITUD
TURISTA_BITACORA_ TURISTA_BITACORA_ SVV_TURISTA SVV_BITACORA_SOLI

PowerDesigner 12/05/2017 Page 6


Physical Data Model FISICO

SOLICITUD SOLICITUD CITUD


TURISTA_PREFERENC TURISTA_PREFERENC SVV_TURISTA SVV_PREFERENCIAS
IAS IAS
TURISTA_SOLICITUD TURISTA_SOLICITUD SVV_TURISTA SVV_SOLICITUD_INS
_INS _INS
TUURISTA_COMENTA TUURISTA_COMENTA SVV_TURISTA SVV_COMENTARIOS_
RIOS_PRODUCTOS RIOS_PRODUCTOS PRODUCTOS

IV.1.1.2 Reference CATEGORIAS_DESTINOS_DESTINOS


IV.1.1.2.1 Card of reference CATEGORIAS_DESTINOS_DESTINOS
Name CATEGORIAS_DESTINOS_DESTINOS
Code CATEGORIAS_DESTINOS_DESTINOS
Parent Table SVV_CATEGORIAS_DESTINOS
Child Table SVV_DESTINOS

IV.1.1.2.2 Code preview of the reference


CATEGORIAS_DESTINOS_DESTINOS
alter table SVV_DESTINOS add constraint FK_CATEGORIAS_DESTINOS_DESTINOS foreign key (IDCATEGORIA)
references SVV_CATEGORIAS_DESTINOS (IDCATEGORIA) on delete restrict on update restrict;

IV.1.1.2.3 List of diagrams containing the reference


CATEGORIAS_DESTINOS_DESTINOS
Name Code
FISICO FISICO

IV.1.1.2.4 List of reference joins of the reference


CATEGORIAS_DESTINOS_DESTINOS
Parent Table Column Child Table Column
IDCATEGORIA IDCATEGORIA

IV.1.1.2.5 List of extended attributes of the reference


CATEGORIAS_DESTINOS_DESTINOS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

PowerDesigner 12/05/2017 Page 7


Physical Data Model FISICO

IV.1.1.3 Reference CATEGORIAS_DESTINOS_PREFERENCIAS


IV.1.1.3.1 Card of reference
CATEGORIAS_DESTINOS_PREFERENCIAS
Name CATEGORIAS_DESTINOS_PREFERENCIAS
Code CATEGORIAS_DESTINOS_PREFERENCIAS
Parent Table SVV_CATEGORIAS_DESTINOS
Child Table SVV_PREFERENCIAS

IV.1.1.3.2 Code preview of the reference


CATEGORIAS_DESTINOS_PREFERENCIAS
alter table SVV_PREFERENCIAS add constraint FK_CATEGORIAS_DESTINOS_PREFERENCIAS foreign key
(IDCATEGORIA)
references SVV_CATEGORIAS_DESTINOS (IDCATEGORIA) on delete restrict on update restrict;

IV.1.1.3.3 List of diagrams containing the reference


CATEGORIAS_DESTINOS_PREFERENCIAS
Name Code
FISICO FISICO

IV.1.1.3.4 List of reference joins of the reference


CATEGORIAS_DESTINOS_PREFERENCIAS
Parent Table Column Child Table Column
IDCATEGORIA IDCATEGORIA

IV.1.1.3.5 List of extended attributes of the reference


CATEGORIAS_DESTINOS_PREFERENCIAS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.4 Reference CIUDADES_GPO_TURIST


IV.1.1.4.1 Card of reference CIUDADES_GPO_TURIST
Name CIUDADES_GPO_TURIST
Code CIUDADES_GPO_TURIST
Parent Table SVV_CIUDADES
Child Table SVV_GPO_TURIST

PowerDesigner 12/05/2017 Page 8


Physical Data Model FISICO

IV.1.1.4.2 Code preview of the reference CIUDADES_GPO_TURIST


alter table SVV_GPO_TURIST add constraint FK_CIUDADES_GPO_TURIST foreign key (IDCIUDAD)
references SVV_CIUDADES (IDCIUDAD) on delete restrict on update restrict;

IV.1.1.4.3 List of diagrams containing the reference


CIUDADES_GPO_TURIST
Name Code
FISICO FISICO

IV.1.1.4.4 List of reference joins of the reference


CIUDADES_GPO_TURIST
Parent Table Column Child Table Column
IDCIUDAD IDCIUDAD

IV.1.1.4.5 List of extended attributes of the reference


CIUDADES_GPO_TURIST
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.5 Reference CIUDADES_TURISTAS


IV.1.1.5.1 Card of reference CIUDADES_TURISTAS
Name CIUDADES_TURISTAS
Code CIUDADES_TURISTAS
Parent Table SVV_CIUDADES
Child Table SVV_TURISTA

IV.1.1.5.2 Code preview of the reference CIUDADES_TURISTAS


alter table SVV_TURISTA add constraint FK_CIUDADES_TURISTAS foreign key (IDCIUDAD)
references SVV_CIUDADES (IDCIUDAD) on delete restrict on update restrict;

IV.1.1.5.3 List of diagrams containing the reference


CIUDADES_TURISTAS
Name Code
FISICO FISICO

IV.1.1.5.4 List of reference joins of the reference CIUDADES_TURISTAS


Parent Table Column Child Table Column

PowerDesigner 12/05/2017 Page 9


Physical Data Model FISICO

IDCIUDAD IDCIUDAD

IV.1.1.5.5 List of extended attributes of the reference


CIUDADES_TURISTAS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.6 Reference DESTINOS_CIUDADES


IV.1.1.6.1 Card of reference DESTINOS_CIUDADES
Name DESTINOS_CIUDADES
Code DESTINOS_CIUDADES
Parent Table SVV_CIUDADES
Child Table SVV_DESTINOS

IV.1.1.6.2 Code preview of the reference DESTINOS_CIUDADES


alter table SVV_DESTINOS add constraint FK_DESTINOS_CIUDADES foreign key (IDCIUDAD)
references SVV_CIUDADES (IDCIUDAD) on delete restrict on update restrict;

IV.1.1.6.3 List of diagrams containing the reference


DESTINOS_CIUDADES
Name Code
FISICO FISICO

IV.1.1.6.4 List of reference joins of the reference DESTINOS_CIUDADES


Parent Table Column Child Table Column
IDCIUDAD IDCIUDAD

IV.1.1.6.5 List of extended attributes of the reference


DESTINOS_CIUDADES
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.7 Reference DESTINOS_ESTADOS


IV.1.1.7.1 Card of reference DESTINOS_ESTADOS
Name DESTINOS_ESTADOS

PowerDesigner 12/05/2017 Page 10


Physical Data Model FISICO

Code DESTINOS_ESTADOS
Parent Table SVV_ESTADOS
Child Table SVV_DESTINOS

IV.1.1.7.2 Code preview of the reference DESTINOS_ESTADOS


alter table SVV_DESTINOS add constraint FK_DESTINOS_ESTADOS foreign key (IDESTADO)
references SVV_ESTADOS (IDESTADO) on delete restrict on update restrict;

IV.1.1.7.3 List of diagrams containing the reference


DESTINOS_ESTADOS
Name Code
FISICO FISICO

IV.1.1.7.4 List of reference joins of the reference DESTINOS_ESTADOS


Parent Table Column Child Table Column
IDESTADO IDESTADO

IV.1.1.7.5 List of extended attributes of the reference


DESTINOS_ESTADOS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.8 Reference DESTINOS_PAISES


IV.1.1.8.1 Card of reference DESTINOS_PAISES
Name DESTINOS_PAISES
Code DESTINOS_PAISES
Parent Table SVV_PAISES
Child Table SVV_DESTINOS

IV.1.1.8.2 Code preview of the reference DESTINOS_PAISES


alter table SVV_DESTINOS add constraint FK_DESTINOS_PAISES foreign key (IDPAIS)
references SVV_PAISES (IDPAIS) on delete restrict on update restrict;

IV.1.1.8.3 List of diagrams containing the reference DESTINOS_PAISES


Name Code
FISICO FISICO

PowerDesigner 12/05/2017 Page 11


Physical Data Model FISICO

IV.1.1.8.4 List of reference joins of the reference DESTINOS_PAISES


Parent Table Column Child Table Column
IDPAIS IDPAIS

IV.1.1.8.5 List of extended attributes of the reference DESTINOS_PAISES


Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.9 Reference DESTINOS_PREFERENCIAS


IV.1.1.9.1 Card of reference DESTINOS_PREFERENCIAS
Name DESTINOS_PREFERENCIAS
Code DESTINOS_PREFERENCIAS
Parent Table SVV_DESTINOS
Child Table SVV_PREFERENCIAS

IV.1.1.9.2 Code preview of the reference DESTINOS_PREFERENCIAS


alter table SVV_PREFERENCIAS add constraint FK_DESTINOS_PREFERENCIAS foreign key (IDDESTINO)
references SVV_DESTINOS (IDDESTINO) on delete restrict on update restrict;

IV.1.1.9.3 List of diagrams containing the reference


DESTINOS_PREFERENCIAS
Name Code
FISICO FISICO

IV.1.1.9.4 List of reference joins of the reference


DESTINOS_PREFERENCIAS
Parent Table Column Child Table Column
IDDESTINO IDDESTINO

IV.1.1.9.5 List of extended attributes of the reference


DESTINOS_PREFERENCIAS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

PowerDesigner 12/05/2017 Page 12


Physical Data Model FISICO

IV.1.1.10 Reference DESTINOS_PRODUCTOS


IV.1.1.10.1 Card of reference DESTINOS_PRODUCTOS
Name DESTINOS_PRODUCTOS
Code DESTINOS_PRODUCTOS
Parent Table SVV_DESTINOS
Child Table SVV_PRODUCTOS

IV.1.1.10.2 Code preview of the reference DESTINOS_PRODUCTOS


alter table SVV_PRODUCTOS add constraint FK_DESTINOS_PRODUCTOS foreign key (IDDESTINO)
references SVV_DESTINOS (IDDESTINO) on delete restrict on update restrict;

IV.1.1.10.3 List of diagrams containing the reference


DESTINOS_PRODUCTOS
Name Code
FISICO FISICO

IV.1.1.10.4 List of reference joins of the reference


DESTINOS_PRODUCTOS
Parent Table Column Child Table Column
IDDESTINO IDDESTINO

IV.1.1.10.5 List of extended attributes of the reference


DESTINOS_PRODUCTOS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.11 Reference ESTADOS_GPO_TURIST


IV.1.1.11.1 Card of reference ESTADOS_GPO_TURIST
Name ESTADOS_GPO_TURIST
Code ESTADOS_GPO_TURIST
Parent Table SVV_ESTADOS
Child Table SVV_GPO_TURIST

IV.1.1.11.2 Code preview of the reference ESTADOS_GPO_TURIST


alter table SVV_GPO_TURIST add constraint FK_ESTADOS_GPO_TURIST foreign key (IDESTADO)
references SVV_ESTADOS (IDESTADO) on delete restrict on update restrict;

PowerDesigner 12/05/2017 Page 13


Physical Data Model FISICO

IV.1.1.11.3 List of diagrams containing the reference


ESTADOS_GPO_TURIST
Name Code
FISICO FISICO

IV.1.1.11.4 List of reference joins of the reference


ESTADOS_GPO_TURIST
Parent Table Column Child Table Column
IDESTADO IDESTADO

IV.1.1.11.5 List of extended attributes of the reference


ESTADOS_GPO_TURIST
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.12 Reference ESTADOS_TURISTAS


IV.1.1.12.1 Card of reference ESTADOS_TURISTAS
Name ESTADOS_TURISTAS
Code ESTADOS_TURISTAS
Parent Table SVV_ESTADOS
Child Table SVV_TURISTA

IV.1.1.12.2 Code preview of the reference ESTADOS_TURISTAS


alter table SVV_TURISTA add constraint FK_ESTADOS_TURISTAS foreign key (IDESTADO)
references SVV_ESTADOS (IDESTADO) on delete restrict on update restrict;

IV.1.1.12.3 List of diagrams containing the reference


ESTADOS_TURISTAS
Name Code
FISICO FISICO

IV.1.1.12.4 List of reference joins of the reference


ESTADOS_TURISTAS
Parent Table Column Child Table Column
IDESTADO IDESTADO

PowerDesigner 12/05/2017 Page 14


Physical Data Model FISICO

IV.1.1.12.5 List of extended attributes of the reference


ESTADOS_TURISTAS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.13 Reference GPO_TURIST_BITACORA_SOLICITUD


IV.1.1.13.1 Card of reference
GPO_TURIST_BITACORA_SOLICITUD
Name GPO_TURIST_BITACORA_SOLICITUD
Code GPO_TURIST_BITACORA_SOLICITUD
Parent Table SVV_GPO_TURIST
Child Table SVV_BITACORA_SOLICITUD

IV.1.1.13.2 Code preview of the reference


GPO_TURIST_BITACORA_SOLICITUD
alter table SVV_BITACORA_SOLICITUD add constraint FK_GPO_TURIST_BITACORA_SOLICITUD foreign key
(IDGPOTURIST)
references SVV_GPO_TURIST (IDGPOTURIST) on delete restrict on update restrict;

IV.1.1.13.3 List of diagrams containing the reference


GPO_TURIST_BITACORA_SOLICITUD
Name Code
FISICO FISICO

IV.1.1.13.4 List of reference joins of the reference


GPO_TURIST_BITACORA_SOLICITUD
Parent Table Column Child Table Column
IDGPOTURIST IDGPOTURIST

IV.1.1.13.5 List of extended attributes of the reference


GPO_TURIST_BITACORA_SOLICITUD
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

PowerDesigner 12/05/2017 Page 15


Physical Data Model FISICO

IV.1.1.14 Reference GPO_TURIST_COMENTARIOS_PRODUCTOS


IV.1.1.14.1 Card of reference
GPO_TURIST_COMENTARIOS_PRODUCTOS
Name GPO_TURIST_COMENTARIOS_PRODUCTOS
Code GPO_TURIST_COMENTARIOS_PRODUCTOS
Parent Table SVV_GPO_TURIST
Child Table SVV_COMENTARIOS_PRODUCTOS

IV.1.1.14.2 Code preview of the reference


GPO_TURIST_COMENTARIOS_PRODUCTOS
alter table SVV_COMENTARIOS_PRODUCTOS add constraint FK_GPO_TURIST_COMENTARIOS_PRODUCTOS
foreign key (IDGPOTURIST)
references SVV_GPO_TURIST (IDGPOTURIST) on delete restrict on update restrict;

IV.1.1.14.3 List of diagrams containing the reference


GPO_TURIST_COMENTARIOS_PRODUCTOS
Name Code
FISICO FISICO

IV.1.1.14.4 List of reference joins of the reference


GPO_TURIST_COMENTARIOS_PRODUCTOS
Parent Table Column Child Table Column
IDGPOTURIST IDGPOTURIST

IV.1.1.14.5 List of extended attributes of the reference


GPO_TURIST_COMENTARIOS_PRODUCTOS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.15 Reference GPO_TURIST_PREFERENCIAS


IV.1.1.15.1 Card of reference GPO_TURIST_PREFERENCIAS
Name GPO_TURIST_PREFERENCIAS
Code GPO_TURIST_PREFERENCIAS
Parent Table SVV_GPO_TURIST
Child Table SVV_PREFERENCIAS

PowerDesigner 12/05/2017 Page 16


Physical Data Model FISICO

IV.1.1.15.2 Code preview of the reference


GPO_TURIST_PREFERENCIAS
alter table SVV_PREFERENCIAS add constraint FK_GPO_TURIST_PREFERENCIAS foreign key (IDGPOTURIST)
references SVV_GPO_TURIST (IDGPOTURIST) on delete restrict on update restrict;

IV.1.1.15.3 List of diagrams containing the reference


GPO_TURIST_PREFERENCIAS
Name Code
FISICO FISICO

IV.1.1.15.4 List of reference joins of the reference


GPO_TURIST_PREFERENCIAS
Parent Table Column Child Table Column
IDGPOTURIST IDGPOTURIST

IV.1.1.15.5 List of extended attributes of the reference


GPO_TURIST_PREFERENCIAS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.16 Reference GPO_TURIST_PRODUCTOS


IV.1.1.16.1 Card of reference GPO_TURIST_PRODUCTOS
Name GPO_TURIST_PRODUCTOS
Code GPO_TURIST_PRODUCTOS
Parent Table SVV_GPO_TURIST
Child Table SVV_PRODUCTOS

IV.1.1.16.2 Code preview of the reference


GPO_TURIST_PRODUCTOS
alter table SVV_PRODUCTOS add constraint FK_GPO_TURIST_PRODUCTOS foreign key (IDGPOTURIST)
references SVV_GPO_TURIST (IDGPOTURIST) on delete restrict on update restrict;

IV.1.1.16.3 List of diagrams containing the reference


GPO_TURIST_PRODUCTOS
Name Code
FISICO FISICO

PowerDesigner 12/05/2017 Page 17


Physical Data Model FISICO

IV.1.1.16.4 List of reference joins of the reference


GPO_TURIST_PRODUCTOS
Parent Table Column Child Table Column
IDGPOTURIST IDGPOTURIST

IV.1.1.16.5 List of extended attributes of the reference


GPO_TURIST_PRODUCTOS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.17 Reference PADECIMIENTOS_TURISTAS


IV.1.1.17.1 Card of reference PADECIMIENTOS_TURISTAS
Name PADECIMIENTOS_TURISTAS
Code PADECIMIENTOS_TURISTAS
Parent Table SVV_PADECIMIENTOS
Child Table SVV_TURISTA

IV.1.1.17.2 Code preview of the reference


PADECIMIENTOS_TURISTAS
alter table SVV_TURISTA add constraint FK_PADECIMIENTOS_TURISTAS foreign key (IDPADECIMIENTO)
references SVV_PADECIMIENTOS (IDPADECIMIENTO) on delete restrict on update restrict;

IV.1.1.17.3 List of diagrams containing the reference


PADECIMIENTOS_TURISTAS
Name Code
FISICO FISICO

IV.1.1.17.4 List of reference joins of the reference


PADECIMIENTOS_TURISTAS
Parent Table Column Child Table Column
IDPADECIMIENTO IDPADECIMIENTO

IV.1.1.17.5 List of extended attributes of the reference


PADECIMIENTOS_TURISTAS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

PowerDesigner 12/05/2017 Page 18


Physical Data Model FISICO

IV.1.1.18 Reference PAISES_GPO_TURIST


IV.1.1.18.1 Card of reference PAISES_GPO_TURIST
Name PAISES_GPO_TURIST
Code PAISES_GPO_TURIST
Parent Table SVV_PAISES
Child Table SVV_GPO_TURIST

IV.1.1.18.2 Code preview of the reference PAISES_GPO_TURIST


alter table SVV_GPO_TURIST add constraint FK_PAISES_GPO_TURIST foreign key (IDPAIS)
references SVV_PAISES (IDPAIS) on delete restrict on update restrict;

IV.1.1.18.3 List of diagrams containing the reference


PAISES_GPO_TURIST
Name Code
FISICO FISICO

IV.1.1.18.4 List of reference joins of the reference


PAISES_GPO_TURIST
Parent Table Column Child Table Column
IDPAIS IDPAIS

IV.1.1.18.5 List of extended attributes of the reference


PAISES_GPO_TURIST
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.19 Reference PAISES_TURISTAS


IV.1.1.19.1 Card of reference PAISES_TURISTAS
Name PAISES_TURISTAS
Code PAISES_TURISTAS
Parent Table SVV_PAISES
Child Table SVV_TURISTA

IV.1.1.19.2 Code preview of the reference PAISES_TURISTAS


alter table SVV_TURISTA add constraint FK_PAISES_TURISTAS foreign key (IDPAIS)

PowerDesigner 12/05/2017 Page 19


Physical Data Model FISICO

references SVV_PAISES (IDPAIS) on delete restrict on update restrict;

IV.1.1.19.3 List of diagrams containing the reference


PAISES_TURISTAS
Name Code
FISICO FISICO

IV.1.1.19.4 List of reference joins of the reference


PAISES_TURISTAS
Parent Table Column Child Table Column
IDPAIS IDPAIS

IV.1.1.19.5 List of extended attributes of the reference


PAISES_TURISTAS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.20 Reference PRODUCTOS_COMENTARIOS_PRODUCTOS


IV.1.1.20.1 Card of reference
PRODUCTOS_COMENTARIOS_PRODUCTOS
Name PRODUCTOS_COMENTARIOS_PRODUCTOS
Code PRODUCTOS_COMENTARIOS_PRODUCTOS
Parent Table SVV_PRODUCTOS
Child Table SVV_COMENTARIOS_PRODUCTOS

IV.1.1.20.2 Code preview of the reference


PRODUCTOS_COMENTARIOS_PRODUCTOS
alter table SVV_COMENTARIOS_PRODUCTOS add constraint FK_PRODUCTOS_COMENTARIOS_PRODUCTOS
foreign key (IDPRODUCTOS)
references SVV_PRODUCTOS (IDPRODUCTOS) on delete restrict on update restrict;

IV.1.1.20.3 List of diagrams containing the reference


PRODUCTOS_COMENTARIOS_PRODUCTOS
Name Code
FISICO FISICO

PowerDesigner 12/05/2017 Page 20


Physical Data Model FISICO

IV.1.1.20.4 List of reference joins of the reference


PRODUCTOS_COMENTARIOS_PRODUCTOS
Parent Table Column Child Table Column
IDPRODUCTOS IDPRODUCTOS

IV.1.1.20.5 List of extended attributes of the reference


PRODUCTOS_COMENTARIOS_PRODUCTOS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.21 Reference PRODUCTOS_SOLICITUD_INS


IV.1.1.21.1 Card of reference PRODUCTOS_SOLICITUD_INS
Name PRODUCTOS_SOLICITUD_INS
Code PRODUCTOS_SOLICITUD_INS
Parent Table SVV_PRODUCTOS
Child Table SVV_SOLICITUD_INS

IV.1.1.21.2 Code preview of the reference


PRODUCTOS_SOLICITUD_INS
alter table SVV_SOLICITUD_INS add constraint FK_PRODUCTOS_SOLICITUD_INS foreign key (IDPRODUCTOS)
references SVV_PRODUCTOS (IDPRODUCTOS) on delete restrict on update restrict;

IV.1.1.21.3 List of diagrams containing the reference


PRODUCTOS_SOLICITUD_INS
Name Code
FISICO FISICO

IV.1.1.21.4 List of reference joins of the reference


PRODUCTOS_SOLICITUD_INS
Parent Table Column Child Table Column
IDPRODUCTOS IDPRODUCTOS

IV.1.1.21.5 List of extended attributes of the reference


PRODUCTOS_SOLICITUD_INS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

PowerDesigner 12/05/2017 Page 21


Physical Data Model FISICO

IV.1.1.22 Reference SOLICITUD_INS_BITACORA_SOLICITUD


IV.1.1.22.1 Card of reference
SOLICITUD_INS_BITACORA_SOLICITUD
Name SOLICITUD_INS_BITACORA_SOLICITUD
Code SOLICITUD_INS_BITACORA_SOLICITUD
Parent Table SVV_SOLICITUD_INS
Child Table SVV_BITACORA_SOLICITUD

IV.1.1.22.2 Code preview of the reference


SOLICITUD_INS_BITACORA_SOLICITUD
alter table SVV_BITACORA_SOLICITUD add constraint FK_SOLICITUD_INS_BITACORA_SOLICITUD foreign key
(IDSOLICITUD)
references SVV_SOLICITUD_INS (IDSOLICITUD) on delete restrict on update restrict;

IV.1.1.22.3 List of diagrams containing the reference


SOLICITUD_INS_BITACORA_SOLICITUD
Name Code
FISICO FISICO

IV.1.1.22.4 List of reference joins of the reference


SOLICITUD_INS_BITACORA_SOLICITUD
Parent Table Column Child Table Column
IDSOLICITUD IDSOLICITUD

IV.1.1.22.5 List of extended attributes of the reference


SOLICITUD_INS_BITACORA_SOLICITUD
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.23 Reference TURISTA_BITACORA_SOLICITUD


IV.1.1.23.1 Card of reference TURISTA_BITACORA_SOLICITUD
Name TURISTA_BITACORA_SOLICITUD
Code TURISTA_BITACORA_SOLICITUD
Parent Table SVV_TURISTA
Child Table SVV_BITACORA_SOLICITUD

PowerDesigner 12/05/2017 Page 22


Physical Data Model FISICO

IV.1.1.23.2 Code preview of the reference


TURISTA_BITACORA_SOLICITUD
alter table SVV_BITACORA_SOLICITUD add constraint FK_TURISTA_BITACORA_SOLICITUD foreign key
(IDTURISTA)
references SVV_TURISTA (IDTURISTA) on delete restrict on update restrict;

IV.1.1.23.3 List of diagrams containing the reference


TURISTA_BITACORA_SOLICITUD
Name Code
FISICO FISICO

IV.1.1.23.4 List of reference joins of the reference


TURISTA_BITACORA_SOLICITUD
Parent Table Column Child Table Column
IDTURISTA IDTURISTA

IV.1.1.23.5 List of extended attributes of the reference


TURISTA_BITACORA_SOLICITUD
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.24 Reference TURISTA_PREFERENCIAS


IV.1.1.24.1 Card of reference TURISTA_PREFERENCIAS
Name TURISTA_PREFERENCIAS
Code TURISTA_PREFERENCIAS
Parent Table SVV_TURISTA
Child Table SVV_PREFERENCIAS

IV.1.1.24.2 Code preview of the reference


TURISTA_PREFERENCIAS
alter table SVV_PREFERENCIAS add constraint FK_TURISTA_PREFERENCIAS foreign key (IDTURISTA)
references SVV_TURISTA (IDTURISTA) on delete restrict on update restrict;

IV.1.1.24.3 List of diagrams containing the reference


TURISTA_PREFERENCIAS
Name Code
FISICO FISICO

PowerDesigner 12/05/2017 Page 23


Physical Data Model FISICO

IV.1.1.24.4 List of reference joins of the reference


TURISTA_PREFERENCIAS
Parent Table Column Child Table Column
IDTURISTA IDTURISTA

IV.1.1.24.5 List of extended attributes of the reference


TURISTA_PREFERENCIAS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

IV.1.1.25 Reference TURISTA_SOLICITUD_INS


IV.1.1.25.1 Card of reference TURISTA_SOLICITUD_INS
Name TURISTA_SOLICITUD_INS
Code TURISTA_SOLICITUD_INS
Parent Table SVV_TURISTA
Child Table SVV_SOLICITUD_INS

IV.1.1.25.2 Code preview of the reference


TURISTA_SOLICITUD_INS
alter table SVV_SOLICITUD_INS add constraint FK_TURISTA_SOLICITUD_INS foreign key (IDTURISTA)
references SVV_TURISTA (IDTURISTA) on delete restrict on update restrict;

IV.1.1.25.3 List of diagrams containing the reference


TURISTA_SOLICITUD_INS
Name Code
FISICO FISICO

IV.1.1.25.4 List of reference joins of the reference


TURISTA_SOLICITUD_INS
Parent Table Column Child Table Column
IDTURISTA IDTURISTA

IV.1.1.25.5 List of extended attributes of the reference


TURISTA_SOLICITUD_INS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

PowerDesigner 12/05/2017 Page 24


Physical Data Model FISICO

IV.1.1.26 Reference TUURISTA_COMENTARIOS_PRODUCTOS


IV.1.1.26.1 Card of reference
TUURISTA_COMENTARIOS_PRODUCTOS
Name TUURISTA_COMENTARIOS_PRODUCTOS
Code TUURISTA_COMENTARIOS_PRODUCTOS
Parent Table SVV_TURISTA
Child Table SVV_COMENTARIOS_PRODUCTOS

IV.1.1.26.2 Code preview of the reference


TUURISTA_COMENTARIOS_PRODUCTOS
alter table SVV_COMENTARIOS_PRODUCTOS add constraint FK_TUURISTA_COMENTARIOS_PRODUCTOS
foreign key (IDTURISTA)
references SVV_TURISTA (IDTURISTA) on delete restrict on update restrict;

IV.1.1.26.3 List of diagrams containing the reference


TUURISTA_COMENTARIOS_PRODUCTOS
Name Code
FISICO FISICO

IV.1.1.26.4 List of reference joins of the reference


TUURISTA_COMENTARIOS_PRODUCTOS
Parent Table Column Child Table Column
IDTURISTA IDTURISTA

IV.1.1.26.5 List of extended attributes of the reference


TUURISTA_COMENTARIOS_PRODUCTOS
Name Data Type Value Target Name
ReferenceMatch ReferenceMatchTyp MySQL 5.0
e

PowerDesigner 12/05/2017 Page 25


Physical Data Model FISICO

IV.2 Tables
IV.2.1 Model level tables

IV.2.1.1 List of tables


Name Code
SVV_ADMINISTRADOR SVV_ADMINISTRADOR
SVV_BITACORA_SOLICITUD SVV_BITACORA_SOLICITUD
SVV_CATEGORIAS_DESTINOS SVV_CATEGORIAS_DESTINOS
SVV_CIUDADES SVV_CIUDADES
SVV_COMENTARIOS_PRODUCTOS SVV_COMENTARIOS_PRODUCTOS
SVV_DESTINOS SVV_DESTINOS
SVV_ESTADOS SVV_ESTADOS
SVV_GPO_TURIST SVV_GPO_TURIST
SVV_PADECIMIENTOS SVV_PADECIMIENTOS
SVV_PAISES SVV_PAISES
SVV_PREFERENCIAS SVV_PREFERENCIAS
SVV_PRODUCTOS SVV_PRODUCTOS
SVV_SOLICITUD_INS SVV_SOLICITUD_INS
SVV_TURISTA SVV_TURISTA

IV.2.1.2 List of table columns


Name Code
IDTURISTA IDTURISTA
IDPAIS IDPAIS
IDCIUDAD IDCIUDAD
IDPADECIMIENTO IDPADECIMIENTO
IDESTADO IDESTADO
NOMBRE01 NOMBRE01_2
NOMBRE02 NOMBRE02_2
NOMBRE03 NOMBRE03_2
APELLIDO01 APELLIDO01_2
APELLIDO02 APELLIDO02_2
APELLIDO03 APELLIDO03_2
FECHANAC FECHANAC
EMAIL EMAIL
TELEFONO TELEFONO
DUI DUI
GENERO GENERO
TELCONTACTO TELCONTACTO
NOMBRECONTACTO NOMBRECONTACTO
FECHAING FECHAING

PowerDesigner 12/05/2017 Page 26


Physical Data Model FISICO

DIRECCION DIRECCION
CONTRASEnA CONTRASENA2
NOMUSUARIO NOMUSUARIO
IDGPOTURIST IDGPOTURIST
IDPAIS IDPAIS
IDESTADO IDESTADO
IDCIUDAD IDCIUDAD
NOMBREGPO NOMBREGPO
DIRECCION DIRECCION2
TELEFONO TELEFONO2
PAGWEB PAGWEB
NOMBREREP NOMBREREP
DESCRIPCION DESCRIPCION
CALIFICACION CALIFICACION
DUIREP DUIREP
CODREG CODREG
EMAIL EMAIL2
EMAILREP EMAILREP
CONTRASEnA CONTRASENA2
NOMUSUARIO NOMUSUARIO2
IDPRODUCTOS IDPRODUCTOS
IDGPOTURIST IDGPOTURIST
IDDESTINO IDDESTINO
DESCRIPCION DESCRIPCION3
FECHAINI FECHAINI
FECHAFIN FECHAFIN
PUNTOENCUENTRO PUNTOENCUENTRO
CUPOSDISPONIBLES CUPOSDISPONIBLES
CUPOSRESERVADOS CUPOSRESERVADOS
ESTADO ESTADO
IDDESTINO IDDESTINO
IDCATEGORIA IDCATEGORIA
IDPAIS IDPAIS
IDCIUDAD IDCIUDAD
IDESTADO IDESTADO
NOMBREDESTINO NOMBREDESTINO
ALTITUD ALTITUD
LATITUD LATITUD
IDSOLICITUD IDSOLICITUD
IDTURISTA IDTURISTA
IDPRODUCTOS IDPRODUCTOS
FECHASOLICITUD FECHASOLICITUD
ESTADO ESTADO
CUPOS CUPOS
IDBITACORA IDBITACORA

PowerDesigner 12/05/2017 Page 27


Physical Data Model FISICO

IDGPOTURIST IDGPOTURIST
IDSOLICITUD IDSOLICITUD
IDTURISTA IDTURISTA
ESTADO ESTADO
IDCOMENTARIO IDCOMENTARIO
IDPRODUCTOS IDPRODUCTOS
IDGPOTURIST IDGPOTURIST
IDTURISTA IDTURISTA
COMENTARIO COMENTARIO
ESTADO ESTADO
IDADMIN IDADMIN
CONTRASEnA CONTRASENA3
NOMUSUARIO NOMUSUARIO
NOMBRE01 NOMBRE01_2
NOMBRE02 NOMBRE02_2
NOMBRE03 NOMBRE03_2
APELLIDO01 APELLIDO01_2
APELLIDO02 APELLIDO02_2
APELLIDO03 APELLIDO03_2
IDPAIS IDPAIS
NOMBRE NOMBRE
IDESTADO IDESTADO
ESTADO ESTADO
IDCIUDAD IDCIUDAD
CIUDAD CIUDAD
IDCATEGORIA IDCATEGORIA
CATEGORIA CATEGORIA
IDPREFERENCIA IDPREFERENCIA
IDTURISTA IDTURISTA
IDCATEGORIA IDCATEGORIA
IDDESTINO IDDESTINO
IDGPOTURIST IDGPOTURIST
PREFERENCIA PREFERENCIA
IDPADECIMIENTO IDPADECIMIENTO
PADECIMIENTO PADECIMIENTO

IV.2.1.3 List of table keys


Name Code Table
IDTURISTA IDTURISTA SVV_TURISTA
IDGPOTURIST IDENTIFIER_1 SVV_GPO_TURIST
IDPRODUCTOS IDPRODUCTOS SVV_PRODUCTOS
IDDESTINO IDDESTINO SVV_DESTINOS
IDSOLICITUD IDSOLICITUD SVV_SOLICITUD_INS
IDBITACORA IDBITACORA SVV_BITACORA_SOLICITUD

PowerDesigner 12/05/2017 Page 28


Physical Data Model FISICO

IDCOMENTARIO IDCOMENTARIO SVV_COMENTARIOS_PRODU


CTOS
IDADMIN IDADMIN SVV_ADMINISTRADOR
IDPAIS IDPAIS SVV_PAISES
IDESTADO IDESTADO SVV_ESTADOS
IDCIUDAD IDCIUDAD SVV_CIUDADES
IDCATEGORIA IDCATEGORIA SVV_CATEGORIAS_DESTINO
S
IDPREFERENCIA IDPREFERENCIA SVV_PREFERENCIAS
IDPADECIMIENTO IDPADECIMIENTO SVV_PADECIMIENTOS

IV.2.1.4 List of table indexes


Name Code
Unique Cluster Primary Foreign Alternat Table
Key e Key
SVV_TURISTA_P SVV_TURISTA_P X X SVV_TURISTA
K K
PAISES_TURIST PAISES_TURIST X SVV_TURISTA
AS_FK AS_FK
CIUDADES_TUR CIUDADES_TUR X SVV_TURISTA
ISTAS_FK ISTAS_FK
PADECIMIENTO PADECIMIENTO X SVV_TURISTA
S_TURISTAS_FK S_TURISTAS_FK
ESTADOS_TURIS ESTADOS_TURIS X SVV_TURISTA
TAS_FK TAS_FK
SVV_GPO_TURI SVV_GPO_TURI X X SVV_GPO_TURIS
ST_PK ST_PK T
PAISES_GPO_TU PAISES_GPO_TU X SVV_GPO_TURIS
RIST_FK RIST_FK T
ESTADOS_GPO_ ESTADOS_GPO_ X SVV_GPO_TURIS
TURIST_FK TURIST_FK T
CIUDADES_GPO CIUDADES_GPO X SVV_GPO_TURIS
_TURIST_FK _TURIST_FK T
SVV_PRODUCT SVV_PRODUCTOX X SVV_PRODUCTO
OS_PK S_PK S
GPO_TURIST_PR GPO_TURIST_PR X SVV_PRODUCTO
ODUCTOS_FK ODUCTOS_FK S
DESTINOS_PRO DESTINOS_PRO X SVV_PRODUCTO
DUCTOS_FK DUCTOS_FK S
SVV_DESTINOS_ SVV_DESTINOS_ X X SVV_DESTINOS
PK PK
CATEGORIAS_D CATEGORIAS_D X SVV_DESTINOS
ESTINOS_DESTI ESTINOS_DESTI
NOS_FK NOS_FK

PowerDesigner 12/05/2017 Page 29


Physical Data Model FISICO

DESTINOS_PAIS DESTINOS_PAIS X SVV_DESTINOS


ES_FK ES_FK
DESTINOS_CIUD DESTINOS_CIUD X SVV_DESTINOS
ADES_FK ADES_FK
DESTINOS_ESTA DESTINOS_ESTA X SVV_DESTINOS
DOS_FK DOS_FK
SVV_SOLICITUD SVV_SOLICITUD X X SVV_SOLICITUD
_INS_PK _INS_PK _INS
TURISTA_SOLICITURISTA_SOLICI X SVV_SOLICITUD
TUD_INS_FK TUD_INS_FK _INS
PRODUCTOS_SO PRODUCTOS_SO X SVV_SOLICITUD
LICITUD_INS_F LICITUD_INS_F _INS
K K
SVV_BITACORA SVV_BITACORA X X SVV_BITACORA
_SOLICITUD_PK _SOLICITUD_PK _SOLICITUD
GPO_TURIST_BI GPO_TURIST_BI X SVV_BITACORA
TACORA_SOLICI TACORA_SOLICI _SOLICITUD
TUD_FK TUD_FK
SOLICITUD_INS SOLICITUD_INS X SVV_BITACORA
_BITACORA_SO _BITACORA_SO _SOLICITUD
LICITUD_FK LICITUD_FK
TURISTA_BITAC TURISTA_BITAC X SVV_BITACORA
ORA_SOLICITU ORA_SOLICITU _SOLICITUD
D_FK D_FK
SVV_COMENTA SVV_COMENTA X X SVV_COMENTA
RIOS_PRODUCT RIOS_PRODUCT RIOS_PRODUCT
OS_PK OS_PK OS
PRODUCTOS_CO PRODUCTOS_CO X SVV_COMENTA
MENTARIOS_PR MENTARIOS_PR RIOS_PRODUCT
ODUCTOS_FK ODUCTOS_FK OS
GPO_TURIST_C GPO_TURIST_C X SVV_COMENTA
OMENTARIOS_P OMENTARIOS_P RIOS_PRODUCT
RODUCTOS_FK RODUCTOS_FK OS
TUURISTA_COM TUURISTA_COM X SVV_COMENTA
ENTARIOS_PRO ENTARIOS_PRO RIOS_PRODUCT
DUCTOS_FK DUCTOS_FK OS
SVV_ADMINIST SVV_ADMINIST X X SVV_ADMINIST
RADOR_PK RADOR_PK RADOR
SVV_PAISES_PK SVV_PAISES_PK X X SVV_PAISES
SVV_ESTADOS_ SVV_ESTADOS_ X X SVV_ESTADOS
PK PK
SVV_CIUDADES SVV_CIUDADES X X SVV_CIUDADES
_PK _PK
SVV_CATEGORI SVV_CATEGORI X X SVV_CATEGORI
AS_DESTINOS_P AS_DESTINOS_P AS_DESTINOS
K K

PowerDesigner 12/05/2017 Page 30


Physical Data Model FISICO

SVV_PREFEREN SVV_PREFEREN X X SVV_PREFEREN


CIAS_PK CIAS_PK CIAS
TURISTA_PREFE TURISTA_PREFE X SVV_PREFEREN
RENCIAS_FK RENCIAS_FK CIAS
CATEGORIAS_D CATEGORIAS_D X SVV_PREFEREN
ESTINOS_PREFE ESTINOS_PREFE CIAS
RENCIAS_FK RENCIAS_FK
DESTINOS_PREF DESTINOS_PREF X SVV_PREFEREN
ERENCIAS_FK ERENCIAS_FK CIAS
GPO_TURIST_PR GPO_TURIST_PR X SVV_PREFEREN
EFERENCIAS_FK EFERENCIAS_FK CIAS
SVV_PADECIMIESVV_PADECIMIEX X SVV_PADECIMIE
NTOS_PK NTOS_PK NTOS

IV.2.1.5 Table SVV_ADMINISTRADOR


IV.2.1.5.1 Card of table SVV_ADMINISTRADOR
Name SVV_ADMINISTRADOR
Code SVV_ADMINISTRADOR
DBMS MySQL 5.0

IV.2.1.5.2 Check constraint name of the table SVV_ADMINISTRADOR


TK_SVV_ADMINISTRADOR

IV.2.1.5.3 Server validation rule of the table SVV_ADMINISTRADOR


%RULES%

IV.2.1.5.4 Code preview of the table SVV_ADMINISTRADOR


drop table if exists SVV_ADMINISTRADOR;

/*==============================================================*/
/* Table: SVV_ADMINISTRADOR */
/*==============================================================*/
create table SVV_ADMINISTRADOR
(
IDADMIN int not null,
CONTRASENA3 varchar(50),
NOMUSUARIO varchar(50),
NOMBRE01_2 varchar(50),
NOMBRE02_2 varchar(50),
NOMBRE03_2 varchar(50),
APELLIDO01_2 varchar(50),
APELLIDO02_2 varchar(50),
APELLIDO03_2 varchar(50),
primary key (IDADMIN)
);

PowerDesigner 12/05/2017 Page 31


Physical Data Model FISICO

IV.2.1.5.5 List of diagrams containing the table SVV_ADMINISTRADOR


Name Code
FISICO FISICO

IV.2.1.5.6 List of extended attributes of the table SVV_ADMINISTRADOR


Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.5.7 List of columns of the table SVV_ADMINISTRADOR


Name Code
IDADMIN IDADMIN
CONTRASEnA CONTRASENA3
NOMUSUARIO NOMUSUARIO
NOMBRE01 NOMBRE01_2
NOMBRE02 NOMBRE02_2
NOMBRE03 NOMBRE03_2
APELLIDO01 APELLIDO01_2
APELLIDO02 APELLIDO02_2
APELLIDO03 APELLIDO03_2

IV.2.1.5.8 Column IDADMIN of the table SVV_ADMINISTRADOR


IV.2.1.5.8.1 Card of the column IDADMIN of the table
SVV_ADMINISTRADOR
Name IDADMIN
Code IDADMIN
Data Type int
Mandatory Yes

IV.2.1.5.8.2 Check constraint name of the column IDADMIN of the table


SVV_ADMINISTRADOR
CK_IDADMIN

IV.2.1.5.8.3 Check of the column IDADMIN of the table


SVV_ADMINISTRADOR
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 32


Physical Data Model FISICO

IV.2.1.5.8.4 Server validation rule of the column IDADMIN of the table


SVV_ADMINISTRADOR
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.8.5 List of all dependencies of the table column IDADMIN


Name Code Class Name
IDADMIN IDADMIN Key
IDADMIN IDADMIN Index Column

IV.2.1.5.8.6 List of extended attributes of the table column IDADMIN


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.5.9 Column CONTRASEnA of the table SVV_ADMINISTRADOR


IV.2.1.5.9.1 Card of the column CONTRASEnA of the table
SVV_ADMINISTRADOR
Name CONTRASEnA
Code CONTRASENA3
Data Type varchar(50)
Mandatory No

IV.2.1.5.9.2 Check constraint name of the column CONTRASEnA of the table


SVV_ADMINISTRADOR
CK_CONTRASENA3

IV.2.1.5.9.3 Check of the column CONTRASEnA of the table


SVV_ADMINISTRADOR
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 33


Physical Data Model FISICO

IV.2.1.5.9.4 Server validation rule of the column CONTRASEnA of the table


SVV_ADMINISTRADOR
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.9.5 List of extended attributes of the table column CONTRASEnA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.5.10 Column NOMUSUARIO of the table


SVV_ADMINISTRADOR
IV.2.1.5.10.1 Card of the column NOMUSUARIO of the table
SVV_ADMINISTRADOR
Name NOMUSUARIO
Code NOMUSUARIO
Data Type varchar(50)
Mandatory No

IV.2.1.5.10.2 Check constraint name of the column NOMUSUARIO of the table


SVV_ADMINISTRADOR
CK_NOMUSUARIO

IV.2.1.5.10.3 Check of the column NOMUSUARIO of the table


SVV_ADMINISTRADOR
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.5.10.4 Server validation rule of the column NOMUSUARIO of the table


SVV_ADMINISTRADOR
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.10.5 List of extended attributes of the table column NOMUSUARIO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0

PowerDesigner 12/05/2017 Page 34


Physical Data Model FISICO

National (Boolean) false MySQL 5.0


Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.5.11 Column NOMBRE01 of the table


SVV_ADMINISTRADOR
IV.2.1.5.11.1 Card of the column NOMBRE01 of the table
SVV_ADMINISTRADOR
Name NOMBRE01
Code NOMBRE01_2
Data Type varchar(50)
Mandatory No

IV.2.1.5.11.2 Check constraint name of the column NOMBRE01 of the table


SVV_ADMINISTRADOR
CK_NOMBRE01_2

IV.2.1.5.11.3 Check of the column NOMBRE01 of the table


SVV_ADMINISTRADOR
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.5.11.4 Server validation rule of the column NOMBRE01 of the table


SVV_ADMINISTRADOR
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.11.5 List of extended attributes of the table column NOMBRE01


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 35


Physical Data Model FISICO

IV.2.1.5.12 Column NOMBRE02 of the table


SVV_ADMINISTRADOR
IV.2.1.5.12.1 Card of the column NOMBRE02 of the table
SVV_ADMINISTRADOR
Name NOMBRE02
Code NOMBRE02_2
Data Type varchar(50)
Mandatory No

IV.2.1.5.12.2 Check constraint name of the column NOMBRE02 of the table


SVV_ADMINISTRADOR
CK_NOMBRE02_2

IV.2.1.5.12.3 Check of the column NOMBRE02 of the table


SVV_ADMINISTRADOR
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.5.12.4 Server validation rule of the column NOMBRE02 of the table


SVV_ADMINISTRADOR
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.12.5 List of extended attributes of the table column NOMBRE02


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.5.13 Column NOMBRE03 of the table


SVV_ADMINISTRADOR
IV.2.1.5.13.1 Card of the column NOMBRE03 of the table
SVV_ADMINISTRADOR
Name NOMBRE03
Code NOMBRE03_2

PowerDesigner 12/05/2017 Page 36


Physical Data Model FISICO

Data Type varchar(50)


Mandatory No

IV.2.1.5.13.2 Check constraint name of the column NOMBRE03 of the table


SVV_ADMINISTRADOR
CK_NOMBRE03_2

IV.2.1.5.13.3 Check of the column NOMBRE03 of the table


SVV_ADMINISTRADOR
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.5.13.4 Server validation rule of the column NOMBRE03 of the table


SVV_ADMINISTRADOR
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.13.5 List of extended attributes of the table column NOMBRE03


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.5.14 Column APELLIDO01 of the table


SVV_ADMINISTRADOR
IV.2.1.5.14.1 Card of the column APELLIDO01 of the table
SVV_ADMINISTRADOR
Name APELLIDO01
Code APELLIDO01_2
Data Type varchar(50)
Mandatory No

IV.2.1.5.14.2 Check constraint name of the column APELLIDO01 of the table


SVV_ADMINISTRADOR
CK_APELLIDO01_2

PowerDesigner 12/05/2017 Page 37


Physical Data Model FISICO

IV.2.1.5.14.3 Check of the column APELLIDO01 of the table


SVV_ADMINISTRADOR
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.5.14.4 Server validation rule of the column APELLIDO01 of the table


SVV_ADMINISTRADOR
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.14.5 List of extended attributes of the table column APELLIDO01


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.5.15 Column APELLIDO02 of the table


SVV_ADMINISTRADOR
IV.2.1.5.15.1 Card of the column APELLIDO02 of the table
SVV_ADMINISTRADOR
Name APELLIDO02
Code APELLIDO02_2
Data Type varchar(50)
Mandatory No

IV.2.1.5.15.2 Check constraint name of the column APELLIDO02 of the table


SVV_ADMINISTRADOR
CK_APELLIDO02_2

IV.2.1.5.15.3 Check of the column APELLIDO02 of the table


SVV_ADMINISTRADOR
Minimum Value
Maximum Value
Default Value
Unit
Format

PowerDesigner 12/05/2017 Page 38


Physical Data Model FISICO

Cannot Modify No
List Of Values

IV.2.1.5.15.4 Server validation rule of the column APELLIDO02 of the table


SVV_ADMINISTRADOR
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.15.5 List of extended attributes of the table column APELLIDO02


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.5.16 Column APELLIDO03 of the table


SVV_ADMINISTRADOR
IV.2.1.5.16.1 Card of the column APELLIDO03 of the table
SVV_ADMINISTRADOR
Name APELLIDO03
Code APELLIDO03_2
Data Type varchar(50)
Mandatory No

IV.2.1.5.16.2 Check constraint name of the column APELLIDO03 of the table


SVV_ADMINISTRADOR
CK_APELLIDO03_2

IV.2.1.5.16.3 Check of the column APELLIDO03 of the table


SVV_ADMINISTRADOR
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.5.16.4 Server validation rule of the column APELLIDO03 of the table


SVV_ADMINISTRADOR
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

PowerDesigner 12/05/2017 Page 39


Physical Data Model FISICO

IV.2.1.5.16.5 List of extended attributes of the table column APELLIDO03


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.5.17 List of keys of the table SVV_ADMINISTRADOR


Name Code Primary
IDADMIN IDADMIN X

IV.2.1.5.18 Key IDADMIN of the table SVV_ADMINISTRADOR


IV.2.1.5.18.1 Card of the key IDADMIN of the table SVV_ADMINISTRADOR
Name IDADMIN
Code IDADMIN
Table SVV_ADMINISTRADOR

IV.2.1.5.18.2 Code preview of the key IDADMIN of the table


SVV_ADMINISTRADOR
alter table SVV_ADMINISTRADOR
drop primary key;

IV.2.1.5.18.3 List of columns of the table key IDADMIN


Name Code
IDADMIN IDADMIN

IV.2.1.5.18.4 List of all dependencies of the table key IDADMIN


Name Code Class Name
SVV_ADMINISTRADOR_PK SVV_ADMINISTRADOR_PK Index

IV.2.1.5.18.5 List of extended attributes of the table key IDADMIN


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.5.19 List of indexes of the table SVV_ADMINISTRADOR


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_ADMINISTR SVV_ADMINISTR X X

PowerDesigner 12/05/2017 Page 40


Physical Data Model FISICO

ADOR_PK ADOR_PK

IV.2.1.5.20 Index SVV_ADMINISTRADOR_PK of the table


SVV_ADMINISTRADOR
IV.2.1.5.20.1 Card of the index SVV_ADMINISTRADOR_PK of the table
SVV_ADMINISTRADOR
Name SVV_ADMINISTRADOR_PK
Code SVV_ADMINISTRADOR_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_ADMINISTRADOR

IV.2.1.5.20.2 Code preview of the index SVV_ADMINISTRADOR_PK of the


table SVV_ADMINISTRADOR
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.5.20.3 List of index columns of the table index


SVV_ADMINISTRADOR_PK
Name Code Sort
IDADMIN IDADMIN Ascending

IV.2.1.5.20.4 List of extended attributes of the table index


SVV_ADMINISTRADOR_PK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.6 Table SVV_BITACORA_SOLICITUD


IV.2.1.6.1 Card of table SVV_BITACORA_SOLICITUD
Name SVV_BITACORA_SOLICITUD
Code SVV_BITACORA_SOLICITUD
DBMS MySQL 5.0

IV.2.1.6.2 Check constraint name of the table


SVV_BITACORA_SOLICITUD
TK_SVV_BITACORA_SOLICITUD

PowerDesigner 12/05/2017 Page 41


Physical Data Model FISICO

IV.2.1.6.3 Server validation rule of the table


SVV_BITACORA_SOLICITUD
%RULES%

IV.2.1.6.4 Code preview of the table SVV_BITACORA_SOLICITUD


drop table if exists SVV_BITACORA_SOLICITUD;

/*==============================================================*/
/* Table: SVV_BITACORA_SOLICITUD */
/*==============================================================*/
create table SVV_BITACORA_SOLICITUD
(
IDBITACORA int not null,
IDGPOTURIST int not null,
IDSOLICITUD int not null,
IDTURISTA int not null,
ESTADO int,
primary key (IDBITACORA)
);

alter table SVV_BITACORA_SOLICITUD add constraint FK_GPO_TURIST_BITACORA_SOLICITUD foreign key


(IDGPOTURIST)
references SVV_GPO_TURIST (IDGPOTURIST) on delete restrict on update restrict;

alter table SVV_BITACORA_SOLICITUD add constraint FK_SOLICITUD_INS_BITACORA_SOLICITUD foreign key


(IDSOLICITUD)
references SVV_SOLICITUD_INS (IDSOLICITUD) on delete restrict on update restrict;

alter table SVV_BITACORA_SOLICITUD add constraint FK_TURISTA_BITACORA_SOLICITUD foreign key


(IDTURISTA)
references SVV_TURISTA (IDTURISTA) on delete restrict on update restrict;

IV.2.1.6.5 List of diagrams containing the table


SVV_BITACORA_SOLICITUD
Name Code
FISICO FISICO

IV.2.1.6.6 List of outgoing references of the table


SVV_BITACORA_SOLICITUD
Name Code Foreign Key Columns
GPO_TURIST_BITACORA_ GPO_TURIST_BITACORA_ IDGPOTURIST
SOLICITUD SOLICITUD
SOLICITUD_INS_BITACOR SOLICITUD_INS_BITACOR IDSOLICITUD
A_SOLICITUD A_SOLICITUD
TURISTA_BITACORA_SOLI TURISTA_BITACORA_SOLI IDTURISTA
CITUD CITUD

PowerDesigner 12/05/2017 Page 42


Physical Data Model FISICO

IV.2.1.6.7 List of all dependencies of the table


SVV_BITACORA_SOLICITUD
Name Code Class Name
GPO_TURIST_BITACORA_SOLICITU GPO_TURIST_BITACORA_SOLICITU Reference
D D
SOLICITUD_INS_BITACORA_SOLIC SOLICITUD_INS_BITACORA_SOLIC Reference
ITUD ITUD
TURISTA_BITACORA_SOLICITUD TURISTA_BITACORA_SOLICITUD Reference

IV.2.1.6.8 List of extended attributes of the table


SVV_BITACORA_SOLICITUD
Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.6.9 List of columns of the table SVV_BITACORA_SOLICITUD


Name Code
IDBITACORA IDBITACORA
IDGPOTURIST IDGPOTURIST
IDSOLICITUD IDSOLICITUD
IDTURISTA IDTURISTA
ESTADO ESTADO

IV.2.1.6.10 Column IDBITACORA of the table


SVV_BITACORA_SOLICITUD
IV.2.1.6.10.1 Card of the column IDBITACORA of the table
SVV_BITACORA_SOLICITUD
Name IDBITACORA
Code IDBITACORA
Data Type int
Mandatory Yes

IV.2.1.6.10.2 Check constraint name of the column IDBITACORA of the table


SVV_BITACORA_SOLICITUD
CK_IDBITACORA

IV.2.1.6.10.3 Check of the column IDBITACORA of the table


SVV_BITACORA_SOLICITUD
Minimum Value
Maximum Value
Default Value
Unit

PowerDesigner 12/05/2017 Page 43


Physical Data Model FISICO

Format
Cannot Modify No
List Of Values

IV.2.1.6.10.4 Server validation rule of the column IDBITACORA of the table


SVV_BITACORA_SOLICITUD
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.10.5 List of all dependencies of the table column IDBITACORA


Name Code Class Name
IDBITACORA IDBITACORA Key
IDBITACORA IDBITACORA Index Column

IV.2.1.6.10.6 List of extended attributes of the table column IDBITACORA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.6.11 Column IDGPOTURIST of the table


SVV_BITACORA_SOLICITUD
IV.2.1.6.11.1 Card of the column IDGPOTURIST of the table
SVV_BITACORA_SOLICITUD
Name IDGPOTURIST
Code IDGPOTURIST
Data Type int
Mandatory Yes

IV.2.1.6.11.2 Check constraint name of the column IDGPOTURIST of the table


SVV_BITACORA_SOLICITUD
CK_IDGPOTURIST

IV.2.1.6.11.3 Check of the column IDGPOTURIST of the table


SVV_BITACORA_SOLICITUD
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No

PowerDesigner 12/05/2017 Page 44


Physical Data Model FISICO

List Of Values

IV.2.1.6.11.4 Server validation rule of the column IDGPOTURIST of the table


SVV_BITACORA_SOLICITUD
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.11.5 List of all dependencies of the table column IDGPOTURIST


Name Code Class Name
IDGPOTURIST IDGPOTURIST Index Column
? ? Reference Join

IV.2.1.6.11.6 List of extended attributes of the table column IDGPOTURIST


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.6.12 Column IDSOLICITUD of the table


SVV_BITACORA_SOLICITUD
IV.2.1.6.12.1 Card of the column IDSOLICITUD of the table
SVV_BITACORA_SOLICITUD
Name IDSOLICITUD
Code IDSOLICITUD
Data Type int
Mandatory Yes

IV.2.1.6.12.2 Check constraint name of the column IDSOLICITUD of the table


SVV_BITACORA_SOLICITUD
CK_IDSOLICITUD

IV.2.1.6.12.3 Check of the column IDSOLICITUD of the table


SVV_BITACORA_SOLICITUD
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 45


Physical Data Model FISICO

IV.2.1.6.12.4 Server validation rule of the column IDSOLICITUD of the table


SVV_BITACORA_SOLICITUD
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.12.5 List of all dependencies of the table column IDSOLICITUD


Name Code Class Name
IDSOLICITUD IDSOLICITUD Index Column
? ? Reference Join

IV.2.1.6.12.6 List of extended attributes of the table column IDSOLICITUD


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.6.13 Column IDTURISTA of the table


SVV_BITACORA_SOLICITUD
IV.2.1.6.13.1 Card of the column IDTURISTA of the table
SVV_BITACORA_SOLICITUD
Name IDTURISTA
Code IDTURISTA
Data Type int
Mandatory Yes

IV.2.1.6.13.2 Check constraint name of the column IDTURISTA of the table


SVV_BITACORA_SOLICITUD
CK_IDTURISTA

IV.2.1.6.13.3 Check of the column IDTURISTA of the table


SVV_BITACORA_SOLICITUD
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 46


Physical Data Model FISICO

IV.2.1.6.13.4 Server validation rule of the column IDTURISTA of the table


SVV_BITACORA_SOLICITUD
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.13.5 List of all dependencies of the table column IDTURISTA


Name Code Class Name
IDTURISTA IDTURISTA Index Column
? ? Reference Join

IV.2.1.6.13.6 List of extended attributes of the table column IDTURISTA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.6.14 Column ESTADO of the table


SVV_BITACORA_SOLICITUD
IV.2.1.6.14.1 Card of the column ESTADO of the table
SVV_BITACORA_SOLICITUD
Name ESTADO
Code ESTADO
Data Type int
Mandatory No

IV.2.1.6.14.2 Check constraint name of the column ESTADO of the table


SVV_BITACORA_SOLICITUD
CK_ESTADO

IV.2.1.6.14.3 Check of the column ESTADO of the table


SVV_BITACORA_SOLICITUD
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 47


Physical Data Model FISICO

IV.2.1.6.14.4 Server validation rule of the column ESTADO of the table


SVV_BITACORA_SOLICITUD
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.14.5 List of extended attributes of the table column ESTADO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.6.15 List of keys of the table SVV_BITACORA_SOLICITUD


Name Code Primary
IDBITACORA IDBITACORA X

IV.2.1.6.16 Key IDBITACORA of the table


SVV_BITACORA_SOLICITUD
IV.2.1.6.16.1 Card of the key IDBITACORA of the table
SVV_BITACORA_SOLICITUD
Name IDBITACORA
Code IDBITACORA
Table SVV_BITACORA_SOLICITUD

IV.2.1.6.16.2 Code preview of the key IDBITACORA of the table


SVV_BITACORA_SOLICITUD
alter table SVV_BITACORA_SOLICITUD
drop primary key;

IV.2.1.6.16.3 List of columns of the table key IDBITACORA


Name Code
IDBITACORA IDBITACORA

IV.2.1.6.16.4 List of all dependencies of the table key IDBITACORA


Name Code Class Name
SVV_BITACORA_SOLICITUD_PK SVV_BITACORA_SOLICITUD_PK Index

IV.2.1.6.16.5 List of extended attributes of the table key IDBITACORA


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 48


Physical Data Model FISICO

IV.2.1.6.17 List of indexes of the table SVV_BITACORA_SOLICITUD


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_BITACORA_ SVV_BITACORA_ X X
SOLICITUD_PK SOLICITUD_PK
GPO_TURIST_BIT GPO_TURIST_BIT X
ACORA_SOLICIT ACORA_SOLICIT
UD_FK UD_FK
SOLICITUD_INS_ SOLICITUD_INS_ X
BITACORA_SOLI BITACORA_SOLI
CITUD_FK CITUD_FK
TURISTA_BITACO TURISTA_BITACO X
RA_SOLICITUD_F RA_SOLICITUD_F
K K

IV.2.1.6.18 Index SVV_BITACORA_SOLICITUD_PK of the table


SVV_BITACORA_SOLICITUD
IV.2.1.6.18.1 Card of the index SVV_BITACORA_SOLICITUD_PK of the table
SVV_BITACORA_SOLICITUD
Name SVV_BITACORA_SOLICITUD_PK
Code SVV_BITACORA_SOLICITUD_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_BITACORA_SOLICITUD

IV.2.1.6.18.2 Code preview of the index SVV_BITACORA_SOLICITUD_PK of


the table SVV_BITACORA_SOLICITUD
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.6.18.3 List of index columns of the table index


SVV_BITACORA_SOLICITUD_PK
Name Code Sort
IDBITACORA IDBITACORA Ascending

IV.2.1.6.18.4 List of extended attributes of the table index


SVV_BITACORA_SOLICITUD_PK
Name Data Type Value Target Name

PowerDesigner 12/05/2017 Page 49


Physical Data Model FISICO

FullText (Boolean) false MySQL 5.0

IV.2.1.6.19 Index GPO_TURIST_BITACORA_SOLICITUD_FK of


the table SVV_BITACORA_SOLICITUD
IV.2.1.6.19.1 Card of the index GPO_TURIST_BITACORA_SOLICITUD_FK
of the table SVV_BITACORA_SOLICITUD
Name GPO_TURIST_BITACORA_SOLICITUD_FK
Code GPO_TURIST_BITACORA_SOLICITUD_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_BITACORA_SOLICITUD

IV.2.1.6.19.2 Code preview of the index


GPO_TURIST_BITACORA_SOLICITUD_FK of the table
SVV_BITACORA_SOLICITUD
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.6.19.3 List of index columns of the table index


GPO_TURIST_BITACORA_SOLICITUD_FK
Name Code Sort
IDGPOTURIST IDGPOTURIST Ascending

IV.2.1.6.19.4 List of extended attributes of the table index


GPO_TURIST_BITACORA_SOLICITUD_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.6.20 Index SOLICITUD_INS_BITACORA_SOLICITUD_FK


of the table SVV_BITACORA_SOLICITUD
IV.2.1.6.20.1 Card of the index
SOLICITUD_INS_BITACORA_SOLICITUD_FK of the table
SVV_BITACORA_SOLICITUD
Name SOLICITUD_INS_BITACORA_SOLICITUD_FK
Code SOLICITUD_INS_BITACORA_SOLICITUD_FK
Unique No
Cluster No
Primary No

PowerDesigner 12/05/2017 Page 50


Physical Data Model FISICO

Foreign Key Yes


Alternate Key No
Table SVV_BITACORA_SOLICITUD

IV.2.1.6.20.2 Code preview of the index


SOLICITUD_INS_BITACORA_SOLICITUD_FK of the table
SVV_BITACORA_SOLICITUD
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.6.20.3 List of index columns of the table index


SOLICITUD_INS_BITACORA_SOLICITUD_FK
Name Code Sort
IDSOLICITUD IDSOLICITUD Ascending

IV.2.1.6.20.4 List of extended attributes of the table index


SOLICITUD_INS_BITACORA_SOLICITUD_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.6.21 Index TURISTA_BITACORA_SOLICITUD_FK of the


table SVV_BITACORA_SOLICITUD
IV.2.1.6.21.1 Card of the index TURISTA_BITACORA_SOLICITUD_FK of the
table SVV_BITACORA_SOLICITUD
Name TURISTA_BITACORA_SOLICITUD_FK
Code TURISTA_BITACORA_SOLICITUD_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_BITACORA_SOLICITUD

IV.2.1.6.21.2 Code preview of the index


TURISTA_BITACORA_SOLICITUD_FK of the table
SVV_BITACORA_SOLICITUD
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.6.21.3 List of index columns of the table index


TURISTA_BITACORA_SOLICITUD_FK
Name Code Sort

PowerDesigner 12/05/2017 Page 51


Physical Data Model FISICO

IDTURISTA IDTURISTA Ascending

IV.2.1.6.21.4 List of extended attributes of the table index


TURISTA_BITACORA_SOLICITUD_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.7 Table SVV_CATEGORIAS_DESTINOS


IV.2.1.7.1 Card of table SVV_CATEGORIAS_DESTINOS
Name SVV_CATEGORIAS_DESTINOS
Code SVV_CATEGORIAS_DESTINOS
DBMS MySQL 5.0

IV.2.1.7.2 Check constraint name of the table


SVV_CATEGORIAS_DESTINOS
TK_SVV_CATEGORIAS_DESTINOS

IV.2.1.7.3 Server validation rule of the table


SVV_CATEGORIAS_DESTINOS
%RULES%

IV.2.1.7.4 Code preview of the table SVV_CATEGORIAS_DESTINOS


drop table if exists SVV_CATEGORIAS_DESTINOS;

/*==============================================================*/
/* Table: SVV_CATEGORIAS_DESTINOS */
/*==============================================================*/
create table SVV_CATEGORIAS_DESTINOS
(
IDCATEGORIA int not null,
CATEGORIA varchar(20) not null,
primary key (IDCATEGORIA)
);

IV.2.1.7.5 List of diagrams containing the table


SVV_CATEGORIAS_DESTINOS
Name Code
FISICO FISICO

IV.2.1.7.6 List of incoming references of the table


SVV_CATEGORIAS_DESTINOS
Name Code

PowerDesigner 12/05/2017 Page 52


Physical Data Model FISICO

CATEGORIAS_DESTINOS_DESTINOS CATEGORIAS_DESTINOS_DESTINOS
CATEGORIAS_DESTINOS_PREFERENCIAS CATEGORIAS_DESTINOS_PREFERENCIAS

IV.2.1.7.7 List of all dependencies of the table


SVV_CATEGORIAS_DESTINOS
Name Code Class Name
CATEGORIAS_DESTINOS_DESTINO CATEGORIAS_DESTINOS_DESTINO Reference
S S
CATEGORIAS_DESTINOS_PREFERE CATEGORIAS_DESTINOS_PREFERE Reference
NCIAS NCIAS

IV.2.1.7.8 List of extended attributes of the table


SVV_CATEGORIAS_DESTINOS
Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.7.9 List of columns of the table SVV_CATEGORIAS_DESTINOS


Name Code
IDCATEGORIA IDCATEGORIA
CATEGORIA CATEGORIA

IV.2.1.7.10 Column IDCATEGORIA of the table


SVV_CATEGORIAS_DESTINOS
IV.2.1.7.10.1 Card of the column IDCATEGORIA of the table
SVV_CATEGORIAS_DESTINOS
Name IDCATEGORIA
Code IDCATEGORIA
Data Type int
Mandatory Yes

IV.2.1.7.10.2 Check constraint name of the column IDCATEGORIA of the table


SVV_CATEGORIAS_DESTINOS
CK_IDCATEGORIA

IV.2.1.7.10.3 Check of the column IDCATEGORIA of the table


SVV_CATEGORIAS_DESTINOS
Minimum Value
Maximum Value
Default Value
Unit

PowerDesigner 12/05/2017 Page 53


Physical Data Model FISICO

Format
Cannot Modify No
List Of Values

IV.2.1.7.10.4 Server validation rule of the column IDCATEGORIA of the table


SVV_CATEGORIAS_DESTINOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.7.10.5 List of all dependencies of the table column IDCATEGORIA


Name Code Class Name
IDCATEGORIA IDCATEGORIA Index Column
IDCATEGORIA IDCATEGORIA Key
? ? Reference Join
? ? Reference Join

IV.2.1.7.10.6 List of extended attributes of the table column IDCATEGORIA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.7.11 Column CATEGORIA of the table


SVV_CATEGORIAS_DESTINOS
IV.2.1.7.11.1 Card of the column CATEGORIA of the table
SVV_CATEGORIAS_DESTINOS
Name CATEGORIA
Code CATEGORIA
Data Type varchar(20)
Mandatory Yes

IV.2.1.7.11.2 Check constraint name of the column CATEGORIA of the table


SVV_CATEGORIAS_DESTINOS
CK_CATEGORIA

IV.2.1.7.11.3 Check of the column CATEGORIA of the table


SVV_CATEGORIAS_DESTINOS
Minimum Value
Maximum Value
Default Value
Unit

PowerDesigner 12/05/2017 Page 54


Physical Data Model FISICO

Format
Cannot Modify No
List Of Values

IV.2.1.7.11.4 Server validation rule of the column CATEGORIA of the table


SVV_CATEGORIAS_DESTINOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.7.11.5 List of extended attributes of the table column CATEGORIA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.7.12 List of keys of the table SVV_CATEGORIAS_DESTINOS


Name Code Primary
IDCATEGORIA IDCATEGORIA X

IV.2.1.7.13 Key IDCATEGORIA of the table


SVV_CATEGORIAS_DESTINOS
IV.2.1.7.13.1 Card of the key IDCATEGORIA of the table
SVV_CATEGORIAS_DESTINOS
Name IDCATEGORIA
Code IDCATEGORIA
Table SVV_CATEGORIAS_DESTINOS

IV.2.1.7.13.2 Code preview of the key IDCATEGORIA of the table


SVV_CATEGORIAS_DESTINOS
alter table SVV_CATEGORIAS_DESTINOS
drop primary key;

IV.2.1.7.13.3 List of columns of the table key IDCATEGORIA


Name Code
IDCATEGORIA IDCATEGORIA

IV.2.1.7.13.4 List of all dependencies of the table key IDCATEGORIA


Name Code Class Name
CATEGORIAS_DESTINOS_DESTINO CATEGORIAS_DESTINOS_DESTINO Reference

PowerDesigner 12/05/2017 Page 55


Physical Data Model FISICO

S S
CATEGORIAS_DESTINOS_PREFERE CATEGORIAS_DESTINOS_PREFERE Reference
NCIAS NCIAS
SVV_CATEGORIAS_DESTINOS_PK SVV_CATEGORIAS_DESTINOS_PK Index

IV.2.1.7.13.5 List of extended attributes of the table key IDCATEGORIA


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.7.14 List of indexes of the table


SVV_CATEGORIAS_DESTINOS
Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_CATEGORIA SVV_CATEGORIA X X
S_DESTINOS_PK S_DESTINOS_PK

IV.2.1.7.15 Index SVV_CATEGORIAS_DESTINOS_PK of the table


SVV_CATEGORIAS_DESTINOS
IV.2.1.7.15.1 Card of the index SVV_CATEGORIAS_DESTINOS_PK of the
table SVV_CATEGORIAS_DESTINOS
Name SVV_CATEGORIAS_DESTINOS_PK
Code SVV_CATEGORIAS_DESTINOS_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_CATEGORIAS_DESTINOS

IV.2.1.7.15.2 Code preview of the index SVV_CATEGORIAS_DESTINOS_PK


of the table SVV_CATEGORIAS_DESTINOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.7.15.3 List of index columns of the table index


SVV_CATEGORIAS_DESTINOS_PK
Name Code Sort
IDCATEGORIA IDCATEGORIA Ascending

PowerDesigner 12/05/2017 Page 56


Physical Data Model FISICO

IV.2.1.7.15.4 List of extended attributes of the table index


SVV_CATEGORIAS_DESTINOS_PK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.8 Table SVV_CIUDADES


IV.2.1.8.1 Card of table SVV_CIUDADES
Name SVV_CIUDADES
Code SVV_CIUDADES
DBMS MySQL 5.0

IV.2.1.8.2 Check constraint name of the table SVV_CIUDADES


TK_SVV_CIUDADES

IV.2.1.8.3 Server validation rule of the table SVV_CIUDADES


%RULES%

IV.2.1.8.4 Code preview of the table SVV_CIUDADES


drop table if exists SVV_CIUDADES;

/*==============================================================*/
/* Table: SVV_CIUDADES */
/*==============================================================*/
create table SVV_CIUDADES
(
IDCIUDAD int not null,
CIUDAD char(10) not null,
primary key (IDCIUDAD)
);

IV.2.1.8.5 List of diagrams containing the table SVV_CIUDADES


Name Code
FISICO FISICO

IV.2.1.8.6 List of incoming references of the table SVV_CIUDADES


Name Code
CIUDADES_GPO_TURIST CIUDADES_GPO_TURIST
CIUDADES_TURISTAS CIUDADES_TURISTAS
DESTINOS_CIUDADES DESTINOS_CIUDADES

IV.2.1.8.7 List of all dependencies of the table SVV_CIUDADES


Name Code Class Name

PowerDesigner 12/05/2017 Page 57


Physical Data Model FISICO

CIUDADES_GPO_TURIST CIUDADES_GPO_TURIST Reference


CIUDADES_TURISTAS CIUDADES_TURISTAS Reference
DESTINOS_CIUDADES DESTINOS_CIUDADES Reference

IV.2.1.8.8 List of extended attributes of the table SVV_CIUDADES


Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.8.9 List of columns of the table SVV_CIUDADES


Name Code
IDCIUDAD IDCIUDAD
CIUDAD CIUDAD

IV.2.1.8.10 Column IDCIUDAD of the table SVV_CIUDADES


IV.2.1.8.10.1 Card of the column IDCIUDAD of the table SVV_CIUDADES
Name IDCIUDAD
Code IDCIUDAD
Data Type int
Mandatory Yes

IV.2.1.8.10.2 Check constraint name of the column IDCIUDAD of the table


SVV_CIUDADES
CK_IDCIUDAD

IV.2.1.8.10.3 Check of the column IDCIUDAD of the table SVV_CIUDADES


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.8.10.4 Server validation rule of the column IDCIUDAD of the table


SVV_CIUDADES
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.8.10.5 List of all dependencies of the table column IDCIUDAD


Name Code Class Name
IDCIUDAD IDCIUDAD Index Column

PowerDesigner 12/05/2017 Page 58


Physical Data Model FISICO

IDCIUDAD IDCIUDAD Key


? ? Reference Join
? ? Reference Join
? ? Reference Join

IV.2.1.8.10.6 List of extended attributes of the table column IDCIUDAD


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.8.11 Column CIUDAD of the table SVV_CIUDADES


IV.2.1.8.11.1 Card of the column CIUDAD of the table SVV_CIUDADES
Name CIUDAD
Code CIUDAD
Data Type <Undefined>
Mandatory Yes

IV.2.1.8.11.2 Check constraint name of the column CIUDAD of the table


SVV_CIUDADES
CK_CIUDAD

IV.2.1.8.11.3 Check of the column CIUDAD of the table SVV_CIUDADES


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.8.11.4 Server validation rule of the column CIUDAD of the table


SVV_CIUDADES
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.8.11.5 List of extended attributes of the table column CIUDAD


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0

PowerDesigner 12/05/2017 Page 59


Physical Data Model FISICO

National (Boolean) false MySQL 5.0


Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.8.12 List of keys of the table SVV_CIUDADES


Name Code Primary
IDCIUDAD IDCIUDAD X

IV.2.1.8.13 Key IDCIUDAD of the table SVV_CIUDADES


IV.2.1.8.13.1 Card of the key IDCIUDAD of the table SVV_CIUDADES
Name IDCIUDAD
Code IDCIUDAD
Table SVV_CIUDADES

IV.2.1.8.13.2 Code preview of the key IDCIUDAD of the table SVV_CIUDADES


alter table SVV_CIUDADES
drop primary key;

IV.2.1.8.13.3 List of columns of the table key IDCIUDAD


Name Code
IDCIUDAD IDCIUDAD

IV.2.1.8.13.4 List of all dependencies of the table key IDCIUDAD


Name Code Class Name
CIUDADES_GPO_TURIST CIUDADES_GPO_TURIST Reference
CIUDADES_TURISTAS CIUDADES_TURISTAS Reference
DESTINOS_CIUDADES DESTINOS_CIUDADES Reference
SVV_CIUDADES_PK SVV_CIUDADES_PK Index

IV.2.1.8.13.5 List of extended attributes of the table key IDCIUDAD


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.8.14 List of indexes of the table SVV_CIUDADES


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_CIUDADES_ SVV_CIUDADES_ X X
PK PK

PowerDesigner 12/05/2017 Page 60


Physical Data Model FISICO

IV.2.1.8.15 Index SVV_CIUDADES_PK of the table


SVV_CIUDADES
IV.2.1.8.15.1 Card of the index SVV_CIUDADES_PK of the table
SVV_CIUDADES
Name SVV_CIUDADES_PK
Code SVV_CIUDADES_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_CIUDADES

IV.2.1.8.15.2 Code preview of the index SVV_CIUDADES_PK of the table


SVV_CIUDADES
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.8.15.3 List of index columns of the table index SVV_CIUDADES_PK


Name Code Sort
IDCIUDAD IDCIUDAD Ascending

IV.2.1.8.15.4 List of extended attributes of the table index SVV_CIUDADES_PK


Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.9 Table SVV_COMENTARIOS_PRODUCTOS


IV.2.1.9.1 Card of table SVV_COMENTARIOS_PRODUCTOS
Name SVV_COMENTARIOS_PRODUCTOS
Code SVV_COMENTARIOS_PRODUCTOS
DBMS MySQL 5.0

IV.2.1.9.2 Check constraint name of the table


SVV_COMENTARIOS_PRODUCTOS
TK_SVV_COMENTARIOS_PRODUCTOS

IV.2.1.9.3 Server validation rule of the table


SVV_COMENTARIOS_PRODUCTOS
%RULES%

PowerDesigner 12/05/2017 Page 61


Physical Data Model FISICO

IV.2.1.9.4 Code preview of the table SVV_COMENTARIOS_PRODUCTOS


drop table if exists SVV_COMENTARIOS_PRODUCTOS;

/*==============================================================*/
/* Table: SVV_COMENTARIOS_PRODUCTOS */
/*==============================================================*/
create table SVV_COMENTARIOS_PRODUCTOS
(
IDCOMENTARIO int not null,
IDPRODUCTOS int not null,
IDGPOTURIST int not null,
IDTURISTA int not null,
COMENTARIO text,
ESTADO int,
primary key (IDCOMENTARIO)
);

alter table SVV_COMENTARIOS_PRODUCTOS add constraint FK_GPO_TURIST_COMENTARIOS_PRODUCTOS


foreign key (IDGPOTURIST)
references SVV_GPO_TURIST (IDGPOTURIST) on delete restrict on update restrict;

alter table SVV_COMENTARIOS_PRODUCTOS add constraint FK_PRODUCTOS_COMENTARIOS_PRODUCTOS


foreign key (IDPRODUCTOS)
references SVV_PRODUCTOS (IDPRODUCTOS) on delete restrict on update restrict;

alter table SVV_COMENTARIOS_PRODUCTOS add constraint FK_TUURISTA_COMENTARIOS_PRODUCTOS


foreign key (IDTURISTA)
references SVV_TURISTA (IDTURISTA) on delete restrict on update restrict;

IV.2.1.9.5 List of diagrams containing the table


SVV_COMENTARIOS_PRODUCTOS
Name Code
FISICO FISICO

IV.2.1.9.6 List of outgoing references of the table


SVV_COMENTARIOS_PRODUCTOS
Name Code Foreign Key Columns
GPO_TURIST_COMENTARI GPO_TURIST_COMENTARI IDGPOTURIST
OS_PRODUCTOS OS_PRODUCTOS
PRODUCTOS_COMENTARI PRODUCTOS_COMENTARI IDPRODUCTOS
OS_PRODUCTOS OS_PRODUCTOS
TUURISTA_COMENTARIO TUURISTA_COMENTARIO IDTURISTA
S_PRODUCTOS S_PRODUCTOS

IV.2.1.9.7 List of all dependencies of the table


SVV_COMENTARIOS_PRODUCTOS
Name Code Class Name

PowerDesigner 12/05/2017 Page 62


Physical Data Model FISICO

GPO_TURIST_COMENTARIOS_PRO GPO_TURIST_COMENTARIOS_PRO Reference


DUCTOS DUCTOS
PRODUCTOS_COMENTARIOS_PRO PRODUCTOS_COMENTARIOS_PRO Reference
DUCTOS DUCTOS
TUURISTA_COMENTARIOS_PRODU TUURISTA_COMENTARIOS_PRODU Reference
CTOS CTOS

IV.2.1.9.8 List of extended attributes of the table


SVV_COMENTARIOS_PRODUCTOS
Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.9.9 List of columns of the table


SVV_COMENTARIOS_PRODUCTOS
Name Code
IDCOMENTARIO IDCOMENTARIO
IDPRODUCTOS IDPRODUCTOS
IDGPOTURIST IDGPOTURIST
IDTURISTA IDTURISTA
COMENTARIO COMENTARIO
ESTADO ESTADO

IV.2.1.9.10 Column IDCOMENTARIO of the table


SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.10.1 Card of the column IDCOMENTARIO of the table
SVV_COMENTARIOS_PRODUCTOS
Name IDCOMENTARIO
Code IDCOMENTARIO
Data Type int
Mandatory Yes

IV.2.1.9.10.2 Check constraint name of the column IDCOMENTARIO of the


table SVV_COMENTARIOS_PRODUCTOS
CK_IDCOMENTARIO

IV.2.1.9.10.3 Check of the column IDCOMENTARIO of the table


SVV_COMENTARIOS_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit

PowerDesigner 12/05/2017 Page 63


Physical Data Model FISICO

Format
Cannot Modify No
List Of Values

IV.2.1.9.10.4 Server validation rule of the column IDCOMENTARIO of the table


SVV_COMENTARIOS_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.9.10.5 List of all dependencies of the table column IDCOMENTARIO


Name Code Class Name
IDCOMENTARIO IDCOMENTARIO Key
IDCOMENTARIO IDCOMENTARIO Index Column

IV.2.1.9.10.6 List of extended attributes of the table column IDCOMENTARIO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.9.11 Column IDPRODUCTOS of the table


SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.11.1 Card of the column IDPRODUCTOS of the table
SVV_COMENTARIOS_PRODUCTOS
Name IDPRODUCTOS
Code IDPRODUCTOS
Data Type int
Mandatory Yes

IV.2.1.9.11.2 Check constraint name of the column IDPRODUCTOS of the table


SVV_COMENTARIOS_PRODUCTOS
CK_IDPRODUCTOS

IV.2.1.9.11.3 Check of the column IDPRODUCTOS of the table


SVV_COMENTARIOS_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No

PowerDesigner 12/05/2017 Page 64


Physical Data Model FISICO

List Of Values

IV.2.1.9.11.4 Server validation rule of the column IDPRODUCTOS of the table


SVV_COMENTARIOS_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.9.11.5 List of all dependencies of the table column IDPRODUCTOS


Name Code Class Name
IDPRODUCTOS IDPRODUCTOS Index Column
? ? Reference Join

IV.2.1.9.11.6 List of extended attributes of the table column IDPRODUCTOS


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.9.12 Column IDGPOTURIST of the table


SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.12.1 Card of the column IDGPOTURIST of the table
SVV_COMENTARIOS_PRODUCTOS
Name IDGPOTURIST
Code IDGPOTURIST
Data Type int
Mandatory Yes

IV.2.1.9.12.2 Check constraint name of the column IDGPOTURIST of the table


SVV_COMENTARIOS_PRODUCTOS
CK_IDGPOTURIST

IV.2.1.9.12.3 Check of the column IDGPOTURIST of the table


SVV_COMENTARIOS_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 65


Physical Data Model FISICO

IV.2.1.9.12.4 Server validation rule of the column IDGPOTURIST of the table


SVV_COMENTARIOS_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.9.12.5 List of all dependencies of the table column IDGPOTURIST


Name Code Class Name
IDGPOTURIST IDGPOTURIST Index Column
? ? Reference Join

IV.2.1.9.12.6 List of extended attributes of the table column IDGPOTURIST


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.9.13 Column IDTURISTA of the table


SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.13.1 Card of the column IDTURISTA of the table
SVV_COMENTARIOS_PRODUCTOS
Name IDTURISTA
Code IDTURISTA
Data Type int
Mandatory Yes

IV.2.1.9.13.2 Check constraint name of the column IDTURISTA of the table


SVV_COMENTARIOS_PRODUCTOS
CK_IDTURISTA

IV.2.1.9.13.3 Check of the column IDTURISTA of the table


SVV_COMENTARIOS_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 66


Physical Data Model FISICO

IV.2.1.9.13.4 Server validation rule of the column IDTURISTA of the table


SVV_COMENTARIOS_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.9.13.5 List of all dependencies of the table column IDTURISTA


Name Code Class Name
IDTURISTA IDTURISTA Index Column
? ? Reference Join

IV.2.1.9.13.6 List of extended attributes of the table column IDTURISTA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.9.14 Column COMENTARIO of the table


SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.14.1 Card of the column COMENTARIO of the table
SVV_COMENTARIOS_PRODUCTOS
Name COMENTARIO
Code COMENTARIO
Data Type text
Mandatory No

IV.2.1.9.14.2 Check constraint name of the column COMENTARIO of the table


SVV_COMENTARIOS_PRODUCTOS
CK_COMENTARIO

IV.2.1.9.14.3 Check of the column COMENTARIO of the table


SVV_COMENTARIOS_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 67


Physical Data Model FISICO

IV.2.1.9.14.4 Server validation rule of the column COMENTARIO of the table


SVV_COMENTARIOS_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.9.14.5 List of extended attributes of the table column COMENTARIO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.9.15 Column ESTADO of the table


SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.15.1 Card of the column ESTADO of the table
SVV_COMENTARIOS_PRODUCTOS
Name ESTADO
Code ESTADO
Data Type int
Mandatory No

IV.2.1.9.15.2 Check constraint name of the column ESTADO of the table


SVV_COMENTARIOS_PRODUCTOS
CK_ESTADO

IV.2.1.9.15.3 Check of the column ESTADO of the table


SVV_COMENTARIOS_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.9.15.4 Server validation rule of the column ESTADO of the table


SVV_COMENTARIOS_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.9.15.5 List of extended attributes of the table column ESTADO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0

PowerDesigner 12/05/2017 Page 68


Physical Data Model FISICO

National (Boolean) false MySQL 5.0


Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.9.16 List of keys of the table


SVV_COMENTARIOS_PRODUCTOS
Name Code Primary
IDCOMENTARIO IDCOMENTARIO X

IV.2.1.9.17 Key IDCOMENTARIO of the table


SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.17.1 Card of the key IDCOMENTARIO of the table
SVV_COMENTARIOS_PRODUCTOS
Name IDCOMENTARIO
Code IDCOMENTARIO
Table SVV_COMENTARIOS_PRODUCTOS

IV.2.1.9.17.2 Code preview of the key IDCOMENTARIO of the table


SVV_COMENTARIOS_PRODUCTOS
alter table SVV_COMENTARIOS_PRODUCTOS
drop primary key;

IV.2.1.9.17.3 List of columns of the table key IDCOMENTARIO


Name Code
IDCOMENTARIO IDCOMENTARIO

IV.2.1.9.17.4 List of all dependencies of the table key IDCOMENTARIO


Name Code Class Name
SVV_COMENTARIOS_PRODUCTOS_ SVV_COMENTARIOS_PRODUCTOS_ Index
PK PK

IV.2.1.9.17.5 List of extended attributes of the table key IDCOMENTARIO


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.9.18 List of indexes of the table


SVV_COMENTARIOS_PRODUCTOS
Name Code Unique Cluster Primary Foreign Alternate
Key Key

PowerDesigner 12/05/2017 Page 69


Physical Data Model FISICO

SVV_COMENTAR SVV_COMENTAR X X
IOS_PRODUCTOS IOS_PRODUCTOS
_PK _PK
PRODUCTOS_CO PRODUCTOS_CO X
MENTARIOS_PRO MENTARIOS_PRO
DUCTOS_FK DUCTOS_FK
GPO_TURIST_CO GPO_TURIST_CO X
MENTARIOS_PRO MENTARIOS_PRO
DUCTOS_FK DUCTOS_FK
TUURISTA_COME TUURISTA_COME X
NTARIOS_PRODU NTARIOS_PRODU
CTOS_FK CTOS_FK

IV.2.1.9.19 Index SVV_COMENTARIOS_PRODUCTOS_PK of the


table SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.19.1 Card of the index SVV_COMENTARIOS_PRODUCTOS_PK of
the table SVV_COMENTARIOS_PRODUCTOS
Name SVV_COMENTARIOS_PRODUCTOS_PK
Code SVV_COMENTARIOS_PRODUCTOS_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_COMENTARIOS_PRODUCTOS

IV.2.1.9.19.2 Code preview of the index


SVV_COMENTARIOS_PRODUCTOS_PK of the table
SVV_COMENTARIOS_PRODUCTOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.9.19.3 List of index columns of the table index


SVV_COMENTARIOS_PRODUCTOS_PK
Name Code Sort
IDCOMENTARIO IDCOMENTARIO Ascending

IV.2.1.9.19.4 List of extended attributes of the table index


SVV_COMENTARIOS_PRODUCTOS_PK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 70


Physical Data Model FISICO

IV.2.1.9.20 Index
PRODUCTOS_COMENTARIOS_PRODUCTOS_FK of the table
SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.20.1 Card of the index
PRODUCTOS_COMENTARIOS_PRODUCTOS_FK of the table
SVV_COMENTARIOS_PRODUCTOS
Name PRODUCTOS_COMENTARIOS_PRODUCTOS_FK
Code PRODUCTOS_COMENTARIOS_PRODUCTOS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_COMENTARIOS_PRODUCTOS

IV.2.1.9.20.2 Code preview of the index


PRODUCTOS_COMENTARIOS_PRODUCTOS_FK of the table
SVV_COMENTARIOS_PRODUCTOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.9.20.3 List of index columns of the table index


PRODUCTOS_COMENTARIOS_PRODUCTOS_FK
Name Code Sort
IDPRODUCTOS IDPRODUCTOS Ascending

IV.2.1.9.20.4 List of extended attributes of the table index


PRODUCTOS_COMENTARIOS_PRODUCTOS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.9.21 Index
GPO_TURIST_COMENTARIOS_PRODUCTOS_FK of the table
SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.21.1 Card of the index
GPO_TURIST_COMENTARIOS_PRODUCTOS_FK of the table
SVV_COMENTARIOS_PRODUCTOS
Name GPO_TURIST_COMENTARIOS_PRODUCTOS_FK
Code GPO_TURIST_COMENTARIOS_PRODUCTOS_FK
Unique No
Cluster No
Primary No

PowerDesigner 12/05/2017 Page 71


Physical Data Model FISICO

Foreign Key Yes


Alternate Key No
Table SVV_COMENTARIOS_PRODUCTOS

IV.2.1.9.21.2 Code preview of the index


GPO_TURIST_COMENTARIOS_PRODUCTOS_FK of the table
SVV_COMENTARIOS_PRODUCTOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.9.21.3 List of index columns of the table index


GPO_TURIST_COMENTARIOS_PRODUCTOS_FK
Name Code Sort
IDGPOTURIST IDGPOTURIST Ascending

IV.2.1.9.21.4 List of extended attributes of the table index


GPO_TURIST_COMENTARIOS_PRODUCTOS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.9.22 Index TUURISTA_COMENTARIOS_PRODUCTOS_FK


of the table SVV_COMENTARIOS_PRODUCTOS
IV.2.1.9.22.1 Card of the index
TUURISTA_COMENTARIOS_PRODUCTOS_FK of the table
SVV_COMENTARIOS_PRODUCTOS
Name TUURISTA_COMENTARIOS_PRODUCTOS_FK
Code TUURISTA_COMENTARIOS_PRODUCTOS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_COMENTARIOS_PRODUCTOS

IV.2.1.9.22.2 Code preview of the index


TUURISTA_COMENTARIOS_PRODUCTOS_FK of the table
SVV_COMENTARIOS_PRODUCTOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.9.22.3 List of index columns of the table index


TUURISTA_COMENTARIOS_PRODUCTOS_FK
Name Code Sort

PowerDesigner 12/05/2017 Page 72


Physical Data Model FISICO

IDTURISTA IDTURISTA Ascending

IV.2.1.9.22.4 List of extended attributes of the table index


TUURISTA_COMENTARIOS_PRODUCTOS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.10 Table SVV_DESTINOS


IV.2.1.10.1 Card of table SVV_DESTINOS
Name SVV_DESTINOS
Code SVV_DESTINOS
DBMS MySQL 5.0

IV.2.1.10.2 Check constraint name of the table SVV_DESTINOS


TK_SVV_DESTINOS

IV.2.1.10.3 Server validation rule of the table SVV_DESTINOS


%RULES%

IV.2.1.10.4 Code preview of the table SVV_DESTINOS


drop table if exists SVV_DESTINOS;

/*==============================================================*/
/* Table: SVV_DESTINOS */
/*==============================================================*/
create table SVV_DESTINOS
(
IDDESTINO int not null,
IDCATEGORIA int not null,
IDPAIS int not null,
IDCIUDAD int not null,
IDESTADO int not null,
NOMBREDESTINO varchar(50),
ALTITUD bigint,
LATITUD bigint,
primary key (IDDESTINO)
);

alter table SVV_DESTINOS add constraint FK_CATEGORIAS_DESTINOS_DESTINOS foreign key (IDCATEGORIA)


references SVV_CATEGORIAS_DESTINOS (IDCATEGORIA) on delete restrict on update restrict;

alter table SVV_DESTINOS add constraint FK_DESTINOS_CIUDADES foreign key (IDCIUDAD)


references SVV_CIUDADES (IDCIUDAD) on delete restrict on update restrict;

alter table SVV_DESTINOS add constraint FK_DESTINOS_ESTADOS foreign key (IDESTADO)


references SVV_ESTADOS (IDESTADO) on delete restrict on update restrict;

PowerDesigner 12/05/2017 Page 73


Physical Data Model FISICO

alter table SVV_DESTINOS add constraint FK_DESTINOS_PAISES foreign key (IDPAIS)


references SVV_PAISES (IDPAIS) on delete restrict on update restrict;

IV.2.1.10.5 List of diagrams containing the table SVV_DESTINOS


Name Code
FISICO FISICO

IV.2.1.10.6 List of incoming references of the table SVV_DESTINOS


Name Code
DESTINOS_PREFERENCIAS DESTINOS_PREFERENCIAS
DESTINOS_PRODUCTOS DESTINOS_PRODUCTOS

IV.2.1.10.7 List of outgoing references of the table SVV_DESTINOS


Name Code Foreign Key Columns
CATEGORIAS_DESTINOS_ CATEGORIAS_DESTINOS_ IDCATEGORIA
DESTINOS DESTINOS
DESTINOS_CIUDADES DESTINOS_CIUDADES IDCIUDAD
DESTINOS_ESTADOS DESTINOS_ESTADOS IDESTADO
DESTINOS_PAISES DESTINOS_PAISES IDPAIS

IV.2.1.10.8 List of all dependencies of the table SVV_DESTINOS


Name Code Class Name
CATEGORIAS_DESTINOS_DESTINO CATEGORIAS_DESTINOS_DESTINO Reference
S S
DESTINOS_CIUDADES DESTINOS_CIUDADES Reference
DESTINOS_ESTADOS DESTINOS_ESTADOS Reference
DESTINOS_PAISES DESTINOS_PAISES Reference
DESTINOS_PREFERENCIAS DESTINOS_PREFERENCIAS Reference
DESTINOS_PRODUCTOS DESTINOS_PRODUCTOS Reference

IV.2.1.10.9 List of extended attributes of the table SVV_DESTINOS


Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.10.10 List of columns of the table SVV_DESTINOS


Name Code
IDDESTINO IDDESTINO
IDCATEGORIA IDCATEGORIA
IDPAIS IDPAIS
IDCIUDAD IDCIUDAD

PowerDesigner 12/05/2017 Page 74


Physical Data Model FISICO

IDESTADO IDESTADO
NOMBREDESTINO NOMBREDESTINO
ALTITUD ALTITUD
LATITUD LATITUD

IV.2.1.10.11 Column IDDESTINO of the table SVV_DESTINOS


IV.2.1.10.11.1 Card of the column IDDESTINO of the table SVV_DESTINOS
Name IDDESTINO
Code IDDESTINO
Data Type int
Mandatory Yes

IV.2.1.10.11.2 Check constraint name of the column IDDESTINO of the table


SVV_DESTINOS
CK_IDDESTINO

IV.2.1.10.11.3 Check of the column IDDESTINO of the table SVV_DESTINOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.10.11.4 Server validation rule of the column IDDESTINO of the table


SVV_DESTINOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.10.11.5 List of all dependencies of the table column IDDESTINO


Name Code Class Name
IDDESTINO IDDESTINO Index Column
IDDESTINO IDDESTINO Key
? ? Reference Join
? ? Reference Join

IV.2.1.10.11.6 List of extended attributes of the table column IDDESTINO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 75


Physical Data Model FISICO

Unsigned (Boolean) false MySQL 5.0


ZeroFill (Boolean) false MySQL 5.0

IV.2.1.10.12 Column IDCATEGORIA of the table SVV_DESTINOS


IV.2.1.10.12.1 Card of the column IDCATEGORIA of the table SVV_DESTINOS
Name IDCATEGORIA
Code IDCATEGORIA
Data Type int
Mandatory Yes

IV.2.1.10.12.2 Check constraint name of the column IDCATEGORIA of the table


SVV_DESTINOS
CK_IDCATEGORIA

IV.2.1.10.12.3 Check of the column IDCATEGORIA of the table


SVV_DESTINOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.10.12.4 Server validation rule of the column IDCATEGORIA of the table


SVV_DESTINOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.10.12.5 List of all dependencies of the table column IDCATEGORIA


Name Code Class Name
IDCATEGORIA IDCATEGORIA Index Column
? ? Reference Join

IV.2.1.10.12.6 List of extended attributes of the table column IDCATEGORIA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 76


Physical Data Model FISICO

IV.2.1.10.13 Column IDPAIS of the table SVV_DESTINOS


IV.2.1.10.13.1 Card of the column IDPAIS of the table SVV_DESTINOS
Name IDPAIS
Code IDPAIS
Data Type int
Mandatory Yes

IV.2.1.10.13.2 Check constraint name of the column IDPAIS of the table


SVV_DESTINOS
CK_IDPAIS

IV.2.1.10.13.3 Check of the column IDPAIS of the table SVV_DESTINOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.10.13.4 Server validation rule of the column IDPAIS of the table


SVV_DESTINOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.10.13.5 List of all dependencies of the table column IDPAIS


Name Code Class Name
IDPAIS IDPAIS Index Column
? ? Reference Join

IV.2.1.10.13.6 List of extended attributes of the table column IDPAIS


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.10.14 Column IDCIUDAD of the table SVV_DESTINOS


IV.2.1.10.14.1 Card of the column IDCIUDAD of the table SVV_DESTINOS
Name IDCIUDAD

PowerDesigner 12/05/2017 Page 77


Physical Data Model FISICO

Code IDCIUDAD
Data Type int
Mandatory Yes

IV.2.1.10.14.2 Check constraint name of the column IDCIUDAD of the table


SVV_DESTINOS
CK_IDCIUDAD

IV.2.1.10.14.3 Check of the column IDCIUDAD of the table SVV_DESTINOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.10.14.4 Server validation rule of the column IDCIUDAD of the table


SVV_DESTINOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.10.14.5 List of all dependencies of the table column IDCIUDAD


Name Code Class Name
IDCIUDAD IDCIUDAD Index Column
? ? Reference Join

IV.2.1.10.14.6 List of extended attributes of the table column IDCIUDAD


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.10.15 Column IDESTADO of the table SVV_DESTINOS


IV.2.1.10.15.1 Card of the column IDESTADO of the table SVV_DESTINOS
Name IDESTADO
Code IDESTADO
Data Type int
Mandatory Yes

PowerDesigner 12/05/2017 Page 78


Physical Data Model FISICO

IV.2.1.10.15.2 Check constraint name of the column IDESTADO of the table


SVV_DESTINOS
CK_IDESTADO

IV.2.1.10.15.3 Check of the column IDESTADO of the table SVV_DESTINOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.10.15.4 Server validation rule of the column IDESTADO of the table


SVV_DESTINOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.10.15.5 List of all dependencies of the table column IDESTADO


Name Code Class Name
IDESTADO IDESTADO Index Column
? ? Reference Join

IV.2.1.10.15.6 List of extended attributes of the table column IDESTADO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.10.16 Column NOMBREDESTINO of the table


SVV_DESTINOS
IV.2.1.10.16.1 Card of the column NOMBREDESTINO of the table
SVV_DESTINOS
Name NOMBREDESTINO
Code NOMBREDESTINO
Data Type varchar(50)
Mandatory No

IV.2.1.10.16.2 Check constraint name of the column NOMBREDESTINO of the


table SVV_DESTINOS
CK_NOMBREDESTINO

PowerDesigner 12/05/2017 Page 79


Physical Data Model FISICO

IV.2.1.10.16.3 Check of the column NOMBREDESTINO of the table


SVV_DESTINOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.10.16.4 Server validation rule of the column NOMBREDESTINO of the


table SVV_DESTINOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.10.16.5 List of extended attributes of the table column NOMBREDESTINO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.10.17 Column ALTITUD of the table SVV_DESTINOS


IV.2.1.10.17.1 Card of the column ALTITUD of the table SVV_DESTINOS
Name ALTITUD
Code ALTITUD
Data Type bigint
Mandatory No

IV.2.1.10.17.2 Check constraint name of the column ALTITUD of the table


SVV_DESTINOS
CK_ALTITUD

IV.2.1.10.17.3 Check of the column ALTITUD of the table SVV_DESTINOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 80


Physical Data Model FISICO

IV.2.1.10.17.4 Server validation rule of the column ALTITUD of the table


SVV_DESTINOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.10.17.5 List of extended attributes of the table column ALTITUD


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.10.18 Column LATITUD of the table SVV_DESTINOS


IV.2.1.10.18.1 Card of the column LATITUD of the table SVV_DESTINOS
Name LATITUD
Code LATITUD
Data Type bigint
Mandatory No

IV.2.1.10.18.2 Check constraint name of the column LATITUD of the table


SVV_DESTINOS
CK_LATITUD

IV.2.1.10.18.3 Check of the column LATITUD of the table SVV_DESTINOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.10.18.4 Server validation rule of the column LATITUD of the table


SVV_DESTINOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.10.18.5 List of extended attributes of the table column LATITUD


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 81


Physical Data Model FISICO

ZeroFill (Boolean) false MySQL 5.0

IV.2.1.10.19 List of keys of the table SVV_DESTINOS


Name Code Primary
IDDESTINO IDDESTINO X

IV.2.1.10.20 Key IDDESTINO of the table SVV_DESTINOS


IV.2.1.10.20.1 Card of the key IDDESTINO of the table SVV_DESTINOS
Name IDDESTINO
Code IDDESTINO
Table SVV_DESTINOS

IV.2.1.10.20.2 Code preview of the key IDDESTINO of the table SVV_DESTINOS


alter table SVV_DESTINOS
drop primary key;

IV.2.1.10.20.3 List of columns of the table key IDDESTINO


Name Code
IDDESTINO IDDESTINO

IV.2.1.10.20.4 List of all dependencies of the table key IDDESTINO


Name Code Class Name
DESTINOS_PREFERENCIAS DESTINOS_PREFERENCIAS Reference
DESTINOS_PRODUCTOS DESTINOS_PRODUCTOS Reference
SVV_DESTINOS_PK SVV_DESTINOS_PK Index

IV.2.1.10.20.5 List of extended attributes of the table key IDDESTINO


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.10.21 List of indexes of the table SVV_DESTINOS


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_DESTINOS_ SVV_DESTINOS_ X X
PK PK
CATEGORIAS_DE CATEGORIAS_DE X
STINOS_DESTINO STINOS_DESTINO
S_FK S_FK
DESTINOS_PAISE DESTINOS_PAISE X

PowerDesigner 12/05/2017 Page 82


Physical Data Model FISICO

S_FK S_FK
DESTINOS_CIUD DESTINOS_CIUD X
ADES_FK ADES_FK
DESTINOS_ESTA DESTINOS_ESTA X
DOS_FK DOS_FK

IV.2.1.10.22 Index SVV_DESTINOS_PK of the table SVV_DESTINOS


IV.2.1.10.22.1 Card of the index SVV_DESTINOS_PK of the table
SVV_DESTINOS
Name SVV_DESTINOS_PK
Code SVV_DESTINOS_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_DESTINOS

IV.2.1.10.22.2 Code preview of the index SVV_DESTINOS_PK of the table


SVV_DESTINOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.10.22.3 List of index columns of the table index SVV_DESTINOS_PK


Name Code Sort
IDDESTINO IDDESTINO Ascending

IV.2.1.10.22.4 List of extended attributes of the table index SVV_DESTINOS_PK


Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.10.23 Index CATEGORIAS_DESTINOS_DESTINOS_FK of the


table SVV_DESTINOS
IV.2.1.10.23.1 Card of the index CATEGORIAS_DESTINOS_DESTINOS_FK of
the table SVV_DESTINOS
Name CATEGORIAS_DESTINOS_DESTINOS_FK
Code CATEGORIAS_DESTINOS_DESTINOS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes

PowerDesigner 12/05/2017 Page 83


Physical Data Model FISICO

Alternate Key No
Table SVV_DESTINOS

IV.2.1.10.23.2 Code preview of the index


CATEGORIAS_DESTINOS_DESTINOS_FK of the table SVV_DESTINOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.10.23.3 List of index columns of the table index


CATEGORIAS_DESTINOS_DESTINOS_FK
Name Code Sort
IDCATEGORIA IDCATEGORIA Ascending

IV.2.1.10.23.4 List of extended attributes of the table index


CATEGORIAS_DESTINOS_DESTINOS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.10.24 Index DESTINOS_PAISES_FK of the table


SVV_DESTINOS
IV.2.1.10.24.1 Card of the index DESTINOS_PAISES_FK of the table
SVV_DESTINOS
Name DESTINOS_PAISES_FK
Code DESTINOS_PAISES_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_DESTINOS

IV.2.1.10.24.2 Code preview of the index DESTINOS_PAISES_FK of the table


SVV_DESTINOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.10.24.3 List of index columns of the table index DESTINOS_PAISES_FK


Name Code Sort
IDPAIS IDPAIS Ascending

PowerDesigner 12/05/2017 Page 84


Physical Data Model FISICO

IV.2.1.10.24.4 List of extended attributes of the table index


DESTINOS_PAISES_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.10.25 Index DESTINOS_CIUDADES_FK of the table


SVV_DESTINOS
IV.2.1.10.25.1 Card of the index DESTINOS_CIUDADES_FK of the table
SVV_DESTINOS
Name DESTINOS_CIUDADES_FK
Code DESTINOS_CIUDADES_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_DESTINOS

IV.2.1.10.25.2 Code preview of the index DESTINOS_CIUDADES_FK of the


table SVV_DESTINOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.10.25.3 List of index columns of the table index


DESTINOS_CIUDADES_FK
Name Code Sort
IDCIUDAD IDCIUDAD Ascending

IV.2.1.10.25.4 List of extended attributes of the table index


DESTINOS_CIUDADES_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.10.26 Index DESTINOS_ESTADOS_FK of the table


SVV_DESTINOS
IV.2.1.10.26.1 Card of the index DESTINOS_ESTADOS_FK of the table
SVV_DESTINOS
Name DESTINOS_ESTADOS_FK
Code DESTINOS_ESTADOS_FK
Unique No
Cluster No

PowerDesigner 12/05/2017 Page 85


Physical Data Model FISICO

Primary No
Foreign Key Yes
Alternate Key No
Table SVV_DESTINOS

IV.2.1.10.26.2 Code preview of the index DESTINOS_ESTADOS_FK of the table


SVV_DESTINOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.10.26.3 List of index columns of the table index


DESTINOS_ESTADOS_FK
Name Code Sort
IDESTADO IDESTADO Ascending

IV.2.1.10.26.4 List of extended attributes of the table index


DESTINOS_ESTADOS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.11 Table SVV_ESTADOS


IV.2.1.11.1 Card of table SVV_ESTADOS
Name SVV_ESTADOS
Code SVV_ESTADOS
DBMS MySQL 5.0

IV.2.1.11.2 Check constraint name of the table SVV_ESTADOS


TK_SVV_ESTADOS

IV.2.1.11.3 Server validation rule of the table SVV_ESTADOS


%RULES%

IV.2.1.11.4 Code preview of the table SVV_ESTADOS


drop table if exists SVV_ESTADOS;

/*==============================================================*/
/* Table: SVV_ESTADOS */
/*==============================================================*/
create table SVV_ESTADOS
(
IDESTADO int not null,
ESTADO int not null,
primary key (IDESTADO)
);

PowerDesigner 12/05/2017 Page 86


Physical Data Model FISICO

IV.2.1.11.5 List of diagrams containing the table SVV_ESTADOS


Name Code
FISICO FISICO

IV.2.1.11.6 List of incoming references of the table SVV_ESTADOS


Name Code
DESTINOS_ESTADOS DESTINOS_ESTADOS
ESTADOS_GPO_TURIST ESTADOS_GPO_TURIST
ESTADOS_TURISTAS ESTADOS_TURISTAS

IV.2.1.11.7 List of all dependencies of the table SVV_ESTADOS


Name Code Class Name
DESTINOS_ESTADOS DESTINOS_ESTADOS Reference
ESTADOS_GPO_TURIST ESTADOS_GPO_TURIST Reference
ESTADOS_TURISTAS ESTADOS_TURISTAS Reference

IV.2.1.11.8 List of extended attributes of the table SVV_ESTADOS


Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.11.9 List of columns of the table SVV_ESTADOS


Name Code
IDESTADO IDESTADO
ESTADO ESTADO

IV.2.1.11.10 Column IDESTADO of the table SVV_ESTADOS


IV.2.1.11.10.1 Card of the column IDESTADO of the table SVV_ESTADOS
Name IDESTADO
Code IDESTADO
Data Type int
Mandatory Yes

IV.2.1.11.10.2 Check constraint name of the column IDESTADO of the table


SVV_ESTADOS
CK_IDESTADO

PowerDesigner 12/05/2017 Page 87


Physical Data Model FISICO

IV.2.1.11.10.3 Check of the column IDESTADO of the table SVV_ESTADOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.11.10.4 Server validation rule of the column IDESTADO of the table


SVV_ESTADOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.11.10.5 List of all dependencies of the table column IDESTADO


Name Code Class Name
IDESTADO IDESTADO Index Column
IDESTADO IDESTADO Key
? ? Reference Join
? ? Reference Join
? ? Reference Join

IV.2.1.11.10.6 List of extended attributes of the table column IDESTADO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.11.11 Column ESTADO of the table SVV_ESTADOS


IV.2.1.11.11.1 Card of the column ESTADO of the table SVV_ESTADOS
Name ESTADO
Code ESTADO
Data Type int
Mandatory Yes

IV.2.1.11.11.2 Check constraint name of the column ESTADO of the table


SVV_ESTADOS
CK_ESTADO

PowerDesigner 12/05/2017 Page 88


Physical Data Model FISICO

IV.2.1.11.11.3 Check of the column ESTADO of the table SVV_ESTADOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.11.11.4 Server validation rule of the column ESTADO of the table


SVV_ESTADOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.11.11.5 List of extended attributes of the table column ESTADO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.11.12 List of keys of the table SVV_ESTADOS


Name Code Primary
IDESTADO IDESTADO X

IV.2.1.11.13 Key IDESTADO of the table SVV_ESTADOS


IV.2.1.11.13.1 Card of the key IDESTADO of the table SVV_ESTADOS
Name IDESTADO
Code IDESTADO
Table SVV_ESTADOS

IV.2.1.11.13.2 Code preview of the key IDESTADO of the table SVV_ESTADOS


alter table SVV_ESTADOS
drop primary key;

IV.2.1.11.13.3 List of columns of the table key IDESTADO


Name Code
IDESTADO IDESTADO

PowerDesigner 12/05/2017 Page 89


Physical Data Model FISICO

IV.2.1.11.13.4 List of all dependencies of the table key IDESTADO


Name Code Class Name
DESTINOS_ESTADOS DESTINOS_ESTADOS Reference
ESTADOS_GPO_TURIST ESTADOS_GPO_TURIST Reference
ESTADOS_TURISTAS ESTADOS_TURISTAS Reference
SVV_ESTADOS_PK SVV_ESTADOS_PK Index

IV.2.1.11.13.5 List of extended attributes of the table key IDESTADO


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.11.14 List of indexes of the table SVV_ESTADOS


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_ESTADOS_P SVV_ESTADOS_P X X
K K

IV.2.1.11.15 Index SVV_ESTADOS_PK of the table SVV_ESTADOS


IV.2.1.11.15.1 Card of the index SVV_ESTADOS_PK of the table
SVV_ESTADOS
Name SVV_ESTADOS_PK
Code SVV_ESTADOS_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_ESTADOS

IV.2.1.11.15.2 Code preview of the index SVV_ESTADOS_PK of the table


SVV_ESTADOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.11.15.3 List of index columns of the table index SVV_ESTADOS_PK


Name Code Sort
IDESTADO IDESTADO Ascending

IV.2.1.11.15.4 List of extended attributes of the table index SVV_ESTADOS_PK


Name Data Type Value Target Name

PowerDesigner 12/05/2017 Page 90


Physical Data Model FISICO

FullText (Boolean) false MySQL 5.0

IV.2.1.12 Table SVV_GPO_TURIST


IV.2.1.12.1 Card of table SVV_GPO_TURIST
Name SVV_GPO_TURIST
Code SVV_GPO_TURIST
DBMS MySQL 5.0

IV.2.1.12.2 Check constraint name of the table SVV_GPO_TURIST


TK_SVV_GPO_TURIST

IV.2.1.12.3 Server validation rule of the table SVV_GPO_TURIST


%RULES%

IV.2.1.12.4 Code preview of the table SVV_GPO_TURIST


drop table if exists SVV_GPO_TURIST;

/*==============================================================*/
/* Table: SVV_GPO_TURIST */
/*==============================================================*/
create table SVV_GPO_TURIST
(
IDGPOTURIST int not null,
IDPAIS int not null,
IDESTADO int not null,
IDCIUDAD int not null,
NOMBREGPO varchar(50),
DIRECCION2 text,
TELEFONO2 varchar(10),
PAGWEB varchar(20),
NOMBREREP varchar(50),
DESCRIPCION text,
CALIFICACION int,
DUIREP varchar(10),
CODREG varchar(20),
EMAIL2 varchar(100),
EMAILREP varchar(100),
CONTRASENA2 varchar(50),
NOMUSUARIO2 varchar(50),
primary key (IDGPOTURIST)
);

alter table SVV_GPO_TURIST add constraint FK_CIUDADES_GPO_TURIST foreign key (IDCIUDAD)


references SVV_CIUDADES (IDCIUDAD) on delete restrict on update restrict;

alter table SVV_GPO_TURIST add constraint FK_ESTADOS_GPO_TURIST foreign key (IDESTADO)


references SVV_ESTADOS (IDESTADO) on delete restrict on update restrict;

alter table SVV_GPO_TURIST add constraint FK_PAISES_GPO_TURIST foreign key (IDPAIS)

PowerDesigner 12/05/2017 Page 91


Physical Data Model FISICO

references SVV_PAISES (IDPAIS) on delete restrict on update restrict;

IV.2.1.12.5 List of diagrams containing the table SVV_GPO_TURIST


Name Code
FISICO FISICO

IV.2.1.12.6 List of incoming references of the table


SVV_GPO_TURIST
Name Code
GPO_TURIST_BITACORA_SOLICITUD GPO_TURIST_BITACORA_SOLICITUD
GPO_TURIST_COMENTARIOS_PRODUCTOS GPO_TURIST_COMENTARIOS_PRODUCTOS
GPO_TURIST_PREFERENCIAS GPO_TURIST_PREFERENCIAS
GPO_TURIST_PRODUCTOS GPO_TURIST_PRODUCTOS

IV.2.1.12.7 List of outgoing references of the table


SVV_GPO_TURIST
Name Code Foreign Key Columns
CIUDADES_GPO_TURIST CIUDADES_GPO_TURIST IDCIUDAD
ESTADOS_GPO_TURIST ESTADOS_GPO_TURIST IDESTADO
PAISES_GPO_TURIST PAISES_GPO_TURIST IDPAIS

IV.2.1.12.8 List of all dependencies of the table SVV_GPO_TURIST


Name Code Class Name
CIUDADES_GPO_TURIST CIUDADES_GPO_TURIST Reference
ESTADOS_GPO_TURIST ESTADOS_GPO_TURIST Reference
GPO_TURIST_BITACORA_SOLICITU GPO_TURIST_BITACORA_SOLICITU Reference
D D
GPO_TURIST_COMENTARIOS_PRO GPO_TURIST_COMENTARIOS_PRO Reference
DUCTOS DUCTOS
GPO_TURIST_PREFERENCIAS GPO_TURIST_PREFERENCIAS Reference
GPO_TURIST_PRODUCTOS GPO_TURIST_PRODUCTOS Reference
PAISES_GPO_TURIST PAISES_GPO_TURIST Reference

IV.2.1.12.9 List of extended attributes of the table SVV_GPO_TURIST


Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.12.10 List of columns of the table SVV_GPO_TURIST


Name Code

PowerDesigner 12/05/2017 Page 92


Physical Data Model FISICO

IDGPOTURIST IDGPOTURIST
IDPAIS IDPAIS
IDESTADO IDESTADO
IDCIUDAD IDCIUDAD
NOMBREGPO NOMBREGPO
DIRECCION DIRECCION2
TELEFONO TELEFONO2
PAGWEB PAGWEB
NOMBREREP NOMBREREP
DESCRIPCION DESCRIPCION
CALIFICACION CALIFICACION
DUIREP DUIREP
CODREG CODREG
EMAIL EMAIL2
EMAILREP EMAILREP
CONTRASEnA CONTRASENA2
NOMUSUARIO NOMUSUARIO2

IV.2.1.12.11 Column IDGPOTURIST of the table SVV_GPO_TURIST


IV.2.1.12.11.1 Card of the column IDGPOTURIST of the table
SVV_GPO_TURIST
Name IDGPOTURIST
Code IDGPOTURIST
Data Type int
Mandatory Yes

IV.2.1.12.11.2 Check constraint name of the column IDGPOTURIST of the table


SVV_GPO_TURIST
CK_IDGPOTURIST

IV.2.1.12.11.3 Check of the column IDGPOTURIST of the table


SVV_GPO_TURIST
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 93


Physical Data Model FISICO

IV.2.1.12.11.4 Server validation rule of the column IDGPOTURIST of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.11.5 List of all dependencies of the table column IDGPOTURIST


Name Code Class Name
IDGPOTURIST IDGPOTURIST Index Column
IDGPOTURIST IDENTIFIER_1 Key
? ? Reference Join
? ? Reference Join
? ? Reference Join
? ? Reference Join

IV.2.1.12.11.6 List of extended attributes of the table column IDGPOTURIST


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.12 Column IDPAIS of the table SVV_GPO_TURIST


IV.2.1.12.12.1 Card of the column IDPAIS of the table SVV_GPO_TURIST
Name IDPAIS
Code IDPAIS
Data Type int
Mandatory Yes

IV.2.1.12.12.2 Check constraint name of the column IDPAIS of the table


SVV_GPO_TURIST
CK_IDPAIS

IV.2.1.12.12.3 Check of the column IDPAIS of the table SVV_GPO_TURIST


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 94


Physical Data Model FISICO

IV.2.1.12.12.4 Server validation rule of the column IDPAIS of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.12.5 List of all dependencies of the table column IDPAIS


Name Code Class Name
IDPAIS IDPAIS Index Column
? ? Reference Join

IV.2.1.12.12.6 List of extended attributes of the table column IDPAIS


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.13 Column IDESTADO of the table SVV_GPO_TURIST


IV.2.1.12.13.1 Card of the column IDESTADO of the table SVV_GPO_TURIST
Name IDESTADO
Code IDESTADO
Data Type int
Mandatory Yes

IV.2.1.12.13.2 Check constraint name of the column IDESTADO of the table


SVV_GPO_TURIST
CK_IDESTADO

IV.2.1.12.13.3 Check of the column IDESTADO of the table SVV_GPO_TURIST


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.13.4 Server validation rule of the column IDESTADO of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

PowerDesigner 12/05/2017 Page 95


Physical Data Model FISICO

IV.2.1.12.13.5 List of all dependencies of the table column IDESTADO


Name Code Class Name
IDESTADO IDESTADO Index Column
? ? Reference Join

IV.2.1.12.13.6 List of extended attributes of the table column IDESTADO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.14 Column IDCIUDAD of the table SVV_GPO_TURIST


IV.2.1.12.14.1 Card of the column IDCIUDAD of the table SVV_GPO_TURIST
Name IDCIUDAD
Code IDCIUDAD
Data Type int
Mandatory Yes

IV.2.1.12.14.2 Check constraint name of the column IDCIUDAD of the table


SVV_GPO_TURIST
CK_IDCIUDAD

IV.2.1.12.14.3 Check of the column IDCIUDAD of the table SVV_GPO_TURIST


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.14.4 Server validation rule of the column IDCIUDAD of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.14.5 List of all dependencies of the table column IDCIUDAD


Name Code Class Name
IDCIUDAD IDCIUDAD Index Column
? ? Reference Join

PowerDesigner 12/05/2017 Page 96


Physical Data Model FISICO

IV.2.1.12.14.6 List of extended attributes of the table column IDCIUDAD


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.15 Column NOMBREGPO of the table SVV_GPO_TURIST


IV.2.1.12.15.1 Card of the column NOMBREGPO of the table
SVV_GPO_TURIST
Name NOMBREGPO
Code NOMBREGPO
Data Type varchar(50)
Mandatory No

IV.2.1.12.15.2 Check constraint name of the column NOMBREGPO of the table


SVV_GPO_TURIST
CK_NOMBREGPO

IV.2.1.12.15.3 Check of the column NOMBREGPO of the table


SVV_GPO_TURIST
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.15.4 Server validation rule of the column NOMBREGPO of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.15.5 List of extended attributes of the table column NOMBREGPO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 97


Physical Data Model FISICO

IV.2.1.12.16 Column DIRECCION of the table SVV_GPO_TURIST


IV.2.1.12.16.1 Card of the column DIRECCION of the table SVV_GPO_TURIST
Name DIRECCION
Code DIRECCION2
Data Type text
Mandatory No

IV.2.1.12.16.2 Check constraint name of the column DIRECCION of the table


SVV_GPO_TURIST
CK_DIRECCION2

IV.2.1.12.16.3 Check of the column DIRECCION of the table


SVV_GPO_TURIST
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.16.4 Server validation rule of the column DIRECCION of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.16.5 List of extended attributes of the table column DIRECCION


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.17 Column TELEFONO of the table SVV_GPO_TURIST


IV.2.1.12.17.1 Card of the column TELEFONO of the table SVV_GPO_TURIST
Name TELEFONO
Code TELEFONO2
Data Type varchar(10)
Mandatory No

PowerDesigner 12/05/2017 Page 98


Physical Data Model FISICO

IV.2.1.12.17.2 Check constraint name of the column TELEFONO of the table


SVV_GPO_TURIST
CK_TELEFONO2

IV.2.1.12.17.3 Check of the column TELEFONO of the table SVV_GPO_TURIST


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.17.4 Server validation rule of the column TELEFONO of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.17.5 List of extended attributes of the table column TELEFONO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.18 Column PAGWEB of the table SVV_GPO_TURIST


IV.2.1.12.18.1 Card of the column PAGWEB of the table SVV_GPO_TURIST
Name PAGWEB
Code PAGWEB
Data Type varchar(20)
Mandatory No

IV.2.1.12.18.2 Check constraint name of the column PAGWEB of the table


SVV_GPO_TURIST
CK_PAGWEB

IV.2.1.12.18.3 Check of the column PAGWEB of the table SVV_GPO_TURIST


Minimum Value
Maximum Value
Default Value
Unit
Format

PowerDesigner 12/05/2017 Page 99


Physical Data Model FISICO

Cannot Modify No
List Of Values

IV.2.1.12.18.4 Server validation rule of the column PAGWEB of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.18.5 List of extended attributes of the table column PAGWEB


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.19 Column NOMBREREP of the table SVV_GPO_TURIST


IV.2.1.12.19.1 Card of the column NOMBREREP of the table
SVV_GPO_TURIST
Name NOMBREREP
Code NOMBREREP
Data Type varchar(50)
Mandatory No

IV.2.1.12.19.2 Check constraint name of the column NOMBREREP of the table


SVV_GPO_TURIST
CK_NOMBREREP

IV.2.1.12.19.3 Check of the column NOMBREREP of the table


SVV_GPO_TURIST
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.19.4 Server validation rule of the column NOMBREREP of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

PowerDesigner 12/05/2017 Page 100


Physical Data Model FISICO

IV.2.1.12.19.5 List of extended attributes of the table column NOMBREREP


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.20 Column DESCRIPCION of the table SVV_GPO_TURIST


IV.2.1.12.20.1 Card of the column DESCRIPCION of the table
SVV_GPO_TURIST
Name DESCRIPCION
Code DESCRIPCION
Data Type text
Mandatory No

IV.2.1.12.20.2 Check constraint name of the column DESCRIPCION of the table


SVV_GPO_TURIST
CK_DESCRIPCION

IV.2.1.12.20.3 Check of the column DESCRIPCION of the table


SVV_GPO_TURIST
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.20.4 Server validation rule of the column DESCRIPCION of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.20.5 List of extended attributes of the table column DESCRIPCION


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 101


Physical Data Model FISICO

IV.2.1.12.21 Column CALIFICACION of the table


SVV_GPO_TURIST
IV.2.1.12.21.1 Card of the column CALIFICACION of the table
SVV_GPO_TURIST
Name CALIFICACION
Code CALIFICACION
Data Type int
Mandatory No

IV.2.1.12.21.2 Check constraint name of the column CALIFICACION of the table


SVV_GPO_TURIST
CK_CALIFICACION

IV.2.1.12.21.3 Check of the column CALIFICACION of the table


SVV_GPO_TURIST
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.21.4 Server validation rule of the column CALIFICACION of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.21.5 List of extended attributes of the table column CALIFICACION


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.22 Column DUIREP of the table SVV_GPO_TURIST


IV.2.1.12.22.1 Card of the column DUIREP of the table SVV_GPO_TURIST
Name DUIREP
Code DUIREP
Data Type varchar(10)
Mandatory No

PowerDesigner 12/05/2017 Page 102


Physical Data Model FISICO

IV.2.1.12.22.2 Check constraint name of the column DUIREP of the table


SVV_GPO_TURIST
CK_DUIREP

IV.2.1.12.22.3 Check of the column DUIREP of the table SVV_GPO_TURIST


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.22.4 Server validation rule of the column DUIREP of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.22.5 List of extended attributes of the table column DUIREP


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.23 Column CODREG of the table SVV_GPO_TURIST


IV.2.1.12.23.1 Card of the column CODREG of the table SVV_GPO_TURIST
Name CODREG
Code CODREG
Data Type varchar(20)
Mandatory No

IV.2.1.12.23.2 Check constraint name of the column CODREG of the table


SVV_GPO_TURIST
CK_CODREG

IV.2.1.12.23.3 Check of the column CODREG of the table SVV_GPO_TURIST


Minimum Value
Maximum Value
Default Value
Unit
Format

PowerDesigner 12/05/2017 Page 103


Physical Data Model FISICO

Cannot Modify No
List Of Values

IV.2.1.12.23.4 Server validation rule of the column CODREG of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.23.5 List of extended attributes of the table column CODREG


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.24 Column EMAIL of the table SVV_GPO_TURIST


IV.2.1.12.24.1 Card of the column EMAIL of the table SVV_GPO_TURIST
Name EMAIL
Code EMAIL2
Data Type varchar(100)
Mandatory No

IV.2.1.12.24.2 Check constraint name of the column EMAIL of the table


SVV_GPO_TURIST
CK_EMAIL2

IV.2.1.12.24.3 Check of the column EMAIL of the table SVV_GPO_TURIST


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.24.4 Server validation rule of the column EMAIL of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.24.5 List of extended attributes of the table column EMAIL


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0

PowerDesigner 12/05/2017 Page 104


Physical Data Model FISICO

Collate (String) MySQL 5.0


National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.25 Column EMAILREP of the table SVV_GPO_TURIST


IV.2.1.12.25.1 Card of the column EMAILREP of the table SVV_GPO_TURIST
Name EMAILREP
Code EMAILREP
Data Type varchar(100)
Mandatory No

IV.2.1.12.25.2 Check constraint name of the column EMAILREP of the table


SVV_GPO_TURIST
CK_EMAILREP

IV.2.1.12.25.3 Check of the column EMAILREP of the table SVV_GPO_TURIST


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.25.4 Server validation rule of the column EMAILREP of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.25.5 List of extended attributes of the table column EMAILREP


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.26 Column CONTRASEnA of the table SVV_GPO_TURIST


IV.2.1.12.26.1 Card of the column CONTRASEnA of the table
SVV_GPO_TURIST
Name CONTRASEnA

PowerDesigner 12/05/2017 Page 105


Physical Data Model FISICO

Code CONTRASENA2
Data Type varchar(50)
Mandatory No

IV.2.1.12.26.2 Check constraint name of the column CONTRASEnA of the table


SVV_GPO_TURIST
CK_CONTRASENA2

IV.2.1.12.26.3 Check of the column CONTRASEnA of the table


SVV_GPO_TURIST
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.26.4 Server validation rule of the column CONTRASEnA of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.26.5 List of extended attributes of the table column CONTRASEnA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.27 Column NOMUSUARIO of the table SVV_GPO_TURIST


IV.2.1.12.27.1 Card of the column NOMUSUARIO of the table
SVV_GPO_TURIST
Name NOMUSUARIO
Code NOMUSUARIO2
Data Type varchar(50)
Mandatory No

IV.2.1.12.27.2 Check constraint name of the column NOMUSUARIO of the table


SVV_GPO_TURIST
CK_NOMUSUARIO2

PowerDesigner 12/05/2017 Page 106


Physical Data Model FISICO

IV.2.1.12.27.3 Check of the column NOMUSUARIO of the table


SVV_GPO_TURIST
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.12.27.4 Server validation rule of the column NOMUSUARIO of the table


SVV_GPO_TURIST
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.27.5 List of extended attributes of the table column NOMUSUARIO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.12.28 List of keys of the table SVV_GPO_TURIST


Name Code Primary
IDGPOTURIST IDENTIFIER_1 X

IV.2.1.12.29 Key IDGPOTURIST of the table SVV_GPO_TURIST


IV.2.1.12.29.1 Card of the key IDGPOTURIST of the table SVV_GPO_TURIST
Name IDGPOTURIST
Code IDENTIFIER_1
Table SVV_GPO_TURIST

IV.2.1.12.29.2 Code preview of the key IDGPOTURIST of the table


SVV_GPO_TURIST
alter table SVV_GPO_TURIST
drop primary key;

IV.2.1.12.29.3 List of columns of the table key IDGPOTURIST


Name Code
IDGPOTURIST IDGPOTURIST

PowerDesigner 12/05/2017 Page 107


Physical Data Model FISICO

IV.2.1.12.29.4 List of all dependencies of the table key IDGPOTURIST


Name Code Class Name
GPO_TURIST_BITACORA_SOLICITU GPO_TURIST_BITACORA_SOLICITU Reference
D D
GPO_TURIST_COMENTARIOS_PRO GPO_TURIST_COMENTARIOS_PRO Reference
DUCTOS DUCTOS
GPO_TURIST_PREFERENCIAS GPO_TURIST_PREFERENCIAS Reference
GPO_TURIST_PRODUCTOS GPO_TURIST_PRODUCTOS Reference
SVV_GPO_TURIST_PK SVV_GPO_TURIST_PK Index

IV.2.1.12.29.5 List of extended attributes of the table key IDGPOTURIST


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.12.30 List of indexes of the table SVV_GPO_TURIST


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_GPO_TURIS SVV_GPO_TURIS X X
T_PK T_PK
PAISES_GPO_TUR PAISES_GPO_TUR X
IST_FK IST_FK
ESTADOS_GPO_T ESTADOS_GPO_T X
URIST_FK URIST_FK
CIUDADES_GPO_ CIUDADES_GPO_ X
TURIST_FK TURIST_FK

IV.2.1.12.31 Index SVV_GPO_TURIST_PK of the table


SVV_GPO_TURIST
IV.2.1.12.31.1 Card of the index SVV_GPO_TURIST_PK of the table
SVV_GPO_TURIST
Name SVV_GPO_TURIST_PK
Code SVV_GPO_TURIST_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_GPO_TURIST

PowerDesigner 12/05/2017 Page 108


Physical Data Model FISICO

IV.2.1.12.31.2 Code preview of the index SVV_GPO_TURIST_PK of the table


SVV_GPO_TURIST
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.12.31.3 List of index columns of the table index SVV_GPO_TURIST_PK


Name Code Sort
IDGPOTURIST IDGPOTURIST Ascending

IV.2.1.12.31.4 List of extended attributes of the table index


SVV_GPO_TURIST_PK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.12.32 Index PAISES_GPO_TURIST_FK of the table


SVV_GPO_TURIST
IV.2.1.12.32.1 Card of the index PAISES_GPO_TURIST_FK of the table
SVV_GPO_TURIST
Name PAISES_GPO_TURIST_FK
Code PAISES_GPO_TURIST_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_GPO_TURIST

IV.2.1.12.32.2 Code preview of the index PAISES_GPO_TURIST_FK of the table


SVV_GPO_TURIST
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.12.32.3 List of index columns of the table index


PAISES_GPO_TURIST_FK
Name Code Sort
IDPAIS IDPAIS Ascending

IV.2.1.12.32.4 List of extended attributes of the table index


PAISES_GPO_TURIST_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 109


Physical Data Model FISICO

IV.2.1.12.33 Index ESTADOS_GPO_TURIST_FK of the table


SVV_GPO_TURIST
IV.2.1.12.33.1 Card of the index ESTADOS_GPO_TURIST_FK of the table
SVV_GPO_TURIST
Name ESTADOS_GPO_TURIST_FK
Code ESTADOS_GPO_TURIST_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_GPO_TURIST

IV.2.1.12.33.2 Code preview of the index ESTADOS_GPO_TURIST_FK of the


table SVV_GPO_TURIST
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.12.33.3 List of index columns of the table index


ESTADOS_GPO_TURIST_FK
Name Code Sort
IDESTADO IDESTADO Ascending

IV.2.1.12.33.4 List of extended attributes of the table index


ESTADOS_GPO_TURIST_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.12.34 Index CIUDADES_GPO_TURIST_FK of the table


SVV_GPO_TURIST
IV.2.1.12.34.1 Card of the index CIUDADES_GPO_TURIST_FK of the table
SVV_GPO_TURIST
Name CIUDADES_GPO_TURIST_FK
Code CIUDADES_GPO_TURIST_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_GPO_TURIST

PowerDesigner 12/05/2017 Page 110


Physical Data Model FISICO

IV.2.1.12.34.2 Code preview of the index CIUDADES_GPO_TURIST_FK of the


table SVV_GPO_TURIST
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.12.34.3 List of index columns of the table index


CIUDADES_GPO_TURIST_FK
Name Code Sort
IDCIUDAD IDCIUDAD Ascending

IV.2.1.12.34.4 List of extended attributes of the table index


CIUDADES_GPO_TURIST_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.13 Table SVV_PADECIMIENTOS


IV.2.1.13.1 Card of table SVV_PADECIMIENTOS
Name SVV_PADECIMIENTOS
Code SVV_PADECIMIENTOS
DBMS MySQL 5.0

IV.2.1.13.2 Check constraint name of the table


SVV_PADECIMIENTOS
TK_SVV_PADECIMIENTOS

IV.2.1.13.3 Server validation rule of the table


SVV_PADECIMIENTOS
%RULES%

IV.2.1.13.4 Code preview of the table SVV_PADECIMIENTOS


drop table if exists SVV_PADECIMIENTOS;

/*==============================================================*/
/* Table: SVV_PADECIMIENTOS */
/*==============================================================*/
create table SVV_PADECIMIENTOS
(
IDPADECIMIENTO int not null,
PADECIMIENTO varchar(50) not null,
primary key (IDPADECIMIENTO)
);

PowerDesigner 12/05/2017 Page 111


Physical Data Model FISICO

IV.2.1.13.5 List of diagrams containing the table


SVV_PADECIMIENTOS
Name Code
FISICO FISICO

IV.2.1.13.6 List of incoming references of the table


SVV_PADECIMIENTOS
Name Code
PADECIMIENTOS_TURISTAS PADECIMIENTOS_TURISTAS

IV.2.1.13.7 List of all dependencies of the table


SVV_PADECIMIENTOS
Name Code Class Name
PADECIMIENTOS_TURISTAS PADECIMIENTOS_TURISTAS Reference

IV.2.1.13.8 List of extended attributes of the table


SVV_PADECIMIENTOS
Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.13.9 List of columns of the table SVV_PADECIMIENTOS


Name Code
IDPADECIMIENTO IDPADECIMIENTO
PADECIMIENTO PADECIMIENTO

IV.2.1.13.10 Column IDPADECIMIENTO of the table


SVV_PADECIMIENTOS
IV.2.1.13.10.1 Card of the column IDPADECIMIENTO of the table
SVV_PADECIMIENTOS
Name IDPADECIMIENTO
Code IDPADECIMIENTO
Data Type int
Mandatory Yes

IV.2.1.13.10.2 Check constraint name of the column IDPADECIMIENTO of the


table SVV_PADECIMIENTOS
CK_IDPADECIMIENTO

PowerDesigner 12/05/2017 Page 112


Physical Data Model FISICO

IV.2.1.13.10.3 Check of the column IDPADECIMIENTO of the table


SVV_PADECIMIENTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.13.10.4 Server validation rule of the column IDPADECIMIENTO of the


table SVV_PADECIMIENTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.13.10.5 List of all dependencies of the table column IDPADECIMIENTO


Name Code Class Name
IDPADECIMIENTO IDPADECIMIENTO Index Column
IDPADECIMIENTO IDPADECIMIENTO Key
? ? Reference Join

IV.2.1.13.10.6 List of extended attributes of the table column IDPADECIMIENTO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.13.11 Column PADECIMIENTO of the table


SVV_PADECIMIENTOS
IV.2.1.13.11.1 Card of the column PADECIMIENTO of the table
SVV_PADECIMIENTOS
Name PADECIMIENTO
Code PADECIMIENTO
Data Type varchar(50)
Mandatory Yes

IV.2.1.13.11.2 Check constraint name of the column PADECIMIENTO of the


table SVV_PADECIMIENTOS
CK_PADECIMIENTO

PowerDesigner 12/05/2017 Page 113


Physical Data Model FISICO

IV.2.1.13.11.3 Check of the column PADECIMIENTO of the table


SVV_PADECIMIENTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.13.11.4 Server validation rule of the column PADECIMIENTO of the table


SVV_PADECIMIENTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.13.11.5 List of extended attributes of the table column PADECIMIENTO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.13.12 List of keys of the table SVV_PADECIMIENTOS


Name Code Primary
IDPADECIMIENTO IDPADECIMIENTO X

IV.2.1.13.13 Key IDPADECIMIENTO of the table


SVV_PADECIMIENTOS
IV.2.1.13.13.1 Card of the key IDPADECIMIENTO of the table
SVV_PADECIMIENTOS
Name IDPADECIMIENTO
Code IDPADECIMIENTO
Table SVV_PADECIMIENTOS

IV.2.1.13.13.2 Code preview of the key IDPADECIMIENTO of the table


SVV_PADECIMIENTOS
alter table SVV_PADECIMIENTOS
drop primary key;

IV.2.1.13.13.3 List of columns of the table key IDPADECIMIENTO


Name Code

PowerDesigner 12/05/2017 Page 114


Physical Data Model FISICO

IDPADECIMIENTO IDPADECIMIENTO

IV.2.1.13.13.4 List of all dependencies of the table key IDPADECIMIENTO


Name Code Class Name
PADECIMIENTOS_TURISTAS PADECIMIENTOS_TURISTAS Reference
SVV_PADECIMIENTOS_PK SVV_PADECIMIENTOS_PK Index

IV.2.1.13.13.5 List of extended attributes of the table key IDPADECIMIENTO


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.13.14 List of indexes of the table SVV_PADECIMIENTOS


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_PADECIMIE SVV_PADECIMIE X X
NTOS_PK NTOS_PK

IV.2.1.13.15 Index SVV_PADECIMIENTOS_PK of the table


SVV_PADECIMIENTOS
IV.2.1.13.15.1 Card of the index SVV_PADECIMIENTOS_PK of the table
SVV_PADECIMIENTOS
Name SVV_PADECIMIENTOS_PK
Code SVV_PADECIMIENTOS_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_PADECIMIENTOS

IV.2.1.13.15.2 Code preview of the index SVV_PADECIMIENTOS_PK of the


table SVV_PADECIMIENTOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.13.15.3 List of index columns of the table index


SVV_PADECIMIENTOS_PK
Name Code Sort
IDPADECIMIENTO IDPADECIMIENTO Ascending

PowerDesigner 12/05/2017 Page 115


Physical Data Model FISICO

IV.2.1.13.15.4 List of extended attributes of the table index


SVV_PADECIMIENTOS_PK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.14 Table SVV_PAISES


IV.2.1.14.1 Card of table SVV_PAISES
Name SVV_PAISES
Code SVV_PAISES
DBMS MySQL 5.0

IV.2.1.14.2 Check constraint name of the table SVV_PAISES


TK_SVV_PAISES

IV.2.1.14.3 Server validation rule of the table SVV_PAISES


%RULES%

IV.2.1.14.4 Code preview of the table SVV_PAISES


drop table if exists SVV_PAISES;

/*==============================================================*/
/* Table: SVV_PAISES */
/*==============================================================*/
create table SVV_PAISES
(
IDPAIS int not null,
NOMBRE varchar(20) not null,
primary key (IDPAIS)
);

IV.2.1.14.5 List of diagrams containing the table SVV_PAISES


Name Code
FISICO FISICO

IV.2.1.14.6 List of incoming references of the table SVV_PAISES


Name Code
DESTINOS_PAISES DESTINOS_PAISES
PAISES_GPO_TURIST PAISES_GPO_TURIST
PAISES_TURISTAS PAISES_TURISTAS

IV.2.1.14.7 List of all dependencies of the table SVV_PAISES


Name Code Class Name

PowerDesigner 12/05/2017 Page 116


Physical Data Model FISICO

DESTINOS_PAISES DESTINOS_PAISES Reference


PAISES_GPO_TURIST PAISES_GPO_TURIST Reference
PAISES_TURISTAS PAISES_TURISTAS Reference

IV.2.1.14.8 List of extended attributes of the table SVV_PAISES


Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.14.9 List of columns of the table SVV_PAISES


Name Code
IDPAIS IDPAIS
NOMBRE NOMBRE

IV.2.1.14.10 Column IDPAIS of the table SVV_PAISES


IV.2.1.14.10.1 Card of the column IDPAIS of the table SVV_PAISES
Name IDPAIS
Code IDPAIS
Data Type int
Mandatory Yes

IV.2.1.14.10.2 Check constraint name of the column IDPAIS of the table


SVV_PAISES
CK_IDPAIS

IV.2.1.14.10.3 Check of the column IDPAIS of the table SVV_PAISES


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.14.10.4 Server validation rule of the column IDPAIS of the table


SVV_PAISES
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.14.10.5 List of all dependencies of the table column IDPAIS


Name Code Class Name
IDPAIS IDPAIS Index Column

PowerDesigner 12/05/2017 Page 117


Physical Data Model FISICO

IDPAIS IDPAIS Key


? ? Reference Join
? ? Reference Join
? ? Reference Join

IV.2.1.14.10.6 List of extended attributes of the table column IDPAIS


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.14.11 Column NOMBRE of the table SVV_PAISES


IV.2.1.14.11.1 Card of the column NOMBRE of the table SVV_PAISES
Name NOMBRE
Code NOMBRE
Data Type varchar(20)
Mandatory Yes

IV.2.1.14.11.2 Check constraint name of the column NOMBRE of the table


SVV_PAISES
CK_NOMBRE

IV.2.1.14.11.3 Check of the column NOMBRE of the table SVV_PAISES


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.14.11.4 Server validation rule of the column NOMBRE of the table


SVV_PAISES
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.14.11.5 List of extended attributes of the table column NOMBRE


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0

PowerDesigner 12/05/2017 Page 118


Physical Data Model FISICO

National (Boolean) false MySQL 5.0


Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.14.12 List of keys of the table SVV_PAISES


Name Code Primary
IDPAIS IDPAIS X

IV.2.1.14.13 Key IDPAIS of the table SVV_PAISES


IV.2.1.14.13.1 Card of the key IDPAIS of the table SVV_PAISES
Name IDPAIS
Code IDPAIS
Table SVV_PAISES

IV.2.1.14.13.2 Code preview of the key IDPAIS of the table SVV_PAISES


alter table SVV_PAISES
drop primary key;

IV.2.1.14.13.3 List of columns of the table key IDPAIS


Name Code
IDPAIS IDPAIS

IV.2.1.14.13.4 List of all dependencies of the table key IDPAIS


Name Code Class Name
DESTINOS_PAISES DESTINOS_PAISES Reference
PAISES_GPO_TURIST PAISES_GPO_TURIST Reference
PAISES_TURISTAS PAISES_TURISTAS Reference
SVV_PAISES_PK SVV_PAISES_PK Index

IV.2.1.14.13.5 List of extended attributes of the table key IDPAIS


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.14.14 List of indexes of the table SVV_PAISES


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_PAISES_PK SVV_PAISES_PK X X

PowerDesigner 12/05/2017 Page 119


Physical Data Model FISICO

IV.2.1.14.15 Index SVV_PAISES_PK of the table SVV_PAISES


IV.2.1.14.15.1 Card of the index SVV_PAISES_PK of the table SVV_PAISES
Name SVV_PAISES_PK
Code SVV_PAISES_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_PAISES

IV.2.1.14.15.2 Code preview of the index SVV_PAISES_PK of the table


SVV_PAISES
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.14.15.3 List of index columns of the table index SVV_PAISES_PK


Name Code Sort
IDPAIS IDPAIS Ascending

IV.2.1.14.15.4 List of extended attributes of the table index SVV_PAISES_PK


Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.15 Table SVV_PREFERENCIAS


IV.2.1.15.1 Card of table SVV_PREFERENCIAS
Name SVV_PREFERENCIAS
Code SVV_PREFERENCIAS
DBMS MySQL 5.0

IV.2.1.15.2 Check constraint name of the table


SVV_PREFERENCIAS
TK_SVV_PREFERENCIAS

IV.2.1.15.3 Server validation rule of the table SVV_PREFERENCIAS


%RULES%

IV.2.1.15.4 Code preview of the table SVV_PREFERENCIAS


drop table if exists SVV_PREFERENCIAS;

/*==============================================================*/

PowerDesigner 12/05/2017 Page 120


Physical Data Model FISICO

/* Table: SVV_PREFERENCIAS */
/*==============================================================*/
create table SVV_PREFERENCIAS
(
IDPREFERENCIA int not null,
IDTURISTA int not null,
IDCATEGORIA int not null,
IDDESTINO int not null,
IDGPOTURIST int not null,
PREFERENCIA varchar(20) not null,
primary key (IDPREFERENCIA)
);

alter table SVV_PREFERENCIAS add constraint FK_CATEGORIAS_DESTINOS_PREFERENCIAS foreign key


(IDCATEGORIA)
references SVV_CATEGORIAS_DESTINOS (IDCATEGORIA) on delete restrict on update restrict;

alter table SVV_PREFERENCIAS add constraint FK_DESTINOS_PREFERENCIAS foreign key (IDDESTINO)


references SVV_DESTINOS (IDDESTINO) on delete restrict on update restrict;

alter table SVV_PREFERENCIAS add constraint FK_GPO_TURIST_PREFERENCIAS foreign key (IDGPOTURIST)


references SVV_GPO_TURIST (IDGPOTURIST) on delete restrict on update restrict;

alter table SVV_PREFERENCIAS add constraint FK_TURISTA_PREFERENCIAS foreign key (IDTURISTA)


references SVV_TURISTA (IDTURISTA) on delete restrict on update restrict;

IV.2.1.15.5 List of diagrams containing the table


SVV_PREFERENCIAS
Name Code
FISICO FISICO

IV.2.1.15.6 List of outgoing references of the table


SVV_PREFERENCIAS
Name Code Foreign Key Columns
CATEGORIAS_DESTINOS_ CATEGORIAS_DESTINOS_ IDCATEGORIA
PREFERENCIAS PREFERENCIAS
DESTINOS_PREFERENCIA DESTINOS_PREFERENCIA IDDESTINO
S S
GPO_TURIST_PREFERENC GPO_TURIST_PREFERENC IDGPOTURIST
IAS IAS
TURISTA_PREFERENCIAS TURISTA_PREFERENCIAS IDTURISTA

IV.2.1.15.7 List of all dependencies of the table


SVV_PREFERENCIAS
Name Code Class Name
CATEGORIAS_DESTINOS_PREFERE CATEGORIAS_DESTINOS_PREFERE Reference
NCIAS NCIAS

PowerDesigner 12/05/2017 Page 121


Physical Data Model FISICO

DESTINOS_PREFERENCIAS DESTINOS_PREFERENCIAS Reference


GPO_TURIST_PREFERENCIAS GPO_TURIST_PREFERENCIAS Reference
TURISTA_PREFERENCIAS TURISTA_PREFERENCIAS Reference

IV.2.1.15.8 List of extended attributes of the table


SVV_PREFERENCIAS
Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.15.9 List of columns of the table SVV_PREFERENCIAS


Name Code
IDPREFERENCIA IDPREFERENCIA
IDTURISTA IDTURISTA
IDCATEGORIA IDCATEGORIA
IDDESTINO IDDESTINO
IDGPOTURIST IDGPOTURIST
PREFERENCIA PREFERENCIA

IV.2.1.15.10 Column IDPREFERENCIA of the table


SVV_PREFERENCIAS
IV.2.1.15.10.1 Card of the column IDPREFERENCIA of the table
SVV_PREFERENCIAS
Name IDPREFERENCIA
Code IDPREFERENCIA
Data Type int
Mandatory Yes

IV.2.1.15.10.2 Check constraint name of the column IDPREFERENCIA of the


table SVV_PREFERENCIAS
CK_IDPREFERENCIA

IV.2.1.15.10.3 Check of the column IDPREFERENCIA of the table


SVV_PREFERENCIAS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 122


Physical Data Model FISICO

IV.2.1.15.10.4 Server validation rule of the column IDPREFERENCIA of the table


SVV_PREFERENCIAS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.15.10.5 List of all dependencies of the table column IDPREFERENCIA


Name Code Class Name
IDPREFERENCIA IDPREFERENCIA Key
IDPREFERENCIA IDPREFERENCIA Index Column

IV.2.1.15.10.6 List of extended attributes of the table column IDPREFERENCIA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.15.11 Column IDTURISTA of the table SVV_PREFERENCIAS


IV.2.1.15.11.1 Card of the column IDTURISTA of the table
SVV_PREFERENCIAS
Name IDTURISTA
Code IDTURISTA
Data Type int
Mandatory Yes

IV.2.1.15.11.2 Check constraint name of the column IDTURISTA of the table


SVV_PREFERENCIAS
CK_IDTURISTA

IV.2.1.15.11.3 Check of the column IDTURISTA of the table


SVV_PREFERENCIAS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.15.11.4 Server validation rule of the column IDTURISTA of the table


SVV_PREFERENCIAS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

PowerDesigner 12/05/2017 Page 123


Physical Data Model FISICO

IV.2.1.15.11.5 List of all dependencies of the table column IDTURISTA


Name Code Class Name
IDTURISTA IDTURISTA Index Column
? ? Reference Join

IV.2.1.15.11.6 List of extended attributes of the table column IDTURISTA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.15.12 Column IDCATEGORIA of the table


SVV_PREFERENCIAS
IV.2.1.15.12.1 Card of the column IDCATEGORIA of the table
SVV_PREFERENCIAS
Name IDCATEGORIA
Code IDCATEGORIA
Data Type int
Mandatory Yes

IV.2.1.15.12.2 Check constraint name of the column IDCATEGORIA of the table


SVV_PREFERENCIAS
CK_IDCATEGORIA

IV.2.1.15.12.3 Check of the column IDCATEGORIA of the table


SVV_PREFERENCIAS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.15.12.4 Server validation rule of the column IDCATEGORIA of the table


SVV_PREFERENCIAS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

PowerDesigner 12/05/2017 Page 124


Physical Data Model FISICO

IV.2.1.15.12.5 List of all dependencies of the table column IDCATEGORIA


Name Code Class Name
IDCATEGORIA IDCATEGORIA Index Column
? ? Reference Join

IV.2.1.15.12.6 List of extended attributes of the table column IDCATEGORIA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.15.13 Column IDDESTINO of the table SVV_PREFERENCIAS


IV.2.1.15.13.1 Card of the column IDDESTINO of the table
SVV_PREFERENCIAS
Name IDDESTINO
Code IDDESTINO
Data Type int
Mandatory Yes

IV.2.1.15.13.2 Check constraint name of the column IDDESTINO of the table


SVV_PREFERENCIAS
CK_IDDESTINO

IV.2.1.15.13.3 Check of the column IDDESTINO of the table


SVV_PREFERENCIAS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.15.13.4 Server validation rule of the column IDDESTINO of the table


SVV_PREFERENCIAS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.15.13.5 List of all dependencies of the table column IDDESTINO


Name Code Class Name
IDDESTINO IDDESTINO Index Column

PowerDesigner 12/05/2017 Page 125


Physical Data Model FISICO

? ? Reference Join

IV.2.1.15.13.6 List of extended attributes of the table column IDDESTINO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.15.14 Column IDGPOTURIST of the table


SVV_PREFERENCIAS
IV.2.1.15.14.1 Card of the column IDGPOTURIST of the table
SVV_PREFERENCIAS
Name IDGPOTURIST
Code IDGPOTURIST
Data Type int
Mandatory Yes

IV.2.1.15.14.2 Check constraint name of the column IDGPOTURIST of the table


SVV_PREFERENCIAS
CK_IDGPOTURIST

IV.2.1.15.14.3 Check of the column IDGPOTURIST of the table


SVV_PREFERENCIAS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.15.14.4 Server validation rule of the column IDGPOTURIST of the table


SVV_PREFERENCIAS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.15.14.5 List of all dependencies of the table column IDGPOTURIST


Name Code Class Name
IDGPOTURIST IDGPOTURIST Index Column
? ? Reference Join

PowerDesigner 12/05/2017 Page 126


Physical Data Model FISICO

IV.2.1.15.14.6 List of extended attributes of the table column IDGPOTURIST


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.15.15 Column PREFERENCIA of the table


SVV_PREFERENCIAS
IV.2.1.15.15.1 Card of the column PREFERENCIA of the table
SVV_PREFERENCIAS
Name PREFERENCIA
Code PREFERENCIA
Data Type varchar(20)
Mandatory Yes

IV.2.1.15.15.2 Check constraint name of the column PREFERENCIA of the table


SVV_PREFERENCIAS
CK_PREFERENCIA

IV.2.1.15.15.3 Check of the column PREFERENCIA of the table


SVV_PREFERENCIAS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.15.15.4 Server validation rule of the column PREFERENCIA of the table


SVV_PREFERENCIAS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.15.15.5 List of extended attributes of the table column PREFERENCIA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 127


Physical Data Model FISICO

IV.2.1.15.16 List of keys of the table SVV_PREFERENCIAS


Name Code Primary
IDPREFERENCIA IDPREFERENCIA X

IV.2.1.15.17 Key IDPREFERENCIA of the table


SVV_PREFERENCIAS
IV.2.1.15.17.1 Card of the key IDPREFERENCIA of the table
SVV_PREFERENCIAS
Name IDPREFERENCIA
Code IDPREFERENCIA
Table SVV_PREFERENCIAS

IV.2.1.15.17.2 Code preview of the key IDPREFERENCIA of the table


SVV_PREFERENCIAS
alter table SVV_PREFERENCIAS
drop primary key;

IV.2.1.15.17.3 List of columns of the table key IDPREFERENCIA


Name Code
IDPREFERENCIA IDPREFERENCIA

IV.2.1.15.17.4 List of all dependencies of the table key IDPREFERENCIA


Name Code Class Name
SVV_PREFERENCIAS_PK SVV_PREFERENCIAS_PK Index

IV.2.1.15.17.5 List of extended attributes of the table key IDPREFERENCIA


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.15.18 List of indexes of the table SVV_PREFERENCIAS


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_PREFERENC SVV_PREFERENC X X
IAS_PK IAS_PK
TURISTA_PREFERTURISTA_PREFER X
ENCIAS_FK ENCIAS_FK
CATEGORIAS_DE CATEGORIAS_DE X
STINOS_PREFERE STINOS_PREFERE

PowerDesigner 12/05/2017 Page 128


Physical Data Model FISICO

NCIAS_FK NCIAS_FK
DESTINOS_PREF DESTINOS_PREF X
ERENCIAS_FK ERENCIAS_FK
GPO_TURIST_PR GPO_TURIST_PR X
EFERENCIAS_FK EFERENCIAS_FK

IV.2.1.15.19 Index SVV_PREFERENCIAS_PK of the table


SVV_PREFERENCIAS
IV.2.1.15.19.1 Card of the index SVV_PREFERENCIAS_PK of the table
SVV_PREFERENCIAS
Name SVV_PREFERENCIAS_PK
Code SVV_PREFERENCIAS_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_PREFERENCIAS

IV.2.1.15.19.2 Code preview of the index SVV_PREFERENCIAS_PK of the table


SVV_PREFERENCIAS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.15.19.3 List of index columns of the table index


SVV_PREFERENCIAS_PK
Name Code Sort
IDPREFERENCIA IDPREFERENCIA Ascending

IV.2.1.15.19.4 List of extended attributes of the table index


SVV_PREFERENCIAS_PK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.15.20 Index TURISTA_PREFERENCIAS_FK of the table


SVV_PREFERENCIAS
IV.2.1.15.20.1 Card of the index TURISTA_PREFERENCIAS_FK of the table
SVV_PREFERENCIAS
Name TURISTA_PREFERENCIAS_FK
Code TURISTA_PREFERENCIAS_FK
Unique No

PowerDesigner 12/05/2017 Page 129


Physical Data Model FISICO

Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_PREFERENCIAS

IV.2.1.15.20.2 Code preview of the index TURISTA_PREFERENCIAS_FK of the


table SVV_PREFERENCIAS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.15.20.3 List of index columns of the table index


TURISTA_PREFERENCIAS_FK
Name Code Sort
IDTURISTA IDTURISTA Ascending

IV.2.1.15.20.4 List of extended attributes of the table index


TURISTA_PREFERENCIAS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.15.21 Index CATEGORIAS_DESTINOS_PREFERENCIAS_FK


of the table SVV_PREFERENCIAS
IV.2.1.15.21.1 Card of the index
CATEGORIAS_DESTINOS_PREFERENCIAS_FK of the table
SVV_PREFERENCIAS
Name CATEGORIAS_DESTINOS_PREFERENCIAS_FK
Code CATEGORIAS_DESTINOS_PREFERENCIAS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_PREFERENCIAS

IV.2.1.15.21.2 Code preview of the index


CATEGORIAS_DESTINOS_PREFERENCIAS_FK of the table
SVV_PREFERENCIAS
# The preview is empty because of the setting.
# Check the generation option.

PowerDesigner 12/05/2017 Page 130


Physical Data Model FISICO

IV.2.1.15.21.3 List of index columns of the table index


CATEGORIAS_DESTINOS_PREFERENCIAS_FK
Name Code Sort
IDCATEGORIA IDCATEGORIA Ascending

IV.2.1.15.21.4 List of extended attributes of the table index


CATEGORIAS_DESTINOS_PREFERENCIAS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.15.22 Index DESTINOS_PREFERENCIAS_FK of the table


SVV_PREFERENCIAS
IV.2.1.15.22.1 Card of the index DESTINOS_PREFERENCIAS_FK of the table
SVV_PREFERENCIAS
Name DESTINOS_PREFERENCIAS_FK
Code DESTINOS_PREFERENCIAS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_PREFERENCIAS

IV.2.1.15.22.2 Code preview of the index DESTINOS_PREFERENCIAS_FK of


the table SVV_PREFERENCIAS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.15.22.3 List of index columns of the table index


DESTINOS_PREFERENCIAS_FK
Name Code Sort
IDDESTINO IDDESTINO Ascending

IV.2.1.15.22.4 List of extended attributes of the table index


DESTINOS_PREFERENCIAS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 131


Physical Data Model FISICO

IV.2.1.15.23 Index GPO_TURIST_PREFERENCIAS_FK of the table


SVV_PREFERENCIAS
IV.2.1.15.23.1 Card of the index GPO_TURIST_PREFERENCIAS_FK of the
table SVV_PREFERENCIAS
Name GPO_TURIST_PREFERENCIAS_FK
Code GPO_TURIST_PREFERENCIAS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_PREFERENCIAS

IV.2.1.15.23.2 Code preview of the index GPO_TURIST_PREFERENCIAS_FK


of the table SVV_PREFERENCIAS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.15.23.3 List of index columns of the table index


GPO_TURIST_PREFERENCIAS_FK
Name Code Sort
IDGPOTURIST IDGPOTURIST Ascending

IV.2.1.15.23.4 List of extended attributes of the table index


GPO_TURIST_PREFERENCIAS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.16 Table SVV_PRODUCTOS


IV.2.1.16.1 Card of table SVV_PRODUCTOS
Name SVV_PRODUCTOS
Code SVV_PRODUCTOS
DBMS MySQL 5.0

IV.2.1.16.2 Check constraint name of the table SVV_PRODUCTOS


TK_SVV_PRODUCTOS

IV.2.1.16.3 Server validation rule of the table SVV_PRODUCTOS


%RULES%

PowerDesigner 12/05/2017 Page 132


Physical Data Model FISICO

IV.2.1.16.4 Code preview of the table SVV_PRODUCTOS


drop table if exists SVV_PRODUCTOS;

/*==============================================================*/
/* Table: SVV_PRODUCTOS */
/*==============================================================*/
create table SVV_PRODUCTOS
(
IDPRODUCTOS int not null,
IDGPOTURIST int not null,
IDDESTINO int not null,
DESCRIPCION3 text,
FECHAINI timestamp,
FECHAFIN timestamp,
PUNTOENCUENTRO text,
CUPOSDISPONIBLES int,
CUPOSRESERVADOS int,
ESTADO int,
primary key (IDPRODUCTOS)
);

alter table SVV_PRODUCTOS add constraint FK_DESTINOS_PRODUCTOS foreign key (IDDESTINO)


references SVV_DESTINOS (IDDESTINO) on delete restrict on update restrict;

alter table SVV_PRODUCTOS add constraint FK_GPO_TURIST_PRODUCTOS foreign key (IDGPOTURIST)


references SVV_GPO_TURIST (IDGPOTURIST) on delete restrict on update restrict;

IV.2.1.16.5 List of diagrams containing the table SVV_PRODUCTOS


Name Code
FISICO FISICO

IV.2.1.16.6 List of incoming references of the table


SVV_PRODUCTOS
Name Code
PRODUCTOS_COMENTARIOS_PRODUCTOS PRODUCTOS_COMENTARIOS_PRODUCTOS
PRODUCTOS_SOLICITUD_INS PRODUCTOS_SOLICITUD_INS

IV.2.1.16.7 List of outgoing references of the table


SVV_PRODUCTOS
Name Code Foreign Key Columns
DESTINOS_PRODUCTOS DESTINOS_PRODUCTOS IDDESTINO
GPO_TURIST_PRODUCTOSGPO_TURIST_PRODUCTOSIDGPOTURIST

IV.2.1.16.8 List of all dependencies of the table SVV_PRODUCTOS


Name Code Class Name
DESTINOS_PRODUCTOS DESTINOS_PRODUCTOS Reference

PowerDesigner 12/05/2017 Page 133


Physical Data Model FISICO

GPO_TURIST_PRODUCTOS GPO_TURIST_PRODUCTOS Reference


PRODUCTOS_COMENTARIOS_PRO PRODUCTOS_COMENTARIOS_PRO Reference
DUCTOS DUCTOS
PRODUCTOS_SOLICITUD_INS PRODUCTOS_SOLICITUD_INS Reference

IV.2.1.16.9 List of extended attributes of the table SVV_PRODUCTOS


Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.16.10 List of columns of the table SVV_PRODUCTOS


Name Code
IDPRODUCTOS IDPRODUCTOS
IDGPOTURIST IDGPOTURIST
IDDESTINO IDDESTINO
DESCRIPCION DESCRIPCION3
FECHAINI FECHAINI
FECHAFIN FECHAFIN
PUNTOENCUENTRO PUNTOENCUENTRO
CUPOSDISPONIBLES CUPOSDISPONIBLES
CUPOSRESERVADOS CUPOSRESERVADOS
ESTADO ESTADO

IV.2.1.16.11 Column IDPRODUCTOS of the table SVV_PRODUCTOS


IV.2.1.16.11.1 Card of the column IDPRODUCTOS of the table
SVV_PRODUCTOS
Name IDPRODUCTOS
Code IDPRODUCTOS
Data Type int
Mandatory Yes

IV.2.1.16.11.2 Check constraint name of the column IDPRODUCTOS of the table


SVV_PRODUCTOS
CK_IDPRODUCTOS

IV.2.1.16.11.3 Check of the column IDPRODUCTOS of the table


SVV_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit
Format

PowerDesigner 12/05/2017 Page 134


Physical Data Model FISICO

Cannot Modify No
List Of Values

IV.2.1.16.11.4 Server validation rule of the column IDPRODUCTOS of the table


SVV_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.16.11.5 List of all dependencies of the table column IDPRODUCTOS


Name Code Class Name
IDPRODUCTOS IDPRODUCTOS Index Column
IDPRODUCTOS IDPRODUCTOS Key
? ? Reference Join
? ? Reference Join

IV.2.1.16.11.6 List of extended attributes of the table column IDPRODUCTOS


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.16.12 Column IDGPOTURIST of the table SVV_PRODUCTOS


IV.2.1.16.12.1 Card of the column IDGPOTURIST of the table
SVV_PRODUCTOS
Name IDGPOTURIST
Code IDGPOTURIST
Data Type int
Mandatory Yes

IV.2.1.16.12.2 Check constraint name of the column IDGPOTURIST of the table


SVV_PRODUCTOS
CK_IDGPOTURIST

IV.2.1.16.12.3 Check of the column IDGPOTURIST of the table


SVV_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No

PowerDesigner 12/05/2017 Page 135


Physical Data Model FISICO

List Of Values

IV.2.1.16.12.4 Server validation rule of the column IDGPOTURIST of the table


SVV_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.16.12.5 List of all dependencies of the table column IDGPOTURIST


Name Code Class Name
IDGPOTURIST IDGPOTURIST Index Column
? ? Reference Join

IV.2.1.16.12.6 List of extended attributes of the table column IDGPOTURIST


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.16.13 Column IDDESTINO of the table SVV_PRODUCTOS


IV.2.1.16.13.1 Card of the column IDDESTINO of the table SVV_PRODUCTOS
Name IDDESTINO
Code IDDESTINO
Data Type int
Mandatory Yes

IV.2.1.16.13.2 Check constraint name of the column IDDESTINO of the table


SVV_PRODUCTOS
CK_IDDESTINO

IV.2.1.16.13.3 Check of the column IDDESTINO of the table SVV_PRODUCTOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 136


Physical Data Model FISICO

IV.2.1.16.13.4 Server validation rule of the column IDDESTINO of the table


SVV_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.16.13.5 List of all dependencies of the table column IDDESTINO


Name Code Class Name
IDDESTINO IDDESTINO Index Column
? ? Reference Join

IV.2.1.16.13.6 List of extended attributes of the table column IDDESTINO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.16.14 Column DESCRIPCION of the table SVV_PRODUCTOS


IV.2.1.16.14.1 Card of the column DESCRIPCION of the table
SVV_PRODUCTOS
Name DESCRIPCION
Code DESCRIPCION3
Data Type text
Mandatory No

IV.2.1.16.14.2 Check constraint name of the column DESCRIPCION of the table


SVV_PRODUCTOS
CK_DESCRIPCION3

IV.2.1.16.14.3 Check of the column DESCRIPCION of the table


SVV_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.16.14.4 Server validation rule of the column DESCRIPCION of the table


SVV_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

PowerDesigner 12/05/2017 Page 137


Physical Data Model FISICO

IV.2.1.16.14.5 List of extended attributes of the table column DESCRIPCION


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.16.15 Column FECHAINI of the table SVV_PRODUCTOS


IV.2.1.16.15.1 Card of the column FECHAINI of the table SVV_PRODUCTOS
Name FECHAINI
Code FECHAINI
Data Type timestamp
Mandatory No

IV.2.1.16.15.2 Check constraint name of the column FECHAINI of the table


SVV_PRODUCTOS
CK_FECHAINI

IV.2.1.16.15.3 Check of the column FECHAINI of the table SVV_PRODUCTOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.16.15.4 Server validation rule of the column FECHAINI of the table


SVV_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.16.15.5 List of extended attributes of the table column FECHAINI


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 138


Physical Data Model FISICO

IV.2.1.16.16 Column FECHAFIN of the table SVV_PRODUCTOS


IV.2.1.16.16.1 Card of the column FECHAFIN of the table SVV_PRODUCTOS
Name FECHAFIN
Code FECHAFIN
Data Type timestamp
Mandatory No

IV.2.1.16.16.2 Check constraint name of the column FECHAFIN of the table


SVV_PRODUCTOS
CK_FECHAFIN

IV.2.1.16.16.3 Check of the column FECHAFIN of the table SVV_PRODUCTOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.16.16.4 Server validation rule of the column FECHAFIN of the table


SVV_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.16.16.5 List of extended attributes of the table column FECHAFIN


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.16.17 Column PUNTOENCUENTRO of the table


SVV_PRODUCTOS
IV.2.1.16.17.1 Card of the column PUNTOENCUENTRO of the table
SVV_PRODUCTOS
Name PUNTOENCUENTRO
Code PUNTOENCUENTRO
Data Type text
Mandatory No

PowerDesigner 12/05/2017 Page 139


Physical Data Model FISICO

IV.2.1.16.17.2 Check constraint name of the column PUNTOENCUENTRO of the


table SVV_PRODUCTOS
CK_PUNTOENCUENTRO

IV.2.1.16.17.3 Check of the column PUNTOENCUENTRO of the table


SVV_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.16.17.4 Server validation rule of the column PUNTOENCUENTRO of the


table SVV_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.16.17.5 List of extended attributes of the table column


PUNTOENCUENTRO
Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.16.18 Column CUPOSDISPONIBLES of the table


SVV_PRODUCTOS
IV.2.1.16.18.1 Card of the column CUPOSDISPONIBLES of the table
SVV_PRODUCTOS
Name CUPOSDISPONIBLES
Code CUPOSDISPONIBLES
Data Type int
Mandatory No

IV.2.1.16.18.2 Check constraint name of the column CUPOSDISPONIBLES of


the table SVV_PRODUCTOS
CK_CUPOSDISPONIBLES

IV.2.1.16.18.3 Check of the column CUPOSDISPONIBLES of the table


SVV_PRODUCTOS
Minimum Value

PowerDesigner 12/05/2017 Page 140


Physical Data Model FISICO

Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.16.18.4 Server validation rule of the column CUPOSDISPONIBLES of the


table SVV_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.16.18.5 List of extended attributes of the table column


CUPOSDISPONIBLES
Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.16.19 Column CUPOSRESERVADOS of the table


SVV_PRODUCTOS
IV.2.1.16.19.1 Card of the column CUPOSRESERVADOS of the table
SVV_PRODUCTOS
Name CUPOSRESERVADOS
Code CUPOSRESERVADOS
Data Type int
Mandatory No

IV.2.1.16.19.2 Check constraint name of the column CUPOSRESERVADOS of the


table SVV_PRODUCTOS
CK_CUPOSRESERVADOS

IV.2.1.16.19.3 Check of the column CUPOSRESERVADOS of the table


SVV_PRODUCTOS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 141


Physical Data Model FISICO

IV.2.1.16.19.4 Server validation rule of the column CUPOSRESERVADOS of the


table SVV_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.16.19.5 List of extended attributes of the table column


CUPOSRESERVADOS
Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.16.20 Column ESTADO of the table SVV_PRODUCTOS


IV.2.1.16.20.1 Card of the column ESTADO of the table SVV_PRODUCTOS
Name ESTADO
Code ESTADO
Data Type int
Mandatory No

IV.2.1.16.20.2 Check constraint name of the column ESTADO of the table


SVV_PRODUCTOS
CK_ESTADO

IV.2.1.16.20.3 Check of the column ESTADO of the table SVV_PRODUCTOS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.16.20.4 Server validation rule of the column ESTADO of the table


SVV_PRODUCTOS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.16.20.5 List of extended attributes of the table column ESTADO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 142


Physical Data Model FISICO

ZeroFill (Boolean) false MySQL 5.0

IV.2.1.16.21 List of keys of the table SVV_PRODUCTOS


Name Code Primary
IDPRODUCTOS IDPRODUCTOS X

IV.2.1.16.22 Key IDPRODUCTOS of the table SVV_PRODUCTOS


IV.2.1.16.22.1 Card of the key IDPRODUCTOS of the table SVV_PRODUCTOS
Name IDPRODUCTOS
Code IDPRODUCTOS
Table SVV_PRODUCTOS

IV.2.1.16.22.2 Code preview of the key IDPRODUCTOS of the table


SVV_PRODUCTOS
alter table SVV_PRODUCTOS
drop primary key;

IV.2.1.16.22.3 List of columns of the table key IDPRODUCTOS


Name Code
IDPRODUCTOS IDPRODUCTOS

IV.2.1.16.22.4 List of all dependencies of the table key IDPRODUCTOS


Name Code Class Name
PRODUCTOS_COMENTARIOS_PRO PRODUCTOS_COMENTARIOS_PRO Reference
DUCTOS DUCTOS
PRODUCTOS_SOLICITUD_INS PRODUCTOS_SOLICITUD_INS Reference
SVV_PRODUCTOS_PK SVV_PRODUCTOS_PK Index

IV.2.1.16.22.5 List of extended attributes of the table key IDPRODUCTOS


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.16.23 List of indexes of the table SVV_PRODUCTOS


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_PRODUCTO SVV_PRODUCTO X X
S_PK S_PK
GPO_TURIST_PR GPO_TURIST_PR X
ODUCTOS_FK ODUCTOS_FK

PowerDesigner 12/05/2017 Page 143


Physical Data Model FISICO

DESTINOS_PROD DESTINOS_PROD X
UCTOS_FK UCTOS_FK

IV.2.1.16.24 Index SVV_PRODUCTOS_PK of the table


SVV_PRODUCTOS
IV.2.1.16.24.1 Card of the index SVV_PRODUCTOS_PK of the table
SVV_PRODUCTOS
Name SVV_PRODUCTOS_PK
Code SVV_PRODUCTOS_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_PRODUCTOS

IV.2.1.16.24.2 Code preview of the index SVV_PRODUCTOS_PK of the table


SVV_PRODUCTOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.16.24.3 List of index columns of the table index SVV_PRODUCTOS_PK


Name Code Sort
IDPRODUCTOS IDPRODUCTOS Ascending

IV.2.1.16.24.4 List of extended attributes of the table index


SVV_PRODUCTOS_PK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.16.25 Index GPO_TURIST_PRODUCTOS_FK of the table


SVV_PRODUCTOS
IV.2.1.16.25.1 Card of the index GPO_TURIST_PRODUCTOS_FK of the table
SVV_PRODUCTOS
Name GPO_TURIST_PRODUCTOS_FK
Code GPO_TURIST_PRODUCTOS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No

PowerDesigner 12/05/2017 Page 144


Physical Data Model FISICO

Table SVV_PRODUCTOS

IV.2.1.16.25.2 Code preview of the index GPO_TURIST_PRODUCTOS_FK of


the table SVV_PRODUCTOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.16.25.3 List of index columns of the table index


GPO_TURIST_PRODUCTOS_FK
Name Code Sort
IDGPOTURIST IDGPOTURIST Ascending

IV.2.1.16.25.4 List of extended attributes of the table index


GPO_TURIST_PRODUCTOS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.16.26 Index DESTINOS_PRODUCTOS_FK of the table


SVV_PRODUCTOS
IV.2.1.16.26.1 Card of the index DESTINOS_PRODUCTOS_FK of the table
SVV_PRODUCTOS
Name DESTINOS_PRODUCTOS_FK
Code DESTINOS_PRODUCTOS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_PRODUCTOS

IV.2.1.16.26.2 Code preview of the index DESTINOS_PRODUCTOS_FK of the


table SVV_PRODUCTOS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.16.26.3 List of index columns of the table index


DESTINOS_PRODUCTOS_FK
Name Code Sort
IDDESTINO IDDESTINO Ascending

PowerDesigner 12/05/2017 Page 145


Physical Data Model FISICO

IV.2.1.16.26.4 List of extended attributes of the table index


DESTINOS_PRODUCTOS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.17 Table SVV_SOLICITUD_INS


IV.2.1.17.1 Card of table SVV_SOLICITUD_INS
Name SVV_SOLICITUD_INS
Code SVV_SOLICITUD_INS
DBMS MySQL 5.0

IV.2.1.17.2 Check constraint name of the table


SVV_SOLICITUD_INS
TK_SVV_SOLICITUD_INS

IV.2.1.17.3 Server validation rule of the table SVV_SOLICITUD_INS


%RULES%

IV.2.1.17.4 Code preview of the table SVV_SOLICITUD_INS


drop table if exists SVV_SOLICITUD_INS;

/*==============================================================*/
/* Table: SVV_SOLICITUD_INS */
/*==============================================================*/
create table SVV_SOLICITUD_INS
(
IDSOLICITUD int not null,
IDTURISTA int not null,
IDPRODUCTOS int not null,
FECHASOLICITUD date,
ESTADO int,
CUPOS int,
primary key (IDSOLICITUD)
);

alter table SVV_SOLICITUD_INS add constraint FK_PRODUCTOS_SOLICITUD_INS foreign key (IDPRODUCTOS)


references SVV_PRODUCTOS (IDPRODUCTOS) on delete restrict on update restrict;

alter table SVV_SOLICITUD_INS add constraint FK_TURISTA_SOLICITUD_INS foreign key (IDTURISTA)


references SVV_TURISTA (IDTURISTA) on delete restrict on update restrict;

IV.2.1.17.5 List of diagrams containing the table


SVV_SOLICITUD_INS
Name Code
FISICO FISICO

PowerDesigner 12/05/2017 Page 146


Physical Data Model FISICO

IV.2.1.17.6 List of incoming references of the table


SVV_SOLICITUD_INS
Name Code
SOLICITUD_INS_BITACORA_SOLICITUD SOLICITUD_INS_BITACORA_SOLICITUD

IV.2.1.17.7 List of outgoing references of the table


SVV_SOLICITUD_INS
Name Code Foreign Key Columns
PRODUCTOS_SOLICITUD_ PRODUCTOS_SOLICITUD_ IDPRODUCTOS
INS INS
TURISTA_SOLICITUD_INS TURISTA_SOLICITUD_INS IDTURISTA

IV.2.1.17.8 List of all dependencies of the table


SVV_SOLICITUD_INS
Name Code Class Name
PRODUCTOS_SOLICITUD_INS PRODUCTOS_SOLICITUD_INS Reference
SOLICITUD_INS_BITACORA_SOLIC SOLICITUD_INS_BITACORA_SOLIC Reference
ITUD ITUD
TURISTA_SOLICITUD_INS TURISTA_SOLICITUD_INS Reference

IV.2.1.17.9 List of extended attributes of the table


SVV_SOLICITUD_INS
Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.17.10 List of columns of the table SVV_SOLICITUD_INS


Name Code
IDSOLICITUD IDSOLICITUD
IDTURISTA IDTURISTA
IDPRODUCTOS IDPRODUCTOS
FECHASOLICITUD FECHASOLICITUD
ESTADO ESTADO
CUPOS CUPOS

PowerDesigner 12/05/2017 Page 147


Physical Data Model FISICO

IV.2.1.17.11 Column IDSOLICITUD of the table


SVV_SOLICITUD_INS
IV.2.1.17.11.1 Card of the column IDSOLICITUD of the table
SVV_SOLICITUD_INS
Name IDSOLICITUD
Code IDSOLICITUD
Data Type int
Mandatory Yes

IV.2.1.17.11.2 Check constraint name of the column IDSOLICITUD of the table


SVV_SOLICITUD_INS
CK_IDSOLICITUD

IV.2.1.17.11.3 Check of the column IDSOLICITUD of the table


SVV_SOLICITUD_INS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.17.11.4 Server validation rule of the column IDSOLICITUD of the table


SVV_SOLICITUD_INS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.17.11.5 List of all dependencies of the table column IDSOLICITUD


Name Code Class Name
IDSOLICITUD IDSOLICITUD Index Column
IDSOLICITUD IDSOLICITUD Key
? ? Reference Join

IV.2.1.17.11.6 List of extended attributes of the table column IDSOLICITUD


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 148


Physical Data Model FISICO

IV.2.1.17.12 Column IDTURISTA of the table SVV_SOLICITUD_INS


IV.2.1.17.12.1 Card of the column IDTURISTA of the table
SVV_SOLICITUD_INS
Name IDTURISTA
Code IDTURISTA
Data Type int
Mandatory Yes

IV.2.1.17.12.2 Check constraint name of the column IDTURISTA of the table


SVV_SOLICITUD_INS
CK_IDTURISTA

IV.2.1.17.12.3 Check of the column IDTURISTA of the table


SVV_SOLICITUD_INS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.17.12.4 Server validation rule of the column IDTURISTA of the table


SVV_SOLICITUD_INS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.17.12.5 List of all dependencies of the table column IDTURISTA


Name Code Class Name
IDTURISTA IDTURISTA Index Column
? ? Reference Join

IV.2.1.17.12.6 List of extended attributes of the table column IDTURISTA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 149


Physical Data Model FISICO

IV.2.1.17.13 Column IDPRODUCTOS of the table


SVV_SOLICITUD_INS
IV.2.1.17.13.1 Card of the column IDPRODUCTOS of the table
SVV_SOLICITUD_INS
Name IDPRODUCTOS
Code IDPRODUCTOS
Data Type int
Mandatory Yes

IV.2.1.17.13.2 Check constraint name of the column IDPRODUCTOS of the table


SVV_SOLICITUD_INS
CK_IDPRODUCTOS

IV.2.1.17.13.3 Check of the column IDPRODUCTOS of the table


SVV_SOLICITUD_INS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.17.13.4 Server validation rule of the column IDPRODUCTOS of the table


SVV_SOLICITUD_INS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.17.13.5 List of all dependencies of the table column IDPRODUCTOS


Name Code Class Name
IDPRODUCTOS IDPRODUCTOS Index Column
? ? Reference Join

IV.2.1.17.13.6 List of extended attributes of the table column IDPRODUCTOS


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 150


Physical Data Model FISICO

IV.2.1.17.14 Column FECHASOLICITUD of the table


SVV_SOLICITUD_INS
IV.2.1.17.14.1 Card of the column FECHASOLICITUD of the table
SVV_SOLICITUD_INS
Name FECHASOLICITUD
Code FECHASOLICITUD
Data Type date
Mandatory No

IV.2.1.17.14.2 Check constraint name of the column FECHASOLICITUD of the


table SVV_SOLICITUD_INS
CK_FECHASOLICITUD

IV.2.1.17.14.3 Check of the column FECHASOLICITUD of the table


SVV_SOLICITUD_INS
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.17.14.4 Server validation rule of the column FECHASOLICITUD of the


table SVV_SOLICITUD_INS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.17.14.5 List of extended attributes of the table column


FECHASOLICITUD
Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.17.15 Column ESTADO of the table SVV_SOLICITUD_INS


IV.2.1.17.15.1 Card of the column ESTADO of the table SVV_SOLICITUD_INS
Name ESTADO
Code ESTADO
Data Type int

PowerDesigner 12/05/2017 Page 151


Physical Data Model FISICO

Mandatory No

IV.2.1.17.15.2 Check constraint name of the column ESTADO of the table


SVV_SOLICITUD_INS
CK_ESTADO

IV.2.1.17.15.3 Check of the column ESTADO of the table SVV_SOLICITUD_INS


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.17.15.4 Server validation rule of the column ESTADO of the table


SVV_SOLICITUD_INS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.17.15.5 List of extended attributes of the table column ESTADO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.17.16 Column CUPOS of the table SVV_SOLICITUD_INS


IV.2.1.17.16.1 Card of the column CUPOS of the table SVV_SOLICITUD_INS
Name CUPOS
Code CUPOS
Data Type int
Mandatory No

IV.2.1.17.16.2 Check constraint name of the column CUPOS of the table


SVV_SOLICITUD_INS
CK_CUPOS

IV.2.1.17.16.3 Check of the column CUPOS of the table SVV_SOLICITUD_INS


Minimum Value
Maximum Value
Default Value

PowerDesigner 12/05/2017 Page 152


Physical Data Model FISICO

Unit
Format
Cannot Modify No
List Of Values

IV.2.1.17.16.4 Server validation rule of the column CUPOS of the table


SVV_SOLICITUD_INS
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.17.16.5 List of extended attributes of the table column CUPOS


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.17.17 List of keys of the table SVV_SOLICITUD_INS


Name Code Primary
IDSOLICITUD IDSOLICITUD X

IV.2.1.17.18 Key IDSOLICITUD of the table SVV_SOLICITUD_INS


IV.2.1.17.18.1 Card of the key IDSOLICITUD of the table
SVV_SOLICITUD_INS
Name IDSOLICITUD
Code IDSOLICITUD
Table SVV_SOLICITUD_INS

IV.2.1.17.18.2 Code preview of the key IDSOLICITUD of the table


SVV_SOLICITUD_INS
alter table SVV_SOLICITUD_INS
drop primary key;

IV.2.1.17.18.3 List of columns of the table key IDSOLICITUD


Name Code
IDSOLICITUD IDSOLICITUD

IV.2.1.17.18.4 List of all dependencies of the table key IDSOLICITUD


Name Code Class Name
SOLICITUD_INS_BITACORA_SOLIC SOLICITUD_INS_BITACORA_SOLIC Reference

PowerDesigner 12/05/2017 Page 153


Physical Data Model FISICO

ITUD ITUD
SVV_SOLICITUD_INS_PK SVV_SOLICITUD_INS_PK Index

IV.2.1.17.18.5 List of extended attributes of the table key IDSOLICITUD


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.17.19 List of indexes of the table SVV_SOLICITUD_INS


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_SOLICITUD_ SVV_SOLICITUD_ X X
INS_PK INS_PK
TURISTA_SOLICI TURISTA_SOLICI X
TUD_INS_FK TUD_INS_FK
PRODUCTOS_SO PRODUCTOS_SO X
LICITUD_INS_FK LICITUD_INS_FK

IV.2.1.17.20 Index SVV_SOLICITUD_INS_PK of the table


SVV_SOLICITUD_INS
IV.2.1.17.20.1 Card of the index SVV_SOLICITUD_INS_PK of the table
SVV_SOLICITUD_INS
Name SVV_SOLICITUD_INS_PK
Code SVV_SOLICITUD_INS_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_SOLICITUD_INS

IV.2.1.17.20.2 Code preview of the index SVV_SOLICITUD_INS_PK of the table


SVV_SOLICITUD_INS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.17.20.3 List of index columns of the table index


SVV_SOLICITUD_INS_PK
Name Code Sort
IDSOLICITUD IDSOLICITUD Ascending

PowerDesigner 12/05/2017 Page 154


Physical Data Model FISICO

IV.2.1.17.20.4 List of extended attributes of the table index


SVV_SOLICITUD_INS_PK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.17.21 Index TURISTA_SOLICITUD_INS_FK of the table


SVV_SOLICITUD_INS
IV.2.1.17.21.1 Card of the index TURISTA_SOLICITUD_INS_FK of the table
SVV_SOLICITUD_INS
Name TURISTA_SOLICITUD_INS_FK
Code TURISTA_SOLICITUD_INS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_SOLICITUD_INS

IV.2.1.17.21.2 Code preview of the index TURISTA_SOLICITUD_INS_FK of the


table SVV_SOLICITUD_INS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.17.21.3 List of index columns of the table index


TURISTA_SOLICITUD_INS_FK
Name Code Sort
IDTURISTA IDTURISTA Ascending

IV.2.1.17.21.4 List of extended attributes of the table index


TURISTA_SOLICITUD_INS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.17.22 Index PRODUCTOS_SOLICITUD_INS_FK of the table


SVV_SOLICITUD_INS
IV.2.1.17.22.1 Card of the index PRODUCTOS_SOLICITUD_INS_FK of the
table SVV_SOLICITUD_INS
Name PRODUCTOS_SOLICITUD_INS_FK
Code PRODUCTOS_SOLICITUD_INS_FK
Unique No
Cluster No

PowerDesigner 12/05/2017 Page 155


Physical Data Model FISICO

Primary No
Foreign Key Yes
Alternate Key No
Table SVV_SOLICITUD_INS

IV.2.1.17.22.2 Code preview of the index PRODUCTOS_SOLICITUD_INS_FK of


the table SVV_SOLICITUD_INS
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.17.22.3 List of index columns of the table index


PRODUCTOS_SOLICITUD_INS_FK
Name Code Sort
IDPRODUCTOS IDPRODUCTOS Ascending

IV.2.1.17.22.4 List of extended attributes of the table index


PRODUCTOS_SOLICITUD_INS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.18 Table SVV_TURISTA


IV.2.1.18.1 Card of table SVV_TURISTA
Name SVV_TURISTA
Code SVV_TURISTA
DBMS MySQL 5.0

IV.2.1.18.2 Check constraint name of the table SVV_TURISTA


TK_SVV_TURISTA

IV.2.1.18.3 Server validation rule of the table SVV_TURISTA


%RULES%

IV.2.1.18.4 Code preview of the table SVV_TURISTA


drop table if exists SVV_TURISTA;

/*==============================================================*/
/* Table: SVV_TURISTA */
/*==============================================================*/
create table SVV_TURISTA
(
IDTURISTA int not null,
IDPAIS int not null,
IDCIUDAD int not null,
IDPADECIMIENTO int not null,

PowerDesigner 12/05/2017 Page 156


Physical Data Model FISICO

IDESTADO int not null,


NOMBRE01_2 varchar(50),
NOMBRE02_2 varchar(50),
NOMBRE03_2 varchar(50),
APELLIDO01_2 varchar(50),
APELLIDO02_2 varchar(50),
APELLIDO03_2 varchar(50),
FECHANAC date,
EMAIL varchar(100),
TELEFONO varchar(10),
DUI varchar(10),
GENERO varchar(10),
TELCONTACTO varchar(10),
NOMBRECONTACTO varchar(50),
FECHAING date,
DIRECCION text,
CONTRASENA2 varchar(50),
NOMUSUARIO varchar(50),
primary key (IDTURISTA)
);

alter table SVV_TURISTA add constraint FK_CIUDADES_TURISTAS foreign key (IDCIUDAD)


references SVV_CIUDADES (IDCIUDAD) on delete restrict on update restrict;

alter table SVV_TURISTA add constraint FK_ESTADOS_TURISTAS foreign key (IDESTADO)


references SVV_ESTADOS (IDESTADO) on delete restrict on update restrict;

alter table SVV_TURISTA add constraint FK_PADECIMIENTOS_TURISTAS foreign key (IDPADECIMIENTO)


references SVV_PADECIMIENTOS (IDPADECIMIENTO) on delete restrict on update restrict;

alter table SVV_TURISTA add constraint FK_PAISES_TURISTAS foreign key (IDPAIS)


references SVV_PAISES (IDPAIS) on delete restrict on update restrict;

IV.2.1.18.5 List of diagrams containing the table SVV_TURISTA


Name Code
FISICO FISICO

IV.2.1.18.6 List of incoming references of the table SVV_TURISTA


Name Code
TURISTA_BITACORA_SOLICITUD TURISTA_BITACORA_SOLICITUD
TURISTA_PREFERENCIAS TURISTA_PREFERENCIAS
TURISTA_SOLICITUD_INS TURISTA_SOLICITUD_INS
TUURISTA_COMENTARIOS_PRODUCTOS TUURISTA_COMENTARIOS_PRODUCTOS

IV.2.1.18.7 List of outgoing references of the table SVV_TURISTA


Name Code Foreign Key Columns
CIUDADES_TURISTAS CIUDADES_TURISTAS IDCIUDAD
ESTADOS_TURISTAS ESTADOS_TURISTAS IDESTADO

PowerDesigner 12/05/2017 Page 157


Physical Data Model FISICO

PADECIMIENTOS_TURIST PADECIMIENTOS_TURIST IDPADECIMIENTO


AS AS
PAISES_TURISTAS PAISES_TURISTAS IDPAIS

IV.2.1.18.8 List of all dependencies of the table SVV_TURISTA


Name Code Class Name
CIUDADES_TURISTAS CIUDADES_TURISTAS Reference
ESTADOS_TURISTAS ESTADOS_TURISTAS Reference
PADECIMIENTOS_TURISTAS PADECIMIENTOS_TURISTAS Reference
PAISES_TURISTAS PAISES_TURISTAS Reference
TURISTA_BITACORA_SOLICITUD TURISTA_BITACORA_SOLICITUD Reference
TURISTA_PREFERENCIAS TURISTA_PREFERENCIAS Reference
TURISTA_SOLICITUD_INS TURISTA_SOLICITUD_INS Reference
TUURISTA_COMENTARIOS_PRODU TUURISTA_COMENTARIOS_PRODU Reference
CTOS CTOS

IV.2.1.18.9 List of extended attributes of the table SVV_TURISTA


Name Data Type Value Target Name
Temporary (Boolean) false MySQL 5.0

IV.2.1.18.10 List of columns of the table SVV_TURISTA


Name Code
IDTURISTA IDTURISTA
IDPAIS IDPAIS
IDCIUDAD IDCIUDAD
IDPADECIMIENTO IDPADECIMIENTO
IDESTADO IDESTADO
NOMBRE01 NOMBRE01_2
NOMBRE02 NOMBRE02_2
NOMBRE03 NOMBRE03_2
APELLIDO01 APELLIDO01_2
APELLIDO02 APELLIDO02_2
APELLIDO03 APELLIDO03_2
FECHANAC FECHANAC
EMAIL EMAIL
TELEFONO TELEFONO
DUI DUI
GENERO GENERO
TELCONTACTO TELCONTACTO
NOMBRECONTACTO NOMBRECONTACTO
FECHAING FECHAING
DIRECCION DIRECCION

PowerDesigner 12/05/2017 Page 158


Physical Data Model FISICO

CONTRASEnA CONTRASENA2
NOMUSUARIO NOMUSUARIO

IV.2.1.18.11 Column IDTURISTA of the table SVV_TURISTA


IV.2.1.18.11.1 Card of the column IDTURISTA of the table SVV_TURISTA
Name IDTURISTA
Code IDTURISTA
Data Type int
Mandatory Yes

IV.2.1.18.11.2 Check constraint name of the column IDTURISTA of the table


SVV_TURISTA
CK_IDTURISTA

IV.2.1.18.11.3 Check of the column IDTURISTA of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.11.4 Server validation rule of the column IDTURISTA of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.11.5 List of all dependencies of the table column IDTURISTA


Name Code Class Name
IDTURISTA IDTURISTA Index Column
IDTURISTA IDTURISTA Key
? ? Reference Join
? ? Reference Join
? ? Reference Join
? ? Reference Join

IV.2.1.18.11.6 List of extended attributes of the table column IDTURISTA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 159


Physical Data Model FISICO

Unsigned (Boolean) false MySQL 5.0


ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.12 Column IDPAIS of the table SVV_TURISTA


IV.2.1.18.12.1 Card of the column IDPAIS of the table SVV_TURISTA
Name IDPAIS
Code IDPAIS
Data Type int
Mandatory Yes

IV.2.1.18.12.2 Check constraint name of the column IDPAIS of the table


SVV_TURISTA
CK_IDPAIS

IV.2.1.18.12.3 Check of the column IDPAIS of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.12.4 Server validation rule of the column IDPAIS of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.12.5 List of all dependencies of the table column IDPAIS


Name Code Class Name
IDPAIS IDPAIS Index Column
? ? Reference Join

IV.2.1.18.12.6 List of extended attributes of the table column IDPAIS


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 160


Physical Data Model FISICO

IV.2.1.18.13 Column IDCIUDAD of the table SVV_TURISTA


IV.2.1.18.13.1 Card of the column IDCIUDAD of the table SVV_TURISTA
Name IDCIUDAD
Code IDCIUDAD
Data Type int
Mandatory Yes

IV.2.1.18.13.2 Check constraint name of the column IDCIUDAD of the table


SVV_TURISTA
CK_IDCIUDAD

IV.2.1.18.13.3 Check of the column IDCIUDAD of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.13.4 Server validation rule of the column IDCIUDAD of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.13.5 List of all dependencies of the table column IDCIUDAD


Name Code Class Name
IDCIUDAD IDCIUDAD Index Column
? ? Reference Join

IV.2.1.18.13.6 List of extended attributes of the table column IDCIUDAD


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.14 Column IDPADECIMIENTO of the table SVV_TURISTA


IV.2.1.18.14.1 Card of the column IDPADECIMIENTO of the table
SVV_TURISTA
Name IDPADECIMIENTO

PowerDesigner 12/05/2017 Page 161


Physical Data Model FISICO

Code IDPADECIMIENTO
Data Type int
Mandatory Yes

IV.2.1.18.14.2 Check constraint name of the column IDPADECIMIENTO of the


table SVV_TURISTA
CK_IDPADECIMIENTO

IV.2.1.18.14.3 Check of the column IDPADECIMIENTO of the table


SVV_TURISTA
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.14.4 Server validation rule of the column IDPADECIMIENTO of the


table SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.14.5 List of all dependencies of the table column IDPADECIMIENTO


Name Code Class Name
IDPADECIMIENTO IDPADECIMIENTO Index Column
? ? Reference Join

IV.2.1.18.14.6 List of extended attributes of the table column IDPADECIMIENTO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.15 Column IDESTADO of the table SVV_TURISTA


IV.2.1.18.15.1 Card of the column IDESTADO of the table SVV_TURISTA
Name IDESTADO
Code IDESTADO
Data Type int
Mandatory Yes

PowerDesigner 12/05/2017 Page 162


Physical Data Model FISICO

IV.2.1.18.15.2 Check constraint name of the column IDESTADO of the table


SVV_TURISTA
CK_IDESTADO

IV.2.1.18.15.3 Check of the column IDESTADO of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.15.4 Server validation rule of the column IDESTADO of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.15.5 List of all dependencies of the table column IDESTADO


Name Code Class Name
IDESTADO IDESTADO Index Column
? ? Reference Join

IV.2.1.18.15.6 List of extended attributes of the table column IDESTADO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.16 Column NOMBRE01 of the table SVV_TURISTA


IV.2.1.18.16.1 Card of the column NOMBRE01 of the table SVV_TURISTA
Name NOMBRE01
Code NOMBRE01_2
Data Type varchar(50)
Mandatory No

IV.2.1.18.16.2 Check constraint name of the column NOMBRE01 of the table


SVV_TURISTA
CK_NOMBRE01_2

PowerDesigner 12/05/2017 Page 163


Physical Data Model FISICO

IV.2.1.18.16.3 Check of the column NOMBRE01 of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.16.4 Server validation rule of the column NOMBRE01 of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.16.5 List of extended attributes of the table column NOMBRE01


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.17 Column NOMBRE02 of the table SVV_TURISTA


IV.2.1.18.17.1 Card of the column NOMBRE02 of the table SVV_TURISTA
Name NOMBRE02
Code NOMBRE02_2
Data Type varchar(50)
Mandatory No

IV.2.1.18.17.2 Check constraint name of the column NOMBRE02 of the table


SVV_TURISTA
CK_NOMBRE02_2

IV.2.1.18.17.3 Check of the column NOMBRE02 of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

PowerDesigner 12/05/2017 Page 164


Physical Data Model FISICO

IV.2.1.18.17.4 Server validation rule of the column NOMBRE02 of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.17.5 List of extended attributes of the table column NOMBRE02


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.18 Column NOMBRE03 of the table SVV_TURISTA


IV.2.1.18.18.1 Card of the column NOMBRE03 of the table SVV_TURISTA
Name NOMBRE03
Code NOMBRE03_2
Data Type varchar(50)
Mandatory No

IV.2.1.18.18.2 Check constraint name of the column NOMBRE03 of the table


SVV_TURISTA
CK_NOMBRE03_2

IV.2.1.18.18.3 Check of the column NOMBRE03 of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.18.4 Server validation rule of the column NOMBRE03 of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.18.5 List of extended attributes of the table column NOMBRE03


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 165


Physical Data Model FISICO

ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.19 Column APELLIDO01 of the table SVV_TURISTA


IV.2.1.18.19.1 Card of the column APELLIDO01 of the table SVV_TURISTA
Name APELLIDO01
Code APELLIDO01_2
Data Type varchar(50)
Mandatory No

IV.2.1.18.19.2 Check constraint name of the column APELLIDO01 of the table


SVV_TURISTA
CK_APELLIDO01_2

IV.2.1.18.19.3 Check of the column APELLIDO01 of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.19.4 Server validation rule of the column APELLIDO01 of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.19.5 List of extended attributes of the table column APELLIDO01


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.20 Column APELLIDO02 of the table SVV_TURISTA


IV.2.1.18.20.1 Card of the column APELLIDO02 of the table SVV_TURISTA
Name APELLIDO02
Code APELLIDO02_2
Data Type varchar(50)
Mandatory No

PowerDesigner 12/05/2017 Page 166


Physical Data Model FISICO

IV.2.1.18.20.2 Check constraint name of the column APELLIDO02 of the table


SVV_TURISTA
CK_APELLIDO02_2

IV.2.1.18.20.3 Check of the column APELLIDO02 of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.20.4 Server validation rule of the column APELLIDO02 of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.20.5 List of extended attributes of the table column APELLIDO02


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.21 Column APELLIDO03 of the table SVV_TURISTA


IV.2.1.18.21.1 Card of the column APELLIDO03 of the table SVV_TURISTA
Name APELLIDO03
Code APELLIDO03_2
Data Type varchar(50)
Mandatory No

IV.2.1.18.21.2 Check constraint name of the column APELLIDO03 of the table


SVV_TURISTA
CK_APELLIDO03_2

IV.2.1.18.21.3 Check of the column APELLIDO03 of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format

PowerDesigner 12/05/2017 Page 167


Physical Data Model FISICO

Cannot Modify No
List Of Values

IV.2.1.18.21.4 Server validation rule of the column APELLIDO03 of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.21.5 List of extended attributes of the table column APELLIDO03


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.22 Column FECHANAC of the table SVV_TURISTA


IV.2.1.18.22.1 Card of the column FECHANAC of the table SVV_TURISTA
Name FECHANAC
Code FECHANAC
Data Type date
Mandatory No

IV.2.1.18.22.2 Check constraint name of the column FECHANAC of the table


SVV_TURISTA
CK_FECHANAC

IV.2.1.18.22.3 Check of the column FECHANAC of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.22.4 Server validation rule of the column FECHANAC of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.22.5 List of extended attributes of the table column FECHANAC


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0

PowerDesigner 12/05/2017 Page 168


Physical Data Model FISICO

Collate (String) MySQL 5.0


National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.23 Column EMAIL of the table SVV_TURISTA


IV.2.1.18.23.1 Card of the column EMAIL of the table SVV_TURISTA
Name EMAIL
Code EMAIL
Data Type varchar(100)
Mandatory No

IV.2.1.18.23.2 Check constraint name of the column EMAIL of the table


SVV_TURISTA
CK_EMAIL

IV.2.1.18.23.3 Check of the column EMAIL of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.23.4 Server validation rule of the column EMAIL of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.23.5 List of extended attributes of the table column EMAIL


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.24 Column TELEFONO of the table SVV_TURISTA


IV.2.1.18.24.1 Card of the column TELEFONO of the table SVV_TURISTA
Name TELEFONO
Code TELEFONO

PowerDesigner 12/05/2017 Page 169


Physical Data Model FISICO

Data Type varchar(10)


Mandatory No

IV.2.1.18.24.2 Check constraint name of the column TELEFONO of the table


SVV_TURISTA
CK_TELEFONO

IV.2.1.18.24.3 Check of the column TELEFONO of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.24.4 Server validation rule of the column TELEFONO of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.24.5 List of extended attributes of the table column TELEFONO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.25 Column DUI of the table SVV_TURISTA


IV.2.1.18.25.1 Card of the column DUI of the table SVV_TURISTA
Name DUI
Code DUI
Data Type varchar(10)
Mandatory No

IV.2.1.18.25.2 Check constraint name of the column DUI of the table


SVV_TURISTA
CK_DUI

IV.2.1.18.25.3 Check of the column DUI of the table SVV_TURISTA


Minimum Value

PowerDesigner 12/05/2017 Page 170


Physical Data Model FISICO

Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.25.4 Server validation rule of the column DUI of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.25.5 List of extended attributes of the table column DUI


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.26 Column GENERO of the table SVV_TURISTA


IV.2.1.18.26.1 Card of the column GENERO of the table SVV_TURISTA
Name GENERO
Code GENERO
Data Type varchar(10)
Mandatory No

IV.2.1.18.26.2 Check constraint name of the column GENERO of the table


SVV_TURISTA
CK_GENERO

IV.2.1.18.26.3 Check of the column GENERO of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.26.4 Server validation rule of the column GENERO of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

PowerDesigner 12/05/2017 Page 171


Physical Data Model FISICO

IV.2.1.18.26.5 List of extended attributes of the table column GENERO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.27 Column TELCONTACTO of the table SVV_TURISTA


IV.2.1.18.27.1 Card of the column TELCONTACTO of the table SVV_TURISTA
Name TELCONTACTO
Code TELCONTACTO
Data Type varchar(10)
Mandatory No

IV.2.1.18.27.2 Check constraint name of the column TELCONTACTO of the table


SVV_TURISTA
CK_TELCONTACTO

IV.2.1.18.27.3 Check of the column TELCONTACTO of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.27.4 Server validation rule of the column TELCONTACTO of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.27.5 List of extended attributes of the table column TELCONTACTO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 172


Physical Data Model FISICO

IV.2.1.18.28 Column NOMBRECONTACTO of the table


SVV_TURISTA
IV.2.1.18.28.1 Card of the column NOMBRECONTACTO of the table
SVV_TURISTA
Name NOMBRECONTACTO
Code NOMBRECONTACTO
Data Type varchar(50)
Mandatory No

IV.2.1.18.28.2 Check constraint name of the column NOMBRECONTACTO of


the table SVV_TURISTA
CK_NOMBRECONTACTO

IV.2.1.18.28.3 Check of the column NOMBRECONTACTO of the table


SVV_TURISTA
Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.28.4 Server validation rule of the column NOMBRECONTACTO of the


table SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.28.5 List of extended attributes of the table column


NOMBRECONTACTO
Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.29 Column FECHAING of the table SVV_TURISTA


IV.2.1.18.29.1 Card of the column FECHAING of the table SVV_TURISTA
Name FECHAING
Code FECHAING
Data Type date

PowerDesigner 12/05/2017 Page 173


Physical Data Model FISICO

Mandatory No

IV.2.1.18.29.2 Check constraint name of the column FECHAING of the table


SVV_TURISTA
CK_FECHAING

IV.2.1.18.29.3 Check of the column FECHAING of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.29.4 Server validation rule of the column FECHAING of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.29.5 List of extended attributes of the table column FECHAING


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.30 Column DIRECCION of the table SVV_TURISTA


IV.2.1.18.30.1 Card of the column DIRECCION of the table SVV_TURISTA
Name DIRECCION
Code DIRECCION
Data Type text
Mandatory No

IV.2.1.18.30.2 Check constraint name of the column DIRECCION of the table


SVV_TURISTA
CK_DIRECCION

IV.2.1.18.30.3 Check of the column DIRECCION of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value

PowerDesigner 12/05/2017 Page 174


Physical Data Model FISICO

Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.30.4 Server validation rule of the column DIRECCION of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.30.5 List of extended attributes of the table column DIRECCION


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.31 Column CONTRASEnA of the table SVV_TURISTA


IV.2.1.18.31.1 Card of the column CONTRASEnA of the table SVV_TURISTA
Name CONTRASEnA
Code CONTRASENA2
Data Type varchar(50)
Mandatory No

IV.2.1.18.31.2 Check constraint name of the column CONTRASEnA of the table


SVV_TURISTA
CK_CONTRASENA2

IV.2.1.18.31.3 Check of the column CONTRASEnA of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.31.4 Server validation rule of the column CONTRASEnA of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

PowerDesigner 12/05/2017 Page 175


Physical Data Model FISICO

IV.2.1.18.31.5 List of extended attributes of the table column CONTRASEnA


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

IV.2.1.18.32 Column NOMUSUARIO of the table SVV_TURISTA


IV.2.1.18.32.1 Card of the column NOMUSUARIO of the table SVV_TURISTA
Name NOMUSUARIO
Code NOMUSUARIO
Data Type varchar(50)
Mandatory No

IV.2.1.18.32.2 Check constraint name of the column NOMUSUARIO of the table


SVV_TURISTA
CK_NOMUSUARIO

IV.2.1.18.32.3 Check of the column NOMUSUARIO of the table SVV_TURISTA


Minimum Value
Maximum Value
Default Value
Unit
Format
Cannot Modify No
List Of Values

IV.2.1.18.32.4 Server validation rule of the column NOMUSUARIO of the table


SVV_TURISTA
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.18.32.5 List of extended attributes of the table column NOMUSUARIO


Name Data Type Value Target Name
CharSet CharSets MySQL 5.0
Collate (String) MySQL 5.0
National (Boolean) false MySQL 5.0
Unsigned (Boolean) false MySQL 5.0
ZeroFill (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 176


Physical Data Model FISICO

IV.2.1.18.33 List of keys of the table SVV_TURISTA


Name Code Primary
IDTURISTA IDTURISTA X

IV.2.1.18.34 Key IDTURISTA of the table SVV_TURISTA


IV.2.1.18.34.1 Card of the key IDTURISTA of the table SVV_TURISTA
Name IDTURISTA
Code IDTURISTA
Table SVV_TURISTA

IV.2.1.18.34.2 Code preview of the key IDTURISTA of the table SVV_TURISTA


alter table SVV_TURISTA
drop primary key;

IV.2.1.18.34.3 List of columns of the table key IDTURISTA


Name Code
IDTURISTA IDTURISTA

IV.2.1.18.34.4 List of all dependencies of the table key IDTURISTA


Name Code Class Name
SVV_TURISTA_PK SVV_TURISTA_PK Index
TURISTA_BITACORA_SOLICITUD TURISTA_BITACORA_SOLICITUD Reference
TURISTA_PREFERENCIAS TURISTA_PREFERENCIAS Reference
TURISTA_SOLICITUD_INS TURISTA_SOLICITUD_INS Reference
TUURISTA_COMENTARIOS_PRODU TUURISTA_COMENTARIOS_PRODU Reference
CTOS CTOS

IV.2.1.18.34.5 List of extended attributes of the table key IDTURISTA


Name Data Type Value Target Name
ExtUnique (Boolean) false MySQL 5.0

IV.2.1.18.35 List of indexes of the table SVV_TURISTA


Name Code Unique Cluster Primary Foreign Alternate
Key Key
SVV_TURISTA_P SVV_TURISTA_P X X
K K
PAISES_TURISTA PAISES_TURISTA X
S_FK S_FK
CIUDADES_TURI CIUDADES_TURI X

PowerDesigner 12/05/2017 Page 177


Physical Data Model FISICO

STAS_FK STAS_FK
PADECIMIENTOS PADECIMIENTOS X
_TURISTAS_FK _TURISTAS_FK
ESTADOS_TURIS ESTADOS_TURIS X
TAS_FK TAS_FK

IV.2.1.18.36 Index SVV_TURISTA_PK of the table SVV_TURISTA


IV.2.1.18.36.1 Card of the index SVV_TURISTA_PK of the table SVV_TURISTA
Name SVV_TURISTA_PK
Code SVV_TURISTA_PK
Unique Yes
Cluster No
Primary Yes
Foreign Key No
Alternate Key No
Table SVV_TURISTA

IV.2.1.18.36.2 Code preview of the index SVV_TURISTA_PK of the table


SVV_TURISTA
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.18.36.3 List of index columns of the table index SVV_TURISTA_PK


Name Code Sort
IDTURISTA IDTURISTA Ascending

IV.2.1.18.36.4 List of extended attributes of the table index SVV_TURISTA_PK


Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.18.37 Index PAISES_TURISTAS_FK of the table


SVV_TURISTA
IV.2.1.18.37.1 Card of the index PAISES_TURISTAS_FK of the table
SVV_TURISTA
Name PAISES_TURISTAS_FK
Code PAISES_TURISTAS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes

PowerDesigner 12/05/2017 Page 178


Physical Data Model FISICO

Alternate Key No
Table SVV_TURISTA

IV.2.1.18.37.2 Code preview of the index PAISES_TURISTAS_FK of the table


SVV_TURISTA
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.18.37.3 List of index columns of the table index PAISES_TURISTAS_FK


Name Code Sort
IDPAIS IDPAIS Ascending

IV.2.1.18.37.4 List of extended attributes of the table index


PAISES_TURISTAS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.18.38 Index CIUDADES_TURISTAS_FK of the table


SVV_TURISTA
IV.2.1.18.38.1 Card of the index CIUDADES_TURISTAS_FK of the table
SVV_TURISTA
Name CIUDADES_TURISTAS_FK
Code CIUDADES_TURISTAS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_TURISTA

IV.2.1.18.38.2 Code preview of the index CIUDADES_TURISTAS_FK of the table


SVV_TURISTA
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.18.38.3 List of index columns of the table index


CIUDADES_TURISTAS_FK
Name Code Sort
IDCIUDAD IDCIUDAD Ascending

PowerDesigner 12/05/2017 Page 179


Physical Data Model FISICO

IV.2.1.18.38.4 List of extended attributes of the table index


CIUDADES_TURISTAS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.18.39 Index PADECIMIENTOS_TURISTAS_FK of the table


SVV_TURISTA
IV.2.1.18.39.1 Card of the index PADECIMIENTOS_TURISTAS_FK of the table
SVV_TURISTA
Name PADECIMIENTOS_TURISTAS_FK
Code PADECIMIENTOS_TURISTAS_FK
Unique No
Cluster No
Primary No
Foreign Key Yes
Alternate Key No
Table SVV_TURISTA

IV.2.1.18.39.2 Code preview of the index PADECIMIENTOS_TURISTAS_FK of


the table SVV_TURISTA
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.18.39.3 List of index columns of the table index


PADECIMIENTOS_TURISTAS_FK
Name Code Sort
IDPADECIMIENTO IDPADECIMIENTO Ascending

IV.2.1.18.39.4 List of extended attributes of the table index


PADECIMIENTOS_TURISTAS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

IV.2.1.18.40 Index ESTADOS_TURISTAS_FK of the table


SVV_TURISTA
IV.2.1.18.40.1 Card of the index ESTADOS_TURISTAS_FK of the table
SVV_TURISTA
Name ESTADOS_TURISTAS_FK
Code ESTADOS_TURISTAS_FK
Unique No
Cluster No

PowerDesigner 12/05/2017 Page 180


Physical Data Model FISICO

Primary No
Foreign Key Yes
Alternate Key No
Table SVV_TURISTA

IV.2.1.18.40.2 Code preview of the index ESTADOS_TURISTAS_FK of the table


SVV_TURISTA
# The preview is empty because of the setting.
# Check the generation option.

IV.2.1.18.40.3 List of index columns of the table index ESTADOS_TURISTAS_FK


Name Code Sort
IDESTADO IDESTADO Ascending

IV.2.1.18.40.4 List of extended attributes of the table index


ESTADOS_TURISTAS_FK
Name Data Type Value Target Name
FullText (Boolean) false MySQL 5.0

PowerDesigner 12/05/2017 Page 181


Physical Data Model FISICO

PowerDesigner 12/05/2017 Page 182

También podría gustarte