Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SAE_S5
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ROUILLON Tom
SAE_S5
Commits
4f14ddab
Commit
4f14ddab
authored
1 year ago
by
ROUILLON Tom
Browse files
Options
Downloads
Patches
Plain Diff
Update API
parent
23a9881c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Back_end/src/Entity/OrdreTournee.php
+17
-1
17 additions, 1 deletion
Back_end/src/Entity/OrdreTournee.php
Back_end/src/Entity/Tournee.php
+0
-15
0 additions, 15 deletions
Back_end/src/Entity/Tournee.php
README.md
+1
-1
1 addition, 1 deletion
README.md
with
18 additions
and
17 deletions
Back_end/src/Entity/OrdreTournee.php
+
17
−
1
View file @
4f14ddab
...
...
@@ -16,10 +16,14 @@ class OrdreTournee
#[ORM\Column]
private
?int
$numOrdre
=
null
;
#[ORM\ManyToOne
(inversedBy: 'test')
]
#[ORM\ManyToOne]
#[ORM\JoinColumn(nullable: false)]
private
?Tournee
$tournee_id
=
null
;
#[ORM\ManyToOne]
#[ORM\JoinColumn(nullable: false)]
private
?PointDeDepot
$point_depot_id
=
null
;
public
function
getId
():
?int
{
return
$this
->
id
;
...
...
@@ -48,4 +52,16 @@ class OrdreTournee
return
$this
;
}
public
function
getPointDepotId
():
?PointDeDepot
{
return
$this
->
point_depot_id
;
}
public
function
setPointDepotId
(
?PointDeDepot
$point_depot_id
):
static
{
$this
->
point_depot_id
=
$point_depot_id
;
return
$this
;
}
}
This diff is collapsed.
Click to expand it.
Back_end/src/Entity/Tournee.php
+
0
−
15
View file @
4f14ddab
...
...
@@ -14,23 +14,8 @@ class Tournee
#[ORM\Column]
private
?int
$id
=
null
;
#[ORM\Column(type: Types::DATE_MUTABLE)]
private
?
\DateTimeInterface
$jourPreparation
=
null
;
public
function
getId
():
?int
{
return
$this
->
id
;
}
public
function
getJourPreparation
():
?
\DateTimeInterface
{
return
$this
->
jourPreparation
;
}
public
function
setJourPreparation
(
\DateTimeInterface
$jourPreparation
)
:
static
{
$this
->
jourPreparation
=
$jourPreparation
;
return
$this
;
}
}
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
4f14ddab
...
...
@@ -13,4 +13,4 @@ Dans notre cas, nous avons choisi Symfony. Donc, nous avons besoin de 3 containe
Un container adminer a été ajouté pour pouvoir gérer la base de données.
Lien vers la documentation swagger de l'api : http://localhost:8080/api
\ No newline at end of file
Lien vers la documentation swagger de l'api : http://localhost:8080/api, après avoir lancé le projet avec
`docker-compose up -d`
.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment