Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ejercicio2-framework-back
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Josue
ejercicio2-framework-back
Commits
f337d2c1
Commit
f337d2c1
authored
Dec 03, 2021
by
Roberto Loayza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Artefactos Goal y Action.
parent
9373fdd5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
4 deletions
+57
-4
ActionBean.java
src/main/java/com/bytesw/bytebot/etl/beans/ActionBean.java
+19
-0
GoalBean.java
src/main/java/com/bytesw/bytebot/etl/beans/GoalBean.java
+22
-0
Action.java
src/main/java/com/bytesw/bytebot/etl/model/Action.java
+0
-4
ActionRepository.java
.../java/com/bytesw/bytebot/repository/ActionRepository.java
+8
-0
GoalRepository.java
...in/java/com/bytesw/bytebot/repository/GoalRepository.java
+8
-0
No files found.
src/main/java/com/bytesw/bytebot/etl/beans/ActionBean.java
0 → 100644
View file @
f337d2c1
package
com
.
bytesw
.
bytebot
.
etl
.
beans
;
import
com.google.gson.annotations.Expose
;
import
lombok.Getter
;
import
lombok.Setter
;
import
lombok.ToString
;
@Getter
@Setter
@ToString
public
class
ActionBean
{
@Expose
private
Long
id
;
@Expose
private
String
ident
;
}
src/main/java/com/bytesw/bytebot/etl/beans/GoalBean.java
0 → 100644
View file @
f337d2c1
package
com
.
bytesw
.
bytebot
.
etl
.
beans
;
import
com.google.gson.annotations.Expose
;
import
lombok.Getter
;
import
lombok.Setter
;
import
lombok.ToString
;
@Getter
@Setter
@ToString
public
class
GoalBean
{
@Expose
private
Long
id
;
@Expose
private
String
ident
;
@Expose
private
Long
agenId
;
}
\ No newline at end of file
src/main/java/com/bytesw/bytebot/etl/model/Action.java
View file @
f337d2c1
...
@@ -25,8 +25,4 @@ public class Action {
...
@@ -25,8 +25,4 @@ public class Action {
@Column
(
name
=
"action_ident"
)
@Column
(
name
=
"action_ident"
)
private
String
identifier
;
private
String
identifier
;
@ManyToOne
(
optional
=
false
)
@JoinColumn
(
name
=
"goal_id"
,
referencedColumnName
=
"GOAL_ID"
)
private
Goal
goal
;
}
}
src/main/java/com/bytesw/bytebot/repository/ActionRepository.java
0 → 100644
View file @
f337d2c1
package
com
.
bytesw
.
bytebot
.
repository
;
import
com.bytesw.bytebot.etl.model.Action
;
import
org.springframework.data.jpa.repository.JpaSpecificationExecutor
;
import
org.springframework.data.repository.CrudRepository
;
public
interface
ActionRepository
extends
CrudRepository
<
Action
,
Long
>,
JpaSpecificationExecutor
<
Action
>
{
}
src/main/java/com/bytesw/bytebot/repository/GoalRepository.java
0 → 100644
View file @
f337d2c1
package
com
.
bytesw
.
bytebot
.
repository
;
import
com.bytesw.bytebot.etl.model.Goal
;
import
org.springframework.data.jpa.repository.JpaSpecificationExecutor
;
import
org.springframework.data.repository.CrudRepository
;
public
interface
GoalRepository
extends
CrudRepository
<
Goal
,
Long
>,
JpaSpecificationExecutor
<
Goal
>
{
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment