Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PA165 - Airport - project
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
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
Ján Macháček
PA165 - Airport - project
Commits
2be134a2
There was an error fetching the commit references. Please try again later.
Commit
2be134a2
authored
1 year ago
by
Martin Slovík
Browse files
Options
Downloads
Patches
Plain Diff
Renaming OpenAPI DomainEntityDto, creating model DomainEntity
parent
2eb439fc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/openapi.yaml
+9
-9
9 additions, 9 deletions
core/openapi.yaml
core/src/main/java/cz/muni/fi/pa165/core/data/domain/common/DomainEntity.java
+16
-0
16 additions, 0 deletions
...z/muni/fi/pa165/core/data/domain/common/DomainEntity.java
with
25 additions
and
9 deletions
core/openapi.yaml
+
9
−
9
View file @
2be134a2
...
...
@@ -1415,7 +1415,7 @@ paths:
$ref
:
'
#/components/schemas/ErrorMessage'
components
:
schemas
:
DomainEntity
:
DomainEntity
Dto
:
title
:
Domain Entity
description
:
Represents a Domain Entity
type
:
object
...
...
@@ -1431,7 +1431,7 @@ components:
propertyName
:
objectType
ErrorMessage
:
allOf
:
-
$ref
:
'
#/components/schemas/DomainEntity'
-
$ref
:
'
#/components/schemas/DomainEntity
Dto
'
title
:
Error Message
description
:
Response body for HTML statuses.
type
:
object
...
...
@@ -1460,7 +1460,7 @@ components:
example
:
/api/stewards/1
StewardDto
:
allOf
:
-
$ref
:
'
#/components/schemas/DomainEntity'
-
$ref
:
'
#/components/schemas/DomainEntity
Dto
'
type
:
object
title
:
Steward
description
:
Represents a steward on a flight.
...
...
@@ -1500,7 +1500,7 @@ components:
example
:
Doe
FlightDto
:
allOf
:
-
$ref
:
'
#/components/schemas/DomainEntity'
-
$ref
:
'
#/components/schemas/DomainEntity
Dto
'
type
:
object
title
:
Flight
description
:
Represents a flight.
...
...
@@ -1554,7 +1554,7 @@ components:
example
:
2022-12-22T12:04:04.493908908+01:00
AirplaneTypeDto
:
allOf
:
-
$ref
:
'
#/components/schemas/DomainEntity'
-
$ref
:
'
#/components/schemas/DomainEntity
Dto
'
type
:
object
title
:
Airplane Type
description
:
Represents an Airplane Type.
...
...
@@ -1579,7 +1579,7 @@ components:
example
:
Boeing
747
AirplaneDto
:
allOf
:
-
$ref
:
'
#/components/schemas/DomainEntity'
-
$ref
:
'
#/components/schemas/DomainEntity
Dto
'
type
:
object
title
:
Airplane
description
:
Represents an Airplane.
...
...
@@ -1681,7 +1681,7 @@ components:
type
:
boolean
CountryDto
:
allOf
:
-
$ref
:
'
#/components/schemas/DomainEntity'
-
$ref
:
'
#/components/schemas/DomainEntity
Dto
'
type
:
object
title
:
Country
description
:
Represents a country.
...
...
@@ -1706,7 +1706,7 @@ components:
example
:
Canada
CityDto
:
allOf
:
-
$ref
:
'
#/components/schemas/DomainEntity'
-
$ref
:
'
#/components/schemas/DomainEntity
Dto
'
type
:
object
title
:
City
description
:
Represents a City in a Country containing Airports.
...
...
@@ -1753,7 +1753,7 @@ components:
example
:
2.17403
AirportDto
:
allOf
:
-
$ref
:
'
#/components/schemas/DomainEntity'
-
$ref
:
'
#/components/schemas/DomainEntity
Dto
'
type
:
object
title
:
Airport
description
:
Represents an Airport.
...
...
This diff is collapsed.
Click to expand it.
core/src/main/java/cz/muni/fi/pa165/core/data/domain/common/DomainEntity.java
0 → 100644
+
16
−
0
View file @
2be134a2
package
cz.muni.fi.pa165.core.data.domain.common
;
import
jakarta.persistence.GeneratedValue
;
import
jakarta.persistence.GenerationType
;
import
jakarta.persistence.Id
;
import
jakarta.persistence.MappedSuperclass
;
import
lombok.Data
;
@MappedSuperclass
@Data
public
class
DomainEntity
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Long
id
;
}
\ 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