You are on page 1of 9

Database model: VideoTienda, oracle

VideoTienda
Database model documentation
Created with Vertabelo.com

Created with Vertabelo.com 1


Database model: VideoTienda, oracle

Created with Vertabelo.com 2


Database model: VideoTienda, oracle

1. Model details
Model name:VideoTienda

Version:2.3

Database engine:Oracle Database

Created with Vertabelo.com 3


Database model: VideoTienda, oracle

2. Tables
2.1. Table MOVIE
2.1.1. Columns

Column name Type Properties Description

ID number(15,0) PK

CATEGORY_ID number(15,0)
DESCRIPTION_MO
varchar2(1000)
VIE
TITLE_MOVIE varchar2(100)

PREMIERE_MOVIE date

DURATION_MOVIE date

STOCK_MOVIE number(15,0)

2.2. Table CATEGORY


2.2.1. Columns

Column name Type Properties Description

ID number(15,0) PK

DESCRIPTION varchar2(1000)

2.3. Table MOVIEGENDER


2.3.1. Columns

Column name Type Properties Description

GENDER_ID number(15,0) PK

MOVIE_ID number(15,0) PK

2.4. Table GENDER


2.4.1. Columns

Created with Vertabelo.com 4


Database model: VideoTienda, oracle

Column name Type Properties Description

ID number(15,0) PK

DESCRIPTION varchar2(100)

2.5. Table INVOLVED


2.5.1. Columns

Column name Type Properties Description

ID number(15,0) PK

NAME varchar2(100)

LASTNAME varchar2(100)

BIRTHDATE date null

NATIONALITY varchar2(100) null

2.6. Table ROL


2.6.1. Columns

Column name Type Properties Description

ID number(15,0) PK

DESCRIPTION varchar2(1000)

2.7. Table MOVIEINVOLVED


2.7.1. Columns

Column name Type Properties Description

ID number(15,0) PK

MOVIE_ID number(15,0)

INVOLVED_ID number(15,0)

ROL_ID number(15,0)

Created with Vertabelo.com 5


Database model: VideoTienda, oracle

2.8. Table RENTAL


2.8.1. Columns

Column name Type Properties Description

ID number(15,0) PK

RENTAL_DATE date

DELIVERY_DATE date null

Client_ID number(15,0)

2.9. Table COPY


2.9.1. Columns

Column name Type Properties Description

ID number(15,0) PK

MOVIE_ID number(15,0)

2.10. Table RENTALDETAIL


2.10.1. Columns

Column name Type Properties Description

COPY_ID number(15,0) PK

RENTAL_ID number(15,0) PK

2.11. Table CLIENT


2.11.1. Columns

Column name Type Properties Description

ID number(15,0) PK

NAME varchar2(100)

LASTNAME varchar2(100)

PHONE number(15,0)

Created with Vertabelo.com 6


Database model: VideoTienda, oracle

EMAIL varchar2(100)

Created with Vertabelo.com 7


Database model: VideoTienda, oracle

3. References
3.1. Reference MOVIEGENDER_GENDER

GENDER 0..* MOVIEGENDER

ID <-> GENDER_ID

3.2. Reference MOVIEGENDER_MOVIE

MOVIE 0..* MOVIEGENDER

ID <-> MOVIE_ID

3.3. Reference MOVIEINVOLVED_MOVIE

MOVIE 0..* MOVIEINVOLVED

ID <-> MOVIE_ID

3.4. Reference MOVIEINVOLVED_INVOLVED

INVOLVED 0..* MOVIEINVOLVED

ID <-> INVOLVED_ID

3.5. Reference MOVIE_CATEGORY

CATEGORY 0..* MOVIE

ID <-> CATEGORY_ID

3.6. Reference COPY_MOVIE

MOVIE 0..* COPY

ID <-> MOVIE_ID

Created with Vertabelo.com 8


Database model: VideoTienda, oracle

3.7. Reference RENTALDETAIL_COPY

COPY 0..* RENTALDETAIL

ID <-> COPY_ID

3.8. Reference RENTALDETAIL_RENTAL

RENTAL 0..* RENTALDETAIL

ID <-> RENTAL_ID

3.9. Reference MOVIEINVOLVED_ROL

ROL 1..1 MOVIEINVOLVED

ID <-> ROL_ID

3.10. Reference RENTAL_Client

CLIENT 0..* RENTAL

ID <-> Client_ID

Created with Vertabelo.com 9

You might also like