Skip to content

Instantly share code, notes, and snippets.

@andresgardiol
Created May 10, 2018 16:23
Show Gist options
  • Save andresgardiol/787d1b3d681b3262098b3f236c716e47 to your computer and use it in GitHub Desktop.
Save andresgardiol/787d1b3d681b3262098b3f236c716e47 to your computer and use it in GitHub Desktop.
-- éste es un ejemplo
group: AccidentesdeTransito
COMPSEG = {
cuit:number, nomC:string, domi:string, tel:number
20 , 'segA' , 'pocito' , 155
21 , 'segB' , 'rivadavia', 156
}
VEHI = {
pat:string, mod:number, tipo:string, cuit:number, cm:string, dni:number
'abc' , 2018 , 'auto' , 20 , 'aaa' , 399
'def' , 2017 , 'moto' , 21 , 'bbb' , 399
'ghi' , 2016 , 'camioneta', 20 , 'ccc' , 399
}
MARCAS = {
cm:string, descrip:string
'aaa' , 'holahola'
'bbb' , 'chauchau'
}
PERS = {
dni:number, nom:string, edad:number, domi:string, tel:number
399 , 'enzo' , 20 , 'pocito' , 264
395 , 'tamara' , 21 , 'rivadavia', 266
398 , 'carlos' , 25 , 'capital' , 255
355 , 'sofia' , 27 , 'rawson' ,299
}
ACTA=
{
nroActa:number, lugar:string, fecha:date, hora:string
1 , 'parque' , 2018-01-01, '17:00'
2 , 'centro' , 2017-01-01, '21:00'
}
INVO = {
nroActa:number, pat:string, dni:number, conductor:string, danio:string
1 , 'abc' , 399 , 'si' , 'leve'
2 , 'def' , 395 , 'si' , 'fatal'
1 , 'abc' ,398 , 'no' , 'grave'
2 , 'def' ,355 , 'no' , 'sin daño'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment