Sie sind auf Seite 1von 89

DICCIONARIO DE DATOS PHYSICAL MODEL FOR PROJECT ASONBOMD MODEL RE MS SQL Server 2005 Version

Entity Report Entity Name dbo.Abastecimiento dbo.Asistencia dbo.Cargo dbo.Casco dbo.CategoriaTipoLea dbo.DetalleCSU dbo.DetalleServiciosRealizados dbo.EmpleadosEstacion dbo.EncabezadoAsistencia dbo.EncabezadoCSUGeneral dbo.Estacion dbo.EstadoUnidad dbo.FormaAviso dbo.Loggin dbo.RegistroLlamadas dbo.Servicios dbo.SubTipoServicio dbo.TipoLea dbo.TipoPlaza dbo.TipoServicio dbo.TipoUnidad dbo.Turno dbo.Unidades Entity 'dbo.Abastecimiento' Caption Primary Key Entity Properties Filegroup PRIMARY Abastecimiento PK_Abastecimientoo IdCargo IdCasco IdCatTipoLea IdDetalleCSU IdDetalleServiciosRealizados IdEmpleado IdEncabezadoAsistencia IdCSUGeneral IdEstacion IdEstadoUnidad IdFormaAviso IdUsuario IdRegistroLlamadas IdServicio IdSubTipoServicio IdTipoLea IdTipoPlaza IdTipoServicio IdTipoUnidad IdTurno IdUnidad Primary Key IdAbastecimiento # Attribut es 8 4 2 5 3 14 26 13 4 4 6 3 2 11 7 3 4 3 2 4 2 2 8

Entities
Primary Key 'PK_Abastecimientoo' Attribute Name IdAbastecimiento Attributes Key PK FK Attribute Name IdAbasteci miento IdUnidad Kilometraje Anterior Kilometraje Actual TotalKmRe corrido Galones PecioGalo n Total Relationships Relationship Name FK_Abastecimientoo_U nidades Entity 'dbo.Asistencia' Caption Primary Key Entity Properties Filegroup Attributes Key Attribute Name HoraEntra da HoraSalida FK FK IdEmplead o IdEncabez adoAsisten cia Domain Data Type Char(5) Char(5) Int Int N1) YES YES YES NO U2) NO NO NO NO C3) NO NO NO NO D4) NO NO NO NO Comments PRIMARY Asistencia Key1 Relationship Type Non-identifying Parent Entity dbo.Unidades Child Entity dbo.Abastecimiento Card. 1:N Domain Data Type Int Int Int Int Int Int Money Money N1) YES NO NO NO NO NO NO NO U2) NO NO NO NO NO NO NO NO C3) NO NO NO NO NO NO NO NO D4) NO NO NO NO NO NO NO NO Comments type PK Parent Entity -----

-3-

Relationships Relationship Name FK_Asistencia_Encabe zadoAsistencia Relationship26 Relationship Type Non-identifying Non-identifying Parent Entity dbo.EncabezadoAsiste ncia dbo.EmpleadosEstacio n Child Entity dbo.Asistencia dbo.Asistencia Card. 1:N 1:N

Entities

Entity 'dbo.Cargo' Caption Primary Key Entity Properties Filegroup PRIMARY Cargo PK_Cargo

Primary Key 'PK_Cargo' Attribute Name IdCargo Attributes Key PK Attribute Name IdCargo NombreCa rgo Domain Data Type Int Nvarchar(50 ) N1) YES YES U2) NO NO C3) NO NO D4) NO NO Comments type PK Parent Entity -----

Relationships Relationship Name Relationship5 Entity 'dbo.Casco' Caption Primary Key Entity Properties Filegroup PRIMARY Casco PK_Casco Relationship Type Non-identifying Parent Entity dbo.Cargo Child Entity dbo.EmpleadosEstacio n Card. 1:N

Primary Key 'PK_Casco' Attribute Name IdCasco Attributes Key PK Attribute Name IdCasco NoCasco FechaIngre so Color Descripcio n Relationships Relationship Name Relationship2 Relationship Type Non-identifying Parent Entity dbo.Casco Child Entity dbo.EmpleadosEstacio Card. 1:N Domain Data Type Int Int Datetime Nvarchar(20 ) Nvarchar(10 0) N1) YES NO NO NO NO U2) NO NO NO NO NO C3) NO NO NO NO NO D4) NO NO NO NO NO Comments type PK Parent Entity -----

-5-

n Entity 'dbo.CategoriaTipoLea' Caption Primary Key Entity Properties Filegroup PRIMARY CategoriaTipoLea PK_CategoriaTipoLea

Primary Key 'PK_CategoriaTipoLea' Attribute Name IdCatTipoLea Attributes Key PK Attribute Name IdCatTipoL ea NombreCa tegoriaLea IdTipoLea Domain Data Type Int Nvarchar(70 ) Int N1) YES YES YES U2) NO NO NO C3) NO NO NO D4) NO NO NO Comments type PK Parent Entity -----

FK

Relationships Relationship Name FK_CategoriaTipoLea_ TipoLea FK_DetalleServiciosRe alizados_CategoriaTipo Lea Entity 'dbo.DetalleCSU' Caption Primary Key Entity Properties Filegroup PRIMARY DetalleCSU PK_DetalleCSU Relationship Type Non-identifying Non-identifying Parent Entity dbo.TipoLea dbo.CategoriaTipoLea Child Entity dbo.CategoriaTipoLea dbo.DetalleServiciosR ealizados Card. 1:N 1:N

Primary Key 'PK_DetalleCSU' Attribute Name IdDetalleCSU type PK Parent Entity -----

Entities
Attributes Key PK FK FK Attribute Name IdDetalleC SU IdUnidad IdEmplead o FechaSalid a HoraSalida FechaEntr ada HoraEntra da Direccion Motivo Kilometraje Actual Kilometraje Final Kilometros Recorridos idturno TotalHoras Relationships Relationship Name FK_DetalleCSU_Unida des Relationship9 Relationship6 Relationship Type Non-identifying Non-identifying Non-identifying Parent Entity dbo.Unidades dbo.EmpleadosEstacio n dbo.DetalleCSU Child Entity dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleServiciosR ealizados Card. 1:N 1:N 1:N Domain Data Type Int Int Int Nvarchar(20 ) Nvarchar(20 ) Nvarchar(20 ) Nvarchar(20 ) Nvarchar(20 ) Nvarchar(10 0) Int Int Int Int Nvarchar(10 ) N1) YES YES NO YES YES YES YES YES YES NO NO NO YES NO U2) NO NO NO NO NO NO NO NO NO NO NO NO NO NO C3) NO NO NO NO NO NO NO NO NO NO NO NO NO NO D4) NO NO NO NO NO NO NO NO NO NO NO NO NO NO Comments

Entity 'dbo.DetalleServiciosRealizados' Caption Primary Key Entity Properties Filegroup PRIMARY DetalleServiciosRealizados PK_DetalleServiciosRealizados

Primary Key 'PK_DetalleServiciosRealizados' Attribute Name IdDetalleServiciosRealizados type PK Parent Entity -----

-7-

Attributes Key PK FK FK FK FK FK FK FK Attribute Name IdDetalleS erviciosRe alizados IdDetalleC SU IdTipoServi cio IdServicio IdFormaAv iso IdSubTipo Servicio IdTipoLea IdCatTipoL ea NombrePa ciente EdadPacie nte SexoPacie nte TelefonoP aciente DireccionP aciente NombreAc ompaante Donacin BomberoA sistente1 BomberoA sistente2 BomberoA sistente3 BomberoA sistente4 BomberoA sistente5 TurnoCabi na DireccionA ccidenteRe scate Observacio nes Fecha BomberoR eporta JefeTurno Domain Data Type Int Int Int Int Int Int Int Int Nchar(50) Int Char(1) Char(9) Char(50) Nvarchar(70 ) Nvarchar(50 ) Nvarchar(70 ) Nvarchar(70 ) Nvarchar(70 ) Nvarchar(70 ) Nvarchar(70 ) Nvarchar(70 ) Nvarchar(10 0) Nvarchar(20 0) Datetime Nvarchar(70 ) Nvarchar(70 N1) YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO U2) NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO C3) NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO D4) NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO Comments

Entities
) Relationships Relationship Name FK_DetalleServiciosRe alizados_CategoriaTipo Lea FK_DetalleServiciosRe alizados_FormaAviso FK_DetalleServiciosRe alizados_SubTipoServic io FK_DetalleServiciosRe alizados_TipoLea FK_DetalleServiciosRe alizados_TipoServicio Relationship20 Relationship6 Relationship Type Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Parent Entity dbo.CategoriaTipoLea dbo.FormaAviso dbo.SubTipoServicio dbo.TipoLea dbo.TipoServicio dbo.Servicios dbo.DetalleCSU Child Entity dbo.DetalleServiciosR ealizados dbo.DetalleServiciosR ealizados dbo.DetalleServiciosR ealizados dbo.DetalleServiciosR ealizados dbo.DetalleServiciosR ealizados dbo.DetalleServiciosR ealizados dbo.DetalleServiciosR ealizados Card. 1:N 1:N 1:N 1:N 1:N 1:N 1:N

Entity 'dbo.EmpleadosEstacion' Caption Primary Key Entity Properties Filegroup PRIMARY EmpleadosEstacion PK_EmpleadosEstacion

Primary Key 'PK_EmpleadosEstacion' Attribute Name IdEmpleado type PK Parent Entity -----

-9-

Attributes Key PK Attribute Name IdEmplead o NombreEm pleado DireccionE mpleado FechaNaci mientoEmp leado TelefonoE mpleado NoCedula DPI NoLiciecia FK FK FK FK FK IdCasco IdTurno IdTipoPlaz a IdCargo IdEstacion Domain Data Type Int Nvarchar(50 ) Nvarchar(50 ) Nvarchar(50 ) Int Nvarchar(50 ) Nvarchar(30 ) Nvarchar(50 ) Int Int Int Int Int N1) YES YES NO NO NO NO NO NO NO NO NO NO NO U2) NO NO NO NO NO NO NO NO NO NO NO NO NO C3) NO NO NO NO NO NO NO NO NO NO NO NO NO D4) NO NO NO NO NO NO NO NO NO NO NO NO NO Comments

Relationships Relationship Name Relationship26 Relationship9 Relationship2 Relationship22 Relationship3 Relationship4 Relationship5 Relationship Type Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Parent Entity dbo.EmpleadosEstacio n dbo.EmpleadosEstacio n dbo.Casco dbo.Estacion dbo.Turno dbo.TipoPlaza dbo.Cargo Child Entity dbo.Asistencia dbo.DetalleCSU dbo.EmpleadosEstacio n dbo.EmpleadosEstacio n dbo.EmpleadosEstacio n dbo.EmpleadosEstacio n dbo.EmpleadosEstacio n Card. 1:N 1:N 1:N 1:N 1:N 1:N 1:N

Entity 'dbo.EncabezadoAsistencia' Caption Primary Key Entity Properties Filegroup PRIMARY EncabezadoAsistencia PK_EncabezadoAsistencia

Entities
Primary Key 'PK_EncabezadoAsistencia' Attribute Name IdEncabezadoAsistencia Attributes Key PK Attribute Name IdEncabez adoAsisten cia IdTurno Fecha IdEstacion Relationships Relationship Name FK_Asistencia_Encabe zadoAsistencia Relationship Type Non-identifying Parent Entity dbo.EncabezadoAsiste ncia Child Entity dbo.Asistencia Card. 1:N Domain Data Type Int Int Nvarchar(20 ) Int N1) YES NO NO NO U2) NO NO NO NO C3) NO NO NO NO D4) NO NO NO NO Comments type PK Parent Entity -----

Entity 'dbo.EncabezadoCSUGeneral' Caption Primary Key Entity Properties Filegroup PRIMARY EncabezadoCSUGeneral PK_CSUGeneral

Primary Key 'PK_CSUGeneral' Attribute Name IdCSUGeneral Attributes Key PK FK Attribute Name IdCSUGen eral IdTurno Fecha FK IdEstacion Domain Data Type Int Int Char(10) Int N1) YES NO NO NO U2) NO NO NO NO C3) NO NO NO NO D4) NO NO NO NO Comments type PK Parent Entity -----

Relationships Relationship Name Relationship12 Relationship23 Relationship Type Non-identifying Non-identifying Parent Entity dbo.Turno dbo.Estacion Child Entity dbo.EncabezadoCSU General dbo.EncabezadoCSU General Card. 1:N 1:N

-11-

Entity 'dbo.Estacion' Caption Primary Key Entity Properties Filegroup PRIMARY Estacion PK_Estacion

Primary Key 'PK_Estacion' Attribute Name IdEstacion Attributes Key PK Attribute Name IdEstacion NoEstacio n Direccion Departame nto Municipio Telefono Relationships Relationship Name Relationship22 Relationship23 Relationship24 Entity 'dbo.EstadoUnidad' Caption Primary Key Entity Properties Filegroup PRIMARY EstadoUnidad PK_EstadoUnidad Relationship Type Non-identifying Non-identifying Non-identifying Parent Entity dbo.Estacion dbo.Estacion dbo.Estacion Child Entity dbo.EmpleadosEstacio n dbo.EncabezadoCSU General dbo.Unidades Card. 1:N 1:N 1:N Domain Data Type Int Nvarchar(50 ) Nvarchar(50 ) Nvarchar(50 ) Nvarchar(50 ) Int N1) YES YES YES NO NO YES U2) NO NO NO NO NO NO C3) NO NO NO NO NO NO D4) NO NO NO NO NO NO Comments type PK Parent Entity -----

Primary Key 'PK_EstadoUnidad' Attribute Name IdEstadoUnidad type PK Parent Entity -----

Entities
Attributes Key PK Attribute Name IdEstadoU nidad Estado Descripci n Relationships Relationship Name FK_Unidades_EstadoU nidad Entity 'dbo.FormaAviso' Caption Primary Key Entity Properties Filegroup PRIMARY FormaAviso PK_FormaAviso Relationship Type Non-identifying Parent Entity dbo.EstadoUnidad Child Entity dbo.Unidades Card. 1:N Domain Data Type Int Nvarchar(50 ) Nvarchar(15 0) N1) YES YES NO U2) NO NO NO C3) NO NO NO D4) NO NO NO Comments

Primary Key 'PK_FormaAviso' Attribute Name IdFormaAviso Attributes Key PK Attribute Name IdFormaAv iso FormaAvis o Domain Data Type Int Nvarchar(50 ) N1) YES YES U2) NO NO C3) NO NO D4) NO NO Comments type PK Parent Entity -----

Relationships Relationship Name FK_DetalleServiciosRe alizados_FormaAviso Entity 'dbo.Loggin' Caption Primary Key Entity Properties Filegroup PRIMARY Loggin PK_Loggin Relationship Type Non-identifying Parent Entity dbo.FormaAviso Child Entity dbo.DetalleServiciosR ealizados Card. 1:N

Primary Key 'PK_Loggin' Attribute Name IdUsuario type PK Parent Entity -----

-13-

Attributes Key PK Attribute Name IdUsuario NombreUs uario Contrase a Registrolla madas ControlUni dades ServiciosR ealizados Asistencia Abastecimi entoUnida des Reportes Mantenimi ento usuarios Entity 'dbo.RegistroLlamadas' Caption Primary Key Entity Properties Filegroup PRIMARY RegistroLlamadas PK_RegistroLlamadas Domain Data Type Int Nvarchar(50 ) Nvarchar(50 ) Bit Bit Bit Bit Bit Bit Bit Bit N1) YES YES YES NO NO NO NO NO NO NO NO U2) NO NO NO NO NO NO NO NO NO NO NO C3) NO NO NO NO NO NO NO NO NO NO NO D4) NO NO NO NO NO NO NO NO NO NO NO Comments

Primary Key 'PK_RegistroLlamadas' Attribute Name IdRegistroLlamadas ttributes Key PK Attribute Name IdRegistro Llamadas Hora Fecha Telefono NombreSol icitante Acontecim einto Lugar Domain Data Type Int Nvarchar(50 ) Nvarchar(50 ) Int Nvarchar(50 ) Nvarchar(10 0) Nvarchar(50 ) N1) YES YES YES YES NO YES YES U2) NO NO NO NO NO NO NO C3) NO NO NO NO NO NO NO D4) NO NO NO NO NO NO NO Comments type PK Parent Entity -----

Entities
Entity 'dbo.Servicios' Caption Primary Key Entity Properties Filegroup PRIMARY Servicios PK_Servicios

Primary Key 'PK_Servicios' Attribute Name IdServicio Attributes Key PK Attribute Name IdServicio NombreSe rvicio Conteo Domain Data Type Int Nvarchar(80 ) Int N1) YES YES NO U2) NO NO NO C3) NO NO NO D4) NO NO NO Comments type PK Parent Entity -----

Relationships Relationship Name Relationship20 Relationship13 Relationship Type Non-identifying Non-identifying Parent Entity dbo.Servicios dbo.Servicios Child Entity dbo.DetalleServiciosR ealizados dbo.TipoServicio Card. 1:N 1:N

Entity 'dbo.SubTipoServicio' Caption Primary Key Entity Properties Filegroup PRIMARY SubTipoServicio PK_SubTipoServicio

Primary Key 'PK_SubTipoServicio' Attribute Name IdSubTipoServicio Attributes Key PK Attribute Name IdSubTipo Servicio NombreSu btipo IdTipoServi cio Conteo Domain Data Type Int Nvarchar(70 ) Int Int N1) YES YES NO NO U2) NO NO NO NO C3) NO NO NO NO D4) NO NO NO NO Comments type PK Parent Entity -----

FK

-15-

Relationships Relationship Name FK_DetalleServiciosRe alizados_SubTipoServic io ationship18 Entity 'dbo.TipoLea' Caption Primary Key Entity Properties Filegroup PRIMARY TipoLea PK_TipoLea Relationship Type Non-identifying Non-identifying Parent Entity dbo.SubTipoServicio dbo.TipoServicio Child Entity dbo.DetalleServiciosR ealizados dbo.SubTipoServicio Card. 1:N 1:N

Primary Key 'PK_TipoLea' Attribute Name IdTipoLea Attributes Key PK Attribute Name IdTipoLea NombreLe a IdTipoServi cio Domain Data Type Int Nvarchar(70 ) Int N1) YES YES YES U2) NO NO NO C3) NO NO NO D4) NO NO NO Comments type PK Parent Entity -----

elationships Relationship Name FK_CategoriaTipoLea_ TipoLea K_DetalleServiciosReali zados_TipoLea FK_TipoLea_TipoServic io Entity 'dbo.TipoPlaza' Caption Primary Key Entity Properties Filegroup PRIMARY TipoPlaza PK_TipoPlaza Relationship Type Non-identifying Non-identifying Non-identifying Parent Entity dbo.TipoLea dbo.TipoLea dbo.TipoServicio Child Entity dbo.CategoriaTipoLea dbo.DetalleServiciosR ealizados dbo.TipoLea Card. 1:N 1:N 1:N

Primary Key 'PK_TipoPlaza' Attribute Name IdTipoPlaza type PK Parent Entity -----

Entities
Attributes Key PK Attribute Name IdTipoPlaz a NombrePla za Domain Data Type Int Nvarchar(50 ) N1) YES NO U2) NO NO C3) NO NO D4) NO NO Comments

Relationships Relationship Name Relationship4 Entity 'dbo.TipoServicio' Caption Primary Key Entity Properties Filegroup PRIMARY TipoServicio PK_TipoServicio Relationship Type Non-identifying Parent Entity dbo.TipoPlaza Child Entity dbo.EmpleadosEstacio n Card. 1:N

Primary Key 'PK_TipoServicio' Attribute Name IdTipoServicio Attributes Key PK Attribute Name IdTipoServi cio NombreTip oServicio IdServicio Conteo Relationships Relationship Name FK_DetalleServiciosRe alizados_TipoServicio Relationship18 FK_TipoLea_TipoServic io Relationship13 Entity 'dbo.TipoUnidad' Caption Primary Key Entity Properties Filegroup PRIMARY TipoUnidad PK_TipoUnidad Relationship Type Non-identifying Non-identifying Non-identifying Non-identifying Parent Entity dbo.TipoServicio dbo.TipoServicio dbo.TipoServicio dbo.Servicios Child Entity dbo.DetalleServiciosR ealizados dbo.SubTipoServicio dbo.TipoLea dbo.TipoServicio Card. 1:N 1:N 1:N 1:N Domain Data Type Int Nvarchar(70 ) Int Int N1) YES YES NO NO U2) NO NO NO NO C3) NO NO NO NO D4) NO NO NO NO Comments type PK Parent Entity -----

FK

-17-

Primary Key 'PK_TipoUnidad' Attribute Name IdTipoUnidad Attributes Key PK Attribute Name IdTipoUnid ad NombreTip oUnidad Domain Data Type Int Nvarchar(50 ) N1) YES NO U2) NO NO C3) NO NO D4) NO NO Comments type PK Parent Entity -----

Relationships Relationship Name FK_Unidades_TipoUnid ad Relationship Type Non-identifying Parent Entity dbo.TipoUnidad Child Entity dbo.Unidades Card. 1:N

Entities

Entity 'dbo.Turno' Caption Primary Key Entity Properties Filegroup PRIMARY Turno PK_Turno

Primary Key 'PK_Turno' Attribute Name IdTurno Attributes Key PK Attribute Name IdTurno Descripcio n Domain Data Type Int Nvarchar(10 0) N1) YES NO U2) NO NO C3) NO NO D4) NO NO Comments type PK Parent Entity -----

Relationships Relationship Name Relationship3 Relationship12 Entity 'dbo.Unidades' Caption Primary Key Entity Properties Filegroup PRIMARY Unidades PK_Unidades Relationship Type Non-identifying Non-identifying Parent Entity dbo.Turno dbo.Turno Child Entity dbo.EmpleadosEstacio n dbo.EncabezadoCSU General Card. 1:N 1:N

Primary Key 'PK_Unidades' Attribute Name IdUnidad type PK Parent Entity -----

-19-

Attributes Key PK Attribute Name IdUnidad NoUnidad NoPlaca FK FK IdTipoUnid ad IdEstadoU nidad Kilometraje Inicial FechaKilo metrajeInic ial IdEstacion Domain Data Type Int Nvarchar(50 ) Nvarchar(50 ) Int Int Nvarchar(50 ) Datetime Int N1) YES YES NO YES YES NO NO NO U2) NO NO NO NO NO NO NO NO C3) NO NO NO NO NO NO NO NO D4) NO NO NO NO NO NO NO NO Comments

FK

Relationships Relationship Name FK_Abastecimientoo_U nidades FK_DetalleCSU_Unida des FK_Unidades_EstadoU nidad FK_Unidades_TipoUnid ad Relationship24
1) 2)

Relationship Type Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying

Parent Entity dbo.Unidades dbo.Unidades dbo.EstadoUnidad dbo.TipoUnidad dbo.Estacion

Child Entity dbo.Abastecimiento dbo.DetalleCSU dbo.Unidades dbo.Unidades dbo.Unidades

Card. 1:N 1:N 1:N 1:N 1:N

Not Null Unique 3) Check 4) Default

Keys
Attribute Report

-21-

Attribute Name Galones IdAbastecimiento IdUnidad KilometrajeActual KilometrajeAnterior PecioGalon Total TotalKmRecorrido HoraEntrada HoraSalida IdEmpleado IdEncabezadoAsistencia IdCargo NombreCargo Color Descripcion FechaIngreso IdCasco NoCasco IdCatTipoLea IdTipoLea NombreCategoriaLea Direccion FechaEntrada FechaSalida HoraEntrada HoraSalida IdDetalleCSU IdEmpleado

Entity Name dbo.Abastecimiento dbo.Abastecimiento dbo.Abastecimiento dbo.Abastecimiento dbo.Abastecimiento dbo.Abastecimiento dbo.Abastecimiento dbo.Abastecimiento dbo.Asistencia dbo.Asistencia dbo.Asistencia dbo.Asistencia dbo.Cargo dbo.Cargo dbo.Casco dbo.Casco dbo.Casco dbo.Casco dbo.Casco dbo.CategoriaTipoLea dbo.CategoriaTipoLea dbo.CategoriaTipoLea dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleCSU

Domain

Data Type Int Int Int Int Int Money Money Int Char(5) Char(5) Int Int Int Nvarchar(50) Nvarchar(20) Nvarchar(10 0) Datetime Int Int Int Int Nvarchar(70) Nvarchar(20) Nvarchar(20) Nvarchar(20) Nvarchar(20) Nvarchar(20) Int Int

PK NO YES NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO YES NO YES NO NO NO NO NO NO NO YES NO

FK NO NO YES NO NO NO NO NO NO NO YES YES NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO YES

Keys
idturno IdUnidad KilometrajeActual KilometrajeFinal KilometrosRecorridos Motivo TotalHoras BomberoAsistente1 BomberoAsistente2 BomberoAsistente3 BomberoAsistente4 BomberoAsistente5 BomberoReporta DireccionAccidenteRescate DireccionPaciente Donacin EdadPaciente Fecha IdCatTipoLea IdDetalleCSU IdDetalleServiciosRealizados IdFormaAviso IdServicio IdSubTipoServicio IdTipoLea IdTipoServicio JefeTurno NombreAcompaante dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleCSU dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados Int Int Int Int Int Nvarchar(10 0) Nvarchar(10) Nvarchar(70) Nvarchar(70) Nvarchar(70) Nvarchar(70) Nvarchar(70) Nvarchar(70) Nvarchar(10 0) Char(50) Nvarchar(50) Int Datetime Int Int Int Int Int Int Int Int Nvarchar(70) Nvarchar(70) NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES YES NO YES YES YES YES YES NO NO

-23-

NombrePaciente Observaciones SexoPaciente TelefonoPaciente TurnoCabina DireccionEmpleado DPI FechaNacimientoEmpleado IdCargo IdCasco IdEmpleado IdEstacion IdTipoPlaza IdTurno NoCedula NoLiciecia NombreEmpleado TelefonoEmpleado Fecha IdEncabezadoAsistencia IdEstacion IdTurno Fecha IdCSUGeneral IdEstacion IdTurno Departamento Direccion IdEstacion

dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.DetalleServiciosReal izados dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EmpleadosEstacion dbo.EncabezadoAsisten cia dbo.EncabezadoAsisten cia dbo.EncabezadoAsisten cia dbo.EncabezadoAsisten cia dbo.EncabezadoCSUGe neral dbo.EncabezadoCSUGe neral dbo.EncabezadoCSUGe neral dbo.EncabezadoCSUGe neral dbo.Estacion dbo.Estacion dbo.Estacion

Nchar(50) Nvarchar(20 0) Char(1) Char(9) Nvarchar(70) Nvarchar(50) Nvarchar(30) Nvarchar(50) Int Int Int Int Int Int Nvarchar(50) Nvarchar(50) Nvarchar(50) Int Nvarchar(20) Int Int Int Char(10) Int Int Int Nvarchar(50) Nvarchar(50) Int

NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO YES NO NO NO YES NO NO NO NO YES

NO NO NO NO NO NO NO NO YES YES NO YES YES YES NO NO NO NO NO NO NO NO NO NO YES YES NO NO NO

Keys
Municipio NoEstacion Telefono Descripcin Estado IdEstadoUnidad FormaAviso IdFormaAviso AbastecimientoUnidades Asistencia Contrasea ControlUnidades IdUsuario Mantenimiento NombreUsuario Registrollamadas Reportes ServiciosRealizados usuarios Acontecimeinto Fecha Hora IdRegistroLlamadas Lugar NombreSolicitante Telefono Conteo IdServicio NombreServicio Conteo dbo.Estacion dbo.Estacion dbo.Estacion dbo.EstadoUnidad dbo.EstadoUnidad dbo.EstadoUnidad dbo.FormaAviso dbo.FormaAviso dbo.Loggin dbo.Loggin dbo.Loggin dbo.Loggin dbo.Loggin dbo.Loggin dbo.Loggin dbo.Loggin dbo.Loggin dbo.Loggin dbo.Loggin dbo.RegistroLlamadas dbo.RegistroLlamadas dbo.RegistroLlamadas dbo.RegistroLlamadas dbo.RegistroLlamadas dbo.RegistroLlamadas dbo.RegistroLlamadas dbo.Servicios dbo.Servicios dbo.Servicios dbo.SubTipoServicio Nvarchar(50) Nvarchar(50) Int Nvarchar(15 0) Nvarchar(50) Int Nvarchar(50) Int Bit Bit Nvarchar(50) Bit Int Bit Nvarchar(50) Bit Bit Bit Bit Nvarchar(10 0) Nvarchar(50) Nvarchar(50) Int Nvarchar(50) Nvarchar(50) Int Int Int Nvarchar(80) Int NO NO NO NO NO YES NO YES NO NO NO NO YES NO NO NO NO NO NO NO NO NO YES NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO

-25-

IdSubTipoServicio IdTipoServicio NombreSubtipo IdTipoLea IdTipoServicio NombreLea IdTipoPlaza NombrePlaza Conteo IdServicio IdTipoServicio NombreTipoServicio IdTipoUnidad NombreTipoUnidad Descripcion IdTurno FechaKilometrajeInicial IdEstacion IdEstadoUnidad IdTipoUnidad IdUnidad KilometrajeInicial NoPlaca oUnidad

dbo.SubTipoServicio dbo.SubTipoServicio dbo.SubTipoServicio dbo.TipoLea dbo.TipoLea dbo.TipoLea dbo.TipoPlaza dbo.TipoPlaza dbo.TipoServicio dbo.TipoServicio dbo.TipoServicio dbo.TipoServicio dbo.TipoUnidad dbo.TipoUnidad dbo.Turno dbo.Turno dbo.Unidades dbo.Unidades dbo.Unidades dbo.Unidades dbo.Unidades dbo.Unidades dbo.Unidades dbo.Unidades

Int Int Nvarchar(70) Int Int Nvarchar(70) Int Nvarchar(50) Int Int Int Nvarchar(70) Int Nvarchar(50) Nvarchar(10 0) Int Datetime Int Int Int Int Nvarchar(50) Nvarchar(50) Nvarchar(50)

YES NO NO YES NO NO YES NO NO NO YES NO YES NO NO YES NO NO NO NO YES NO NO NO

NO YES NO NO YES NO NO NO NO YES NO NO NO NO NO NO NO YES YES YES NO NO NO NO

Keys
Attribute 'Galones' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Galones dbo.Abastecimiento NO NO Int NO NO

Attribute 'IdAbastecimiento' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity Attribute 'IdUnidad' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdUnidad dbo.Abastecimiento NO YES Int NO NO Parent Entity dbo.Unidades YES IdAbastecimiento dbo.Abastecimiento YES NO Int YES NO

Attribute 'KilometrajeActual' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique KilometrajeActual dbo.Abastecimiento NO NO Int NO NO

-27-

Attribute 'KilometrajeAnterior' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique KilometrajeAnterior dbo.Abastecimiento NO NO Int NO NO

Attribute 'PecioGalon' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'Total' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Total dbo.Abastecimiento NO NO Money NO NO PecioGalon dbo.Abastecimiento NO NO Money NO NO

Attribute 'TotalKmRecorrido' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique TotalKmRecorrido dbo.Abastecimiento NO NO Int NO NO

Keys
Attribute 'HoraEntrada' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'HoraSalida' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS HoraSalida dbo.Asistencia NO NO Char(5) YES NO Modern_Spanish_CI_AS HoraEntrada dbo.Asistencia NO NO Char(5) YES NO

Attribute 'IdEmpleado' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdEmpleado dbo.Asistencia NO YES Int YES NO Parent Entity dbo.EmpleadosEstacion

Attribute 'IdEncabezadoAsistencia' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdEncabezadoAsistencia dbo.Asistencia NO YES Int NO NO Parent Entity dbo.EncabezadoAsistencia

-29-

Attribute 'IdCargo' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdCargo dbo.Cargo YES NO Int YES NO

Attribute 'NombreCargo' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'Color' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Color dbo.Casco NO NO Nvarchar(20) NO NO Modern_Spanish_CI_AS NombreCargo dbo.Cargo NO NO Nvarchar(50) YES NO

Keys
Attribute 'Descripcion' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Descripcion dbo.Casco NO NO Nvarchar(100) NO NO

Attribute 'FechaIngreso' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdCasco' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdCasco dbo.Casco YES NO Int YES NO FechaIngreso dbo.Casco NO NO Datetime NO NO

-31-

Attribute 'NoCasco' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique NoCasco dbo.Casco NO NO Int NO NO

Attribute 'IdCatTipoLea' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity Attribute 'IdTipoLea' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdTipoLea dbo.CategoriaTipoLea NO YES Int YES NO Parent Entity dbo.TipoLea YES IdCatTipoLea dbo.CategoriaTipoLea YES NO Int YES NO

Attribute 'NombreCategoriaLea' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Modern_Spanish_CI_AS NombreCategoriaLea dbo.CategoriaTipoLea NO NO Nvarchar(70) YES NO

Keys
Column Attribute 'Direccion' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Direccion dbo.DetalleCSU NO NO Nvarchar(20) YES NO

Attribute 'FechaEntrada' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS FechaEntrada dbo.DetalleCSU NO NO Nvarchar(20) YES NO

Attribute 'FechaSalida' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS FechaSalida dbo.DetalleCSU NO NO Nvarchar(20) YES NO

-33-

Attribute 'HoraEntrada' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'HoraSalida' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS HoraSalida dbo.DetalleCSU NO NO Nvarchar(20) YES NO Modern_Spanish_CI_AS HoraEntrada dbo.DetalleCSU NO NO Nvarchar(20) YES NO

Attribute 'IdDetalleCSU' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdDetalleCSU dbo.DetalleCSU YES NO Int YES NO

Keys
Attribute 'IdEmpleado' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'idturno' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdUnidad' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdUnidad dbo.DetalleCSU NO YES Int YES NO Parent Entity dbo.Unidades idturno dbo.DetalleCSU NO NO Int YES NO IdEmpleado dbo.DetalleCSU NO YES Int NO NO Parent Entity dbo.EmpleadosEstacion

Attribute 'KilometrajeActual' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique KilometrajeActual dbo.DetalleCSU NO NO Int NO NO

-35-

Attribute 'KilometrajeFinal' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique KilometrajeFinal dbo.DetalleCSU NO NO Int NO NO

Attribute 'KilometrosRecorridos' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'Motivo' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'TotalHoras' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique TotalHoras dbo.DetalleCSU NO NO Nvarchar(10) NO NO Modern_Spanish_CI_AS Motivo dbo.DetalleCSU NO NO Nvarchar(100) YES NO KilometrosRecorridos dbo.DetalleCSU NO NO Int NO NO

Keys
Attribute Properties Collation For the Column Modern_Spanish_CI_AS

Attribute 'BomberoAsistente1' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS BomberoAsistente1 dbo.DetalleServiciosRealizados NO NO Nvarchar(70) NO NO

Attribute 'BomberoAsistente2' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS BomberoAsistente2 dbo.DetalleServiciosRealizados NO NO Nvarchar(70) NO NO

Attribute 'BomberoAsistente3' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS BomberoAsistente3 dbo.DetalleServiciosRealizados NO NO Nvarchar(70) NO NO

-37-

Attribute 'BomberoAsistente4' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS BomberoAsistente4 dbo.DetalleServiciosRealizados NO NO Nvarchar(70) NO NO

Attribute 'BomberoAsistente5' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS BomberoAsistente5 dbo.DetalleServiciosRealizados NO NO Nvarchar(70) NO NO

Attribute 'BomberoReporta' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS BomberoReporta dbo.DetalleServiciosRealizados NO NO Nvarchar(70) NO NO

Keys
Attribute 'DireccionAccidenteRescate' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS DireccionAccidenteRescate dbo.DetalleServiciosRealizados NO NO Nvarchar(100) NO NO

Attribute 'DireccionPaciente' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'Donacin' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Donacin dbo.DetalleServiciosRealizados NO NO Nvarchar(50) NO NO Modern_Spanish_CI_AS DireccionPaciente dbo.DetalleServiciosRealizados NO NO Char(50) NO NO

-39-

Attribute 'EdadPaciente' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'Fecha' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Fecha dbo.DetalleServiciosRealizados NO NO Datetime NO NO EdadPaciente dbo.DetalleServiciosRealizados NO NO Int NO NO

Attribute 'IdCatTipoLea' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdCatTipoLea dbo.DetalleServiciosRealizados NO YES Int NO NO Parent Entity dbo.CategoriaTipoLea

Attribute 'IdDetalleCSU' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdDetalleCSU dbo.DetalleServiciosRealizados NO YES Int NO NO Parent Entity dbo.DetalleCSU

Keys
Attribute 'IdDetalleServiciosRealizados' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdDetalleServiciosRealizados dbo.DetalleServiciosRealizados YES NO Int YES NO

Attribute 'IdFormaAviso' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdServicio dbo.DetalleServiciosRealizados NO YES Int NO NO Parent Entity dbo.Servicios IdFormaAviso dbo.DetalleServiciosRealizados NO YES Int NO NO Parent Entity dbo.FormaAviso

Attribute 'IdSubTipoServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdSubTipoServicio dbo.DetalleServiciosRealizados NO YES Int NO NO Parent Entity dbo.SubTipoServicio

-41-

Attribute 'IdTipoLea' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdTipoLea dbo.DetalleServiciosRealizados NO YES Int NO NO Parent Entity dbo.TipoLea

Attribute 'IdTipoServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'JefeTurno' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS JefeTurno dbo.DetalleServiciosRealizados NO NO Nvarchar(70) NO NO IdTipoServicio dbo.DetalleServiciosRealizados NO YES Int NO NO Parent Entity dbo.TipoServicio

Attribute 'NombreAcompaante' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NombreAcompaante dbo.DetalleServiciosRealizados NO NO Nvarchar(70) NO NO

Keys
Attribute 'NombrePaciente' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NombrePaciente dbo.DetalleServiciosRealizados NO NO Nchar(50) NO NO

Attribute 'Observaciones' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Observaciones dbo.DetalleServiciosRealizados NO NO Nvarchar(200) NO NO

Attribute 'SexoPaciente' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS SexoPaciente dbo.DetalleServiciosRealizados NO NO Char(1) NO NO

-43-

Attribute 'TelefonoPaciente' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS TelefonoPaciente dbo.DetalleServiciosRealizados NO NO Char(9) NO NO

Attribute 'TurnoCabina' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS TurnoCabina dbo.DetalleServiciosRealizados NO NO Nvarchar(70) NO NO

Attribute 'DireccionEmpleado' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS DireccionEmpleado dbo.EmpleadosEstacion NO NO Nvarchar(50) NO NO

Keys
Attribute 'DPI' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS DPI dbo.EmpleadosEstacion NO NO Nvarchar(30) NO NO

Attribute 'FechaNacimientoEmpleado' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'IdCargo' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdCasco' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdCasco dbo.EmpleadosEstacion NO YES Int NO NO Parent Entity dbo.Casco IdCargo dbo.EmpleadosEstacion NO YES Int NO NO Parent Entity dbo.Cargo Modern_Spanish_CI_AS FechaNacimientoEmpleado dbo.EmpleadosEstacion NO NO Nvarchar(50) NO NO

-45-

Attribute 'IdEmpleado' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity Attribute 'IdEstacion' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdEstacion dbo.EmpleadosEstacion NO YES Int NO NO Parent Entity dbo.Estacion YES IdEmpleado dbo.EmpleadosEstacion YES NO Int YES NO

Attribute 'IdTipoPlaza' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdTurno' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdTurno dbo.EmpleadosEstacion NO YES Int NO NO Parent Entity dbo.Turno IdTipoPlaza dbo.EmpleadosEstacion NO YES Int NO NO Parent Entity dbo.TipoPlaza

Keys
Attribute 'NoCedula' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'NoLiciecia' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NoLiciecia dbo.EmpleadosEstacion NO NO Nvarchar(50) NO NO Modern_Spanish_CI_AS NoCedula dbo.EmpleadosEstacion NO NO Nvarchar(50) NO NO

Attribute 'NombreEmpleado' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NombreEmpleado dbo.EmpleadosEstacion NO NO Nvarchar(50) YES NO

-47-

Attribute 'TelefonoEmpleado' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'Fecha' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Fecha dbo.EncabezadoAsistencia NO NO Nvarchar(20) NO NO TelefonoEmpleado dbo.EmpleadosEstacion NO NO Int NO NO

Attribute 'IdEncabezadoAsistencia' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdEncabezadoAsistencia dbo.EncabezadoAsistencia YES NO Int YES NO

Keys
Attribute 'IdEstacion' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdTurno' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'Fecha' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Fecha dbo.EncabezadoCSUGeneral NO NO Char(10) NO NO IdTurno dbo.EncabezadoAsistencia NO NO Int NO NO IdEstacion dbo.EncabezadoAsistencia NO NO Int NO NO

Attribute 'IdCSUGeneral' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdCSUGeneral dbo.EncabezadoCSUGeneral YES NO Int YES NO

-49-

Attribute Properties Identity Attribute 'IdEstacion' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdTurno' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdTurno dbo.EncabezadoCSUGeneral NO YES Int NO NO Parent Entity dbo.Turno IdEstacion dbo.EncabezadoCSUGeneral NO YES Int NO NO Parent Entity dbo.Estacion YES

Attribute 'Departamento' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'Direccion' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Direccion dbo.Estacion NO NO Nvarchar(50) YES NO Modern_Spanish_CI_AS Departamento dbo.Estacion NO NO Nvarchar(50) NO NO

Keys
Attribute Properties Collation For the Column Attribute 'IdEstacion' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity Attribute 'Municipio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Municipio dbo.Estacion NO NO Nvarchar(50) NO NO YES IdEstacion dbo.Estacion YES NO Int YES NO Modern_Spanish_CI_AS

Attribute 'NoEstacion' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NoEstacion dbo.Estacion NO NO Nvarchar(50) YES NO

-51-

Attribute 'Telefono' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Telefono dbo.Estacion NO NO Int YES NO

Attribute 'Descripcin' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'Estado' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Estado dbo.EstadoUnidad NO NO Nvarchar(50) YES NO Modern_Spanish_CI_AS Descripcin dbo.EstadoUnidad NO NO Nvarchar(150) NO NO

Keys
Attribute 'IdEstadoUnidad' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdEstadoUnidad dbo.EstadoUnidad YES NO Int YES NO

Attribute 'FormaAviso' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS FormaAviso dbo.FormaAviso NO NO Nvarchar(50) YES NO

Attribute 'IdFormaAviso' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdFormaAviso dbo.FormaAviso YES NO Int YES NO

-53-

Attribute 'AbastecimientoUnidades' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'Asistencia' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Asistencia dbo.Loggin NO NO Bit NO NO AbastecimientoUnidades dbo.Loggin NO NO Bit NO NO

Attribute 'Contrasea' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Contrasea dbo.Loggin NO NO Nvarchar(50) YES NO

Attribute 'ControlUnidades' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique ControlUnidades dbo.Loggin NO NO Bit NO NO

Keys
Attribute 'IdUsuario' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdUsuario dbo.Loggin YES NO Int YES NO

Attribute 'Mantenimiento' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Mantenimiento dbo.Loggin NO NO Bit NO NO

Attribute 'NombreUsuario' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NombreUsuario dbo.Loggin NO NO Nvarchar(50) YES NO

-55-

Attribute 'Registrollamadas' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'Reportes' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Reportes dbo.Loggin NO NO Bit NO NO Registrollamadas dbo.Loggin NO NO Bit NO NO

Attribute 'ServiciosRealizados' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'usuarios' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique usuarios dbo.Loggin NO NO Bit NO NO ServiciosRealizados dbo.Loggin NO NO Bit NO NO

Keys
Attribute 'Acontecimeinto' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'Fecha' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'Hora' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Hora dbo.RegistroLlamadas NO NO Nvarchar(50) YES NO Modern_Spanish_CI_AS Fecha dbo.RegistroLlamadas NO NO Nvarchar(50) YES NO Modern_Spanish_CI_AS Acontecimeinto dbo.RegistroLlamadas NO NO Nvarchar(100) YES NO

-57-

Attribute 'IdRegistroLlamadas' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity Attribute 'Lugar' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Lugar dbo.RegistroLlamadas NO NO Nvarchar(50) YES NO YES IdRegistroLlamadas dbo.RegistroLlamadas YES NO Int YES NO

Attribute 'NombreSolicitante' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NombreSolicitante dbo.RegistroLlamadas NO NO Nvarchar(50) NO NO

Keys
Attribute 'Telefono' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'Conteo' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdServicio dbo.Servicios YES NO Int YES NO Conteo dbo.Servicios NO NO Int NO NO Telefono dbo.RegistroLlamadas NO NO Int YES NO

Attribute 'NombreServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique NombreServicio dbo.Servicios NO NO Nvarchar(80) YES NO

-59-

Attribute Properties Collation For the Column Attribute 'Conteo' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Conteo dbo.SubTipoServicio NO NO Int NO NO Modern_Spanish_CI_AS

Attribute 'IdSubTipoServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdSubTipoServicio dbo.SubTipoServicio YES NO Int YES NO

Attribute 'IdTipoServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdTipoServicio dbo.SubTipoServicio NO YES Int NO NO Parent Entity dbo.TipoServicio

Keys
Attribute 'NombreSubtipo' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'IdTipoLea' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdTipoLea dbo.TipoLea YES NO Int YES NO Modern_Spanish_CI_AS NombreSubtipo dbo.SubTipoServicio NO NO Nvarchar(70) YES NO

Attribute 'IdTipoServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdTipoServicio dbo.TipoLea NO YES Int YES NO Parent Entity dbo.TipoServicio

-61-

Attribute 'NombreLea' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NombreLea dbo.TipoLea NO NO Nvarchar(70) YES NO

Attribute 'IdTipoPlaza' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdTipoPlaza dbo.TipoPlaza YES NO Int YES NO

Attribute 'NombrePlaza' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NombrePlaza dbo.TipoPlaza NO NO Nvarchar(50) NO NO

Keys
Attribute 'Conteo' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdServicio dbo.TipoServicio NO YES Int NO NO Parent Entity dbo.Servicios Conteo dbo.TipoServicio NO NO Int NO NO

Attribute 'IdTipoServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdTipoServicio dbo.TipoServicio YES NO Int YES NO

Attribute 'NombreTipoServicio' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NombreTipoServicio dbo.TipoServicio NO NO Nvarchar(70) YES NO

-63-

Attribute 'IdTipoUnidad' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdTipoUnidad dbo.TipoUnidad YES NO Int YES NO

Attribute 'NombreTipoUnidad' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NombreTipoUnidad dbo.TipoUnidad NO NO Nvarchar(50) NO NO

Attribute 'Descripcion' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS Descripcion dbo.Turno NO NO Nvarchar(100) NO NO

Keys
Attribute 'IdTurno' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdTurno dbo.Turno YES NO Int YES NO

Attribute 'FechaKilometrajeInicial' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdEstacion' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdEstacion dbo.Unidades NO YES Int NO NO Parent Entity dbo.Estacion FechaKilometrajeInicial dbo.Unidades NO NO Datetime NO NO

Attribute 'IdEstadoUnidad' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique IdEstadoUnidad dbo.Unidades NO YES Int YES NO Parent Entity dbo.EstadoUnidad

-65-

Attribute 'IdTipoUnidad' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute 'IdUnidad' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Identity YES IdUnidad dbo.Unidades YES NO Int YES NO IdTipoUnidad dbo.Unidades NO YES Int YES NO Parent Entity dbo.TipoUnidad

Attribute 'KilometrajeInicial' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS KilometrajeInicial dbo.Unidades NO NO Nvarchar(50) NO NO

Keys
Attribute 'NoPlaca' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Attribute 'NoUnidad' Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique Attribute Properties Collation For the Column Modern_Spanish_CI_AS NoUnidad dbo.Unidades NO NO Nvarchar(50) YES NO Modern_Spanish_CI_AS NoPlaca dbo.Unidades NO NO Nvarchar(50) NO NO

-67-

Key Report Key Type PK PK PK PK PK PK PK PK PK PK PK PK PK PK PK PK PK PK PK PK PK PK Key Name PK_Abastecimientoo PK_Cargo PK_Casco PK_CategoriaTipoLea PK_DetalleCSU PK_DetalleServiciosRealizados PK_EmpleadosEstacion PK_EncabezadoAsistencia PK_CSUGeneral PK_Estacion PK_EstadoUnidad PK_FormaAviso PK_Loggin PK_RegistroLlamadas PK_Servicios PK_SubTipoServicio PK_TipoLea PK_TipoPlaza PK_TipoServicio PK_TipoUnidad PK_Turno PK_Unidades Entity Name dbo.Abastecimiento dbo.Cargo dbo.Casco dbo.CategoriaTipoLea dbo.DetalleCSU dbo.DetalleServiciosRealizados dbo.EmpleadosEstacion dbo.EncabezadoAsistencia dbo.EncabezadoCSUGeneral dbo.Estacion dbo.EstadoUnidad dbo.FormaAviso dbo.Loggin dbo.RegistroLlamadas dbo.Servicios dbo.SubTipoServicio dbo.TipoLea dbo.TipoPlaza dbo.TipoServicio dbo.TipoUnidad dbo.Turno dbo.Unidades

Key 'PK_Abastecimientoo' Caption Key Type Entity Name Attribute IdAbastecimiento Key Properties Clustered Filegroup YES PRIMARY PK_Abastecimientoo Primary Key dbo.Abastecimiento Order ASC Foreign Key NO

Keys
Key 'PK_Cargo' Caption Key Type Entity Name Attribute IdCargo Key Properties Clustered Filegroup Key 'PK_Casco' Caption Key Type Entity Name Attribute IdCasco Key Properties Clustered Filegroup YES PRIMARY PK_Casco Primary Key dbo.Casco Order ASC Foreign Key NO YES PRIMARY PK_Cargo Primary Key dbo.Cargo Order ASC Foreign Key NO

Key 'PK_CategoriaTipoLea' Caption Key Type Entity Name Attribute IdCatTipoLea Key Properties Clustered Filegroup Key 'PK_DetalleCSU' Caption Key Type Entity Name Attribute IdDetalleCSU Key Properties Clustered Filegroup YES PRIMARY PK_DetalleCSU Primary Key dbo.DetalleCSU Order ASC Foreign Key NO YES PRIMARY PK_CategoriaTipoLea Primary Key dbo.CategoriaTipoLea Order ASC Foreign Key NO

Key 'PK_DetalleServiciosRealizados' Caption Key Type Entity Name Attribute IdDetalleServiciosRealizados PK_DetalleServiciosRealizados Primary Key dbo.DetalleServiciosRealizados Order ASC

Foreign Key NO

-69-

Key Properties Clustered Filegroup YES PRIMARY

Key 'PK_EmpleadosEstacion' Caption Key Type Entity Name Attribute IdEmpleado Key Properties Clustered Filegroup YES PRIMARY PK_EmpleadosEstacion Primary Key dbo.EmpleadosEstacion Order ASC Foreign Key NO

Key 'PK_EncabezadoAsistencia' Caption Key Type Entity Name Attribute IdEncabezadoAsistencia Key Properties Clustered Filegroup YES PRIMARY PK_EncabezadoAsistencia Primary Key dbo.EncabezadoAsistencia Order ASC

Foreign Key NO

Key 'PK_CSUGeneral' Caption Key Type Entity Name Attribute IdCSUGeneral Key Properties Clustered Filegroup Key 'PK_Estacion' Caption Key Type Entity Name Attribute IdEstacion Key Properties Clustered Filegroup YES PRIMARY PK_Estacion Primary Key dbo.Estacion Order ASC Foreign Key NO YES PRIMARY PK_CSUGeneral Primary Key dbo.EncabezadoCSUGeneral Order ASC

Foreign Key NO

Keys
Key 'PK_EstadoUnidad' Caption Key Type Entity Name Attribute IdEstadoUnidad Key Properties Clustered Filegroup YES PRIMARY PK_EstadoUnidad Primary Key dbo.EstadoUnidad Order ASC Foreign Key NO

Key 'PK_FormaAviso' Caption Key Type Entity Name Attribute IdFormaAviso Key Properties Clustered Filegroup Key 'PK_Loggin' Caption Key Type Entity Name Attribute IdUsuario Key Properties Clustered Filegroup YES PRIMARY PK_Loggin Primary Key dbo.Loggin Order ASC Foreign Key NO YES PRIMARY PK_FormaAviso Primary Key dbo.FormaAviso Order ASC Foreign Key NO

Key 'PK_RegistroLlamadas' Caption Key Type Entity Name Attribute IdRegistroLlamadas Key Properties Clustered Filegroup Key 'PK_Servicios' Caption Key Type Entity Name Attribute IdServicio PK_Servicios Primary Key dbo.Servicios Order ASC Foreign Key NO YES PRIMARY PK_RegistroLlamadas Primary Key dbo.RegistroLlamadas Order ASC Foreign Key NO

-71-

Key Properties Clustered Filegroup YES PRIMARY

Key 'PK_SubTipoServicio' Caption Key Type Entity Name Attribute IdSubTipoServicio Key Properties Clustered Filegroup Key 'PK_TipoLea' Caption Key Type Entity Name Attribute IdTipoLea Key Properties Clustered Filegroup Key 'PK_TipoPlaza' Caption Key Type Entity Name Attribute IdTipoPlaza Key Properties Clustered Filegroup YES PRIMARY PK_TipoPlaza Primary Key dbo.TipoPlaza Order ASC Foreign Key NO YES PRIMARY PK_TipoLea Primary Key dbo.TipoLea Order ASC Foreign Key NO YES PRIMARY PK_SubTipoServicio Primary Key dbo.SubTipoServicio Order ASC Foreign Key NO

Key 'PK_TipoServicio' Caption Key Type Entity Name Attribute IdTipoServicio Key Properties Clustered Filegroup YES PRIMARY PK_TipoServicio Primary Key dbo.TipoServicio Order ASC Foreign Key NO

Keys
Key 'PK_TipoUnidad' Caption Key Type Entity Name Attribute IdTipoUnidad Key Properties Clustered Filegroup Key 'PK_Turno' Caption Key Type Entity Name Attribute IdTurno Key Properties Clustered Filegroup Key 'PK_Unidades' Caption Key Type Entity Name Attribute IdUnidad Key Properties Clustered Filegroup YES PRIMARY PK_Unidades Primary Key dbo.Unidades Order ASC Foreign Key NO YES PRIMARY PK_Turno Primary Key dbo.Turno Order ASC Foreign Key NO YES PRIMARY PK_TipoUnidad Primary Key dbo.TipoUnidad Order ASC Foreign Key NO

-73-

Relationship Report

Relationships
Relationship Name FK_Abastecimientoo_U nidades FK_Asistencia_Encabe zadoAsistencia FK_CategoriaTipoLea_ TipoLea FK_DetalleCSU_Unida des FK_DetalleServiciosRe alizados_CategoriaTipo Lea FK_DetalleServiciosRe alizados_FormaAviso FK_DetalleServiciosRe alizados_SubTipoServic io FK_DetalleServiciosRe alizados_TipoLea FK_DetalleServiciosRe alizados_TipoServicio FK_TipoLea_TipoServic io FK_Unidades_EstadoU nidad FK_Unidades_TipoUnid ad Relationship12 Relationship13 Relationship18 Relationship2 Relationship20 Relationship22 Relationship23 Relationship24 Relationship26 Relationship3 Relationship4 Relationship5 Relationship6 Relationship9 Relationship Type Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Non-identifying Parent Entity dbo.Unidades dbo.EncabezadoAsiste ncia dbo.TipoLea dbo.Unidades dbo.CategoriaTipoLea dbo.FormaAviso dbo.SubTipoServicio dbo.TipoLea dbo.TipoServicio dbo.TipoServicio dbo.EstadoUnidad dbo.TipoUnidad dbo.Turno dbo.Servicios dbo.TipoServicio dbo.Casco dbo.Servicios dbo.Estacion dbo.Estacion dbo.Estacion dbo.EmpleadosEstacio n dbo.Turno dbo.TipoPlaza dbo.Cargo dbo.DetalleCSU dbo.EmpleadosEstacio n Child Entity dbo.Abastecimiento dbo.Asistencia dbo.CategoriaTipoLea dbo.DetalleCSU dbo.DetalleServiciosR ealizados dbo.DetalleServiciosR ealizados dbo.DetalleServiciosR ealizados dbo.DetalleServiciosR ealizados dbo.DetalleServiciosR ealizados dbo.TipoLea dbo.Unidades dbo.Unidades dbo.EncabezadoCSU General dbo.TipoServicio dbo.SubTipoServicio dbo.EmpleadosEstacio n dbo.DetalleServiciosR ealizados dbo.EmpleadosEstacio n dbo.EncabezadoCSU General dbo.Unidades dbo.Asistencia dbo.EmpleadosEstacio n dbo.EmpleadosEstacio n dbo.EmpleadosEstacio n dbo.DetalleServiciosR ealizados dbo.DetalleCSU Card. 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N 1:N

-75-

Relationship Name 'FK_Abastecimientoo_Unidades' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_Unidades' Parent Key IdUnidad Child Key IdUnidad Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---FK_Abastecimientoo_Unidades Non-identifying NO NO dbo.Unidades dbo.Abastecimiento Cardinality 1:N

Relationship Name 'FK_Asistencia_EncabezadoAsistencia' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_EncabezadoAsistencia' Parent Key IdEncabezadoAsistencia Child Key IdEncabezadoAsistencia Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---FK_Asistencia_EncabezadoAsistencia Non-identifying NO NO dbo.EncabezadoAsistencia dbo.Asistencia Cardinality 1:N

Relationship Name 'FK_CategoriaTipoLea_TipoLea' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity FK_CategoriaTipoLea_TipoLea Non-identifying YES NO dbo.TipoLea dbo.CategoriaTipoLea Cardinality 1:N

Relationships
Referential Integrity Parent Child Keys Key Type Primary Key 'PK_TipoLea' Parent Key IdTipoLea Child Key IdTipoLea Insert ---NONE Update RESTRICT NONE Delete RESTRICT ----

Relationship Name 'FK_DetalleCSU_Unidades' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_Unidades' Parent Key IdUnidad Child Key IdUnidad Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---FK_DetalleCSU_Unidades Non-identifying YES NO dbo.Unidades dbo.DetalleCSU Cardinality 1:N

Relationship Name 'FK_DetalleServiciosRealizados_CategoriaTipoLea' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_CategoriaTipoLea' Parent Key IdCatTipoLea Child Key IdCatTipoLea Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---FK_DetalleServiciosRealizados_CategoriaTipoLea Non-identifying Cardinality NO NO dbo.CategoriaTipoLea dbo.DetalleServiciosRealizados 1:N

-77-

Relationship Name 'FK_DetalleServiciosRealizados_FormaAviso' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_FormaAviso' Parent Key IdFormaAviso Child Key IdFormaAviso Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---FK_DetalleServiciosRealizados_FormaAviso Non-identifying NO NO dbo.FormaAviso dbo.DetalleServiciosRealizados Cardinality 1:N

Relationship Name 'FK_DetalleServiciosRealizados_SubTipoServicio' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_SubTipoServicio' Parent Key IdSubTipoServicio Child Key IdSubTipoServicio Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---FK_DetalleServiciosRealizados_SubTipoServicio Non-identifying Cardinality NO NO dbo.SubTipoServicio dbo.DetalleServiciosRealizados 1:N

Relationship Name 'FK_DetalleServiciosRealizados_TipoLea' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---FK_DetalleServiciosRealizados_TipoLea Non-identifying NO NO dbo.TipoLea dbo.DetalleServiciosRealizados Cardinality 1:N

Relationships
Keys Key Type Primary Key 'PK_TipoLea' Parent Key IdTipoLea Child Key IdTipoLea

Relationship Name 'FK_DetalleServiciosRealizados_TipoServicio' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_TipoServicio' Parent Key IdTipoServicio Child Key IdTipoServicio Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---FK_DetalleServiciosRealizados_TipoServicio Non-identifying NO NO dbo.TipoServicio dbo.DetalleServiciosRealizados Cardinality 1:N

Relationship Name 'FK_TipoLea_TipoServicio' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_TipoServicio' Parent Key IdTipoServicio Child Key IdTipoServicio Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---FK_TipoLea_TipoServicio Non-identifying YES NO dbo.TipoServicio dbo.TipoLea Cardinality 1:N

Relationship Name 'FK_Unidades_EstadoUnidad' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity FK_Unidades_EstadoUnidad Non-identifying YES NO dbo.EstadoUnidad dbo.Unidades Cardinality 1:N

-79-

Referential Integrity Parent Child Keys Key Type Primary Key 'PK_EstadoUnidad' Parent Key IdEstadoUnidad Child Key IdEstadoUnidad Insert ---NONE Update RESTRICT NONE Delete RESTRICT ----

Relationship Name 'FK_Unidades_TipoUnidad' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_TipoUnidad' Relationship Name 'Relationship12' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_Turno' Parent Key IdTurno Child Key IdTurno Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship12 Non-identifying NO NO dbo.Turno dbo.EncabezadoCSUGeneral Cardinality 1:N Parent Key IdTipoUnidad Child Key IdTipoUnidad Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---FK_Unidades_TipoUnidad Non-identifying YES NO dbo.TipoUnidad dbo.Unidades Cardinality 1:N

Relationships
Relationship Name 'Relationship13' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_Servicios' Relationship Name 'Relationship18' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_TipoServicio' Relationship Name 'Relationship2' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship2 Non-identifying NO NO dbo.Casco dbo.EmpleadosEstacion Cardinality 1:N Parent Key IdTipoServicio Child Key IdTipoServicio Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship18 Non-identifying NO NO dbo.TipoServicio dbo.SubTipoServicio Cardinality 1:N Parent Key IdServicio Child Key IdServicio Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship13 Non-identifying NO NO dbo.Servicios dbo.TipoServicio Cardinality 1:N

-81-

Keys Key Type Primary Key 'PK_Casco' Relationship Name 'Relationship20' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_Servicios' Relationship Name 'Relationship22' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_Estacion' Relationship Name 'Relationship23' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Relationship23 Non-identifying NO NO dbo.Estacion dbo.EncabezadoCSUGeneral Cardinality 1:N Parent Key IdEstacion Child Key IdEstacion Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship22 Non-identifying NO NO dbo.Estacion dbo.EmpleadosEstacion Cardinality 1:N Parent Key IdServicio Child Key IdServicio Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship20 Non-identifying NO NO dbo.Servicios dbo.DetalleServiciosRealizados Cardinality 1:N Parent Key IdCasco Child Key IdCasco

Relationships
Referential Integrity Parent Child Keys Key Type Primary Key 'PK_Estacion' Relationship Name 'Relationship24' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_Estacion' Relationship Name 'Relationship26' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_EmpleadosEstacion' Parent Key IdEmpleado Child Key IdEmpleado Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship26 Non-identifying YES NO dbo.EmpleadosEstacion dbo.Asistencia Cardinality 1:N Parent Key IdEstacion Child Key IdEstacion Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship24 Non-identifying NO NO dbo.Estacion dbo.Unidades Cardinality 1:N Parent Key IdEstacion Child Key IdEstacion Insert ---NONE Update RESTRICT NONE Delete RESTRICT ----

-83-

Relationship Name 'Relationship3' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_Turno' Relationship Name 'Relationship4' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_TipoPlaza' Relationship Name 'Relationship5' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship5 Non-identifying NO NO dbo.Cargo dbo.EmpleadosEstacion Cardinality 1:N Parent Key IdTipoPlaza Child Key IdTipoPlaza Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship4 Non-identifying NO NO dbo.TipoPlaza dbo.EmpleadosEstacion Cardinality 1:N Parent Key IdTurno Child Key IdTurno Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship3 Non-identifying NO NO dbo.Turno dbo.EmpleadosEstacion Cardinality 1:N

Relationships
Keys Key Type Primary Key 'PK_Cargo' Relationship Name 'Relationship6' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_DetalleCSU' Relationship Name 'Relationship9' Caption Relationship Type Mandatory Parent Mandatory Child Parent Entity Child Entity Referential Integrity Parent Child Keys Key Type Primary Key 'PK_EmpleadosEstacion' Parent Key IdEmpleado Child Key IdEmpleado Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship9 Non-identifying NO NO dbo.EmpleadosEstacion dbo.DetalleCSU Cardinality 1:N Parent Key IdDetalleCSU Child Key IdDetalleCSU Insert ---NONE Update RESTRICT NONE Delete RESTRICT ---Relationship6 Non-identifying NO NO dbo.DetalleCSU dbo.DetalleServiciosRealizados Cardinality 1:N Parent Key IdCargo Child Key IdCargo

-85-

Schema Report Schema Name db_accessadmin db_backupoperator db_datareader db_datawriter db_ddladmin db_denydatareader db_denydatawriter db_owner db_securityadmin dbo guest INFORMATION_SCHEMA sys Filegroup Name PRIMARY Caption db_accessadmin db_backupoperator db_datareader db_datawriter db_ddladmin db_denydatareader db_denydatawriter db_owner db_securityadmin dbo guest INFORMATION_SCHEMA sys Filegroup Report

Filegroups
Filegroup 'PRIMARY' Used in Entity Name dbo.Abastecimiento dbo.Asistencia dbo.Cargo dbo.Casco dbo.CategoriaTipoLea dbo.DetalleCSU dbo.DetalleServiciosRealizados dbo.EmpleadosEstacion dbo.EncabezadoAsistencia dbo.EncabezadoCSUGeneral dbo.Estacion dbo.EstadoUnidad dbo.FormaAviso dbo.Loggin dbo.RegistroLlamadas dbo.Servicios dbo.SubTipoServicio dbo.TipoLea dbo.TipoPlaza dbo.TipoServicio dbo.TipoUnidad dbo.Turno dbo.Unidades Key Constraint Name (Entity Name) PK_Abastecimientoo (dbo.Abastecimiento) PK_Cargo (dbo.Cargo) PK_Casco (dbo.Casco) PK_CategoriaTipoLea (dbo.CategoriaTipoLea) PK_DetalleCSU (dbo.DetalleCSU) PK_DetalleServiciosRealizados (dbo.DetalleServiciosRealizados) PK_EmpleadosEstacion (dbo.EmpleadosEstacion) PK_EncabezadoAsistencia (dbo.EncabezadoAsistencia) PK_CSUGeneral (dbo.EncabezadoCSUGeneral) PK_Estacion (dbo.Estacion) PK_EstadoUnidad (dbo.EstadoUnidad) PK_FormaAviso (dbo.FormaAviso) PK_Loggin (dbo.Loggin) PK_RegistroLlamadas (dbo.RegistroLlamadas) PK_Servicios (dbo.Servicios) PK_SubTipoServicio (dbo.SubTipoServicio) PK_TipoLea (dbo.TipoLea) PK_TipoPlaza (dbo.TipoPlaza) PK_TipoServicio (dbo.TipoServicio) PK_TipoUnidad (dbo.TipoUnidad) PK_Turno (dbo.Turno) PK_Unidades (dbo.Unidades)

-87-

User Report User Name dbo guest INFORMATION_SCHEMA sys User 'dbo' Caption Membership User Group Name db_owner User 'guest' Caption User 'INFORMATION_SCHEMA' Caption User 'sys' Caption sys User Group Report User Group Name db_accessadmin db_backupoperator db_datareader db_datawriter db_ddladmin db_denydatareader db_denydatawriter db_owner db_securityadmin Public INFORMATION_SCHEMA guest dbo

User Groups

User Group 'db_accessadmin' Caption User Group 'db_backupoperator' Caption User Group 'db_datareader' Caption User Group 'db_datawriter' Caption User Group 'db_ddladmin' Caption User Group 'db_denydatareader' Caption User Group 'db_denydatawriter' Caption User Group 'db_owner' Caption Members User Name or User Group Name dbo User Group 'db_securityadmin' Caption User Group 'public' Caption public db_securityadmin db_owner db_denydatawriter db_denydatareader db_ddladmin db_datawriter db_datareader db_backupoperator db_accessadmin

-89-

Das könnte Ihnen auch gefallen