From c8de2d05b0fa9ffe1f3729b2bd6f01d8a57789d2 Mon Sep 17 00:00:00 2001 From: jmaximo Date: Sun, 18 Apr 2021 15:31:23 +0100 Subject: [PATCH 1/5] Add files via upload --- Db/i41n-g12-Lawyer.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Db/i41n-g12-Lawyer.txt diff --git a/Db/i41n-g12-Lawyer.txt b/Db/i41n-g12-Lawyer.txt new file mode 100644 index 0000000..0db59b1 --- /dev/null +++ b/Db/i41n-g12-Lawyer.txt @@ -0,0 +1,31 @@ +Lawyer +*id Number (PK) +*name String +*ProcessNumber FK Process.Number) +*RemoteWork bool +*YearsActive Number + +Process +*Number String (PK) +*Description String +*IsPrescribed bool +*Client String + + + +Examples: + +Lawyer { + id: 1, + name: "Zé Miguel", + ProcessNumber: 1, + RemoteWork: true, + YearsActive: 10 +} + +Process { + number: "12-a", + description: "Grand Theft Auto.", + IsPrescribed: false, + Client: "Manel Silva" +} \ No newline at end of file From 18e30956166913e28ff6ca772ca36bb9cc584f20 Mon Sep 17 00:00:00 2001 From: jmaximo Date: Sun, 18 Apr 2021 16:55:48 +0100 Subject: [PATCH 2/5] Update i41n-g12-Lawyer.txt --- Db/i41n-g12-Lawyer.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Db/i41n-g12-Lawyer.txt b/Db/i41n-g12-Lawyer.txt index 0db59b1..0615c3a 100644 --- a/Db/i41n-g12-Lawyer.txt +++ b/Db/i41n-g12-Lawyer.txt @@ -1,15 +1,15 @@ Lawyer -*id Number (PK) -*name String +*id Number (PK) +*name String *ProcessNumber FK Process.Number) -*RemoteWork bool +*RemoteWork bool *YearsActive Number Process -*Number String (PK) +*Number String (PK) *Description String *IsPrescribed bool -*Client String +*Client String @@ -17,8 +17,8 @@ Examples: Lawyer { id: 1, - name: "Zé Miguel", - ProcessNumber: 1, + name: "Ze Miguel", + ProcessNumber: 12-a, RemoteWork: true, YearsActive: 10 } @@ -28,4 +28,4 @@ Process { description: "Grand Theft Auto.", IsPrescribed: false, Client: "Manel Silva" -} \ No newline at end of file +} From aed2f99b6c5ad4ef14cccf612b6664615294a1fb Mon Sep 17 00:00:00 2001 From: jmaximo Date: Sun, 18 Apr 2021 22:49:47 +0100 Subject: [PATCH 3/5] Update i41n-g12-Lawyer.txt --- Db/i41n-g12-Lawyer.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Db/i41n-g12-Lawyer.txt b/Db/i41n-g12-Lawyer.txt index 0615c3a..71a9047 100644 --- a/Db/i41n-g12-Lawyer.txt +++ b/Db/i41n-g12-Lawyer.txt @@ -9,7 +9,7 @@ Process *Number String (PK) *Description String *IsPrescribed bool -*Client String +*Client Client @@ -28,4 +28,4 @@ Process { description: "Grand Theft Auto.", IsPrescribed: false, Client: "Manel Silva" -} +} From 4a81a128dd9a57496e691741a6f00cd9b0f985ca Mon Sep 17 00:00:00 2001 From: jmaximo Date: Sun, 18 Apr 2021 23:00:56 +0100 Subject: [PATCH 4/5] new version updated with another entity --- Db/i41n-g12-Lawyer.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Db/i41n-g12-Lawyer.txt b/Db/i41n-g12-Lawyer.txt index 71a9047..7b5fcf9 100644 --- a/Db/i41n-g12-Lawyer.txt +++ b/Db/i41n-g12-Lawyer.txt @@ -9,7 +9,12 @@ Process *Number String (PK) *Description String *IsPrescribed bool -*Client Client +*Client + +Client +*Number String (PK) +*Name String +*Process Process @@ -29,3 +34,8 @@ Process { IsPrescribed: false, Client: "Manel Silva" } +Client{ + number: "10", + name:"Test Name", + Process process +} From a5aca3c9c3ff610d2c78e644f35a651a2e80a2b1 Mon Sep 17 00:00:00 2001 From: jmaximo Date: Sun, 18 Apr 2021 23:05:35 +0100 Subject: [PATCH 5/5] updated file updated with another entity --- Db/i41n-g12-Lawyer.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Db/i41n-g12-Lawyer.txt b/Db/i41n-g12-Lawyer.txt index 7b5fcf9..5cf71fd 100644 --- a/Db/i41n-g12-Lawyer.txt +++ b/Db/i41n-g12-Lawyer.txt @@ -6,13 +6,13 @@ Lawyer *YearsActive Number Process -*Number String (PK) +*ProcessNumber String (PK) *Description String *IsPrescribed bool -*Client +*Client string Client -*Number String (PK) +*clientId String (PK) *Name String *Process Process @@ -29,13 +29,13 @@ Lawyer { } Process { - number: "12-a", + ProcessNumber: "12-a", description: "Grand Theft Auto.", IsPrescribed: false, Client: "Manel Silva" } Client{ - number: "10", + ClientId: "10", name:"Test Name", Process process }