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
5cd90dcd
Commit
5cd90dcd
authored
Dec 10, 2021
by
Roberto Loayza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cambio de secuencia de los modelos
parent
1aaa0bc6
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
51 additions
and
80 deletions
+51
-80
Action.java
src/main/java/com/bytesw/bytebot/etl/model/Action.java
+2
-3
DeleteDataSensibleControl.java
...m/bytesw/bytebot/etl/model/DeleteDataSensibleControl.java
+2
-3
DeleteDataSensibleLog.java
...a/com/bytesw/bytebot/etl/model/DeleteDataSensibleLog.java
+2
-3
EventHistory.java
src/main/java/com/bytesw/bytebot/etl/model/EventHistory.java
+2
-3
Goal.java
src/main/java/com/bytesw/bytebot/etl/model/Goal.java
+2
-3
GoalForActions.java
...ain/java/com/bytesw/bytebot/etl/model/GoalForActions.java
+2
-3
Intent.java
src/main/java/com/bytesw/bytebot/etl/model/Intent.java
+2
-3
Message.java
src/main/java/com/bytesw/bytebot/etl/model/Message.java
+2
-3
Response.java
src/main/java/com/bytesw/bytebot/etl/model/Response.java
+2
-3
Session.java
src/main/java/com/bytesw/bytebot/etl/model/Session.java
+2
-3
SessionAction.java
...main/java/com/bytesw/bytebot/etl/model/SessionAction.java
+2
-3
User.java
src/main/java/com/bytesw/bytebot/etl/model/User.java
+2
-3
Agent.java
src/main/java/com/bytesw/bytebot/model/Agent.java
+3
-3
BusinessParameterConfiguration.java
.../bytesw/bytebot/model/BusinessParameterConfiguration.java
+1
-1
CalendarException.java
...main/java/com/bytesw/bytebot/model/CalendarException.java
+2
-2
Channel.java
src/main/java/com/bytesw/bytebot/model/Channel.java
+2
-3
ChannelParam.java
src/main/java/com/bytesw/bytebot/model/ChannelParam.java
+2
-3
Country.java
src/main/java/com/bytesw/bytebot/model/Country.java
+2
-3
DeploymentChannel.java
...main/java/com/bytesw/bytebot/model/DeploymentChannel.java
+2
-3
DeploymentChannelParamValue.java
...com/bytesw/bytebot/model/DeploymentChannelParamValue.java
+2
-3
FrequentQuestion.java
src/main/java/com/bytesw/bytebot/model/FrequentQuestion.java
+2
-3
QuestionFile.java
src/main/java/com/bytesw/bytebot/model/QuestionFile.java
+5
-15
Timezone.java
src/main/java/com/bytesw/bytebot/model/Timezone.java
+2
-3
WeekScheduler.java
src/main/java/com/bytesw/bytebot/model/WeekScheduler.java
+2
-2
No files found.
src/main/java/com/bytesw/bytebot/etl/model/Action.java
View file @
5cd90dcd
...
@@ -17,9 +17,8 @@ public class Action {
...
@@ -17,9 +17,8 @@ public class Action {
@Id
@Id
@Column
(
name
=
"action_id"
)
@Column
(
name
=
"action_id"
)
@TableGenerator
(
name
=
"AVB_ACTION_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_ACTION_GENERATOR"
,
sequenceName
=
"AVB_ACTION_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_ACTION_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_ACTION_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_ACTION_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"action_ident"
)
@Column
(
name
=
"action_ident"
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/DeleteDataSensibleControl.java
View file @
5cd90dcd
...
@@ -17,9 +17,8 @@ public class DeleteDataSensibleControl {
...
@@ -17,9 +17,8 @@ public class DeleteDataSensibleControl {
@Id
@Id
@Column
(
name
=
"dsmc_id"
)
@Column
(
name
=
"dsmc_id"
)
@TableGenerator
(
name
=
"AVB_DELETE_MSG_SENS_CONTROL_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_DELETE_MSG_SENS_CONTROL_GENERATOR"
,
sequenceName
=
"AVB_DELETE_SENS_MSG_CONTROL_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_DELETE_MSG_SENS_CONTROL_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_DELETE_MSG_SENS_CONTROL_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_DELETE_MSG_SENS_CONTROL_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"agent_id"
)
@Column
(
name
=
"agent_id"
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/DeleteDataSensibleLog.java
View file @
5cd90dcd
...
@@ -17,9 +17,8 @@ public class DeleteDataSensibleLog {
...
@@ -17,9 +17,8 @@ public class DeleteDataSensibleLog {
@Id
@Id
@Column
(
name
=
"dele_id"
)
@Column
(
name
=
"dele_id"
)
@TableGenerator
(
name
=
"AVB_DELETE_MSG_SENS_LOG_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_DELETE_MSG_SENS_LOG_GENERATOR"
,
sequenceName
=
"AVB_DELETE_SENS_MSG_LOG_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_DELETE_MSG_SENS_LOG_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_DELETE_MSG_SENS_LOG_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_DELETE_MSG_SENS_LOG_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"inten_id"
)
@Column
(
name
=
"inten_id"
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/EventHistory.java
View file @
5cd90dcd
...
@@ -16,9 +16,8 @@ public class EventHistory {
...
@@ -16,9 +16,8 @@ public class EventHistory {
@Id
@Id
@Column
(
name
=
"evenh_id"
)
@Column
(
name
=
"evenh_id"
)
@TableGenerator
(
name
=
"AVB_EVENT_HISTORY_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_EVENT_HISTORY_GENERATOR"
,
sequenceName
=
"AVB_EVENT_HISTORY_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_EVENT_HISTORY_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_EVENT_HISTORY_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_EVENT_HISTORY_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"evenh_sendid"
)
@Column
(
name
=
"evenh_sendid"
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/Goal.java
View file @
5cd90dcd
...
@@ -15,9 +15,8 @@ public class Goal {
...
@@ -15,9 +15,8 @@ public class Goal {
@Id
@Id
@Column
(
name
=
"goal_id"
)
@Column
(
name
=
"goal_id"
)
@TableGenerator
(
name
=
"AVB_GOAL_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_GOAL_GENERATOR"
,
sequenceName
=
"AVB_GOAL_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_GOAL_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_GOAL_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_GOAL_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"goal_ident"
)
@Column
(
name
=
"goal_ident"
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/GoalForActions.java
View file @
5cd90dcd
...
@@ -17,9 +17,8 @@ public class GoalForActions {
...
@@ -17,9 +17,8 @@ public class GoalForActions {
@Id
@Id
@Column
(
name
=
"gfac_id"
)
@Column
(
name
=
"gfac_id"
)
@TableGenerator
(
name
=
"AVB_GOALFORACTIONS_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_GOALFORACTIONS_GENERATOR"
,
sequenceName
=
"AVB_GOALFORACTIONS_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_GOALFORACTIONS_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_GOALFORACTIONS_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_GOALFORACTIONS_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"goal_id"
)
@Column
(
name
=
"goal_id"
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/Intent.java
View file @
5cd90dcd
...
@@ -16,9 +16,8 @@ public class Intent {
...
@@ -16,9 +16,8 @@ public class Intent {
@Id
@Id
@Column
(
name
=
"inten_id"
)
@Column
(
name
=
"inten_id"
)
@TableGenerator
(
name
=
"AVB_INTENT_DASHBOARD_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_INTENT_DASHBOARD_GENERATOR"
,
sequenceName
=
"AVB_INTENT_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_INTENT_DASHBOARD_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_INTENT_DASHBOARD_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_INTENT_DASHBOARD_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"inten_ident"
)
@Column
(
name
=
"inten_ident"
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/Message.java
View file @
5cd90dcd
...
@@ -20,9 +20,8 @@ public class Message {
...
@@ -20,9 +20,8 @@ public class Message {
@Id
@Id
@Column
(
name
=
"messa_id"
)
@Column
(
name
=
"messa_id"
)
@TableGenerator
(
name
=
"AVB_MESSAGE_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_MESSAGE_GENERATOR"
,
sequenceName
=
"AVB_MESSAGE_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_MESSAGE_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_MESSAGE_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_MESSAGE_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"session_id"
)
@Column
(
name
=
"session_id"
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/Response.java
View file @
5cd90dcd
...
@@ -16,9 +16,8 @@ public class Response {
...
@@ -16,9 +16,8 @@ public class Response {
@Id
@Id
@Column
(
name
=
"respo_id"
)
@Column
(
name
=
"respo_id"
)
@TableGenerator
(
name
=
"AVB_RESPONSE_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_RESPONSE_GENERATOR"
,
sequenceName
=
"AVB_RESPONSE_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_RESPONSE_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_RESPONSE_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_RESPONSE_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"respo_date"
)
@Column
(
name
=
"respo_date"
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/Session.java
View file @
5cd90dcd
...
@@ -17,9 +17,8 @@ public class Session {
...
@@ -17,9 +17,8 @@ public class Session {
@Id
@Id
@Column
(
name
=
"session_id"
)
@Column
(
name
=
"session_id"
)
@TableGenerator
(
name
=
"AVB_SESSION_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_SESSION_GENERATOR"
,
sequenceName
=
"AVB_SESSION_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_SESSION_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_SESSION_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_SESSION_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"session_date"
,
nullable
=
false
)
@Column
(
name
=
"session_date"
,
nullable
=
false
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/SessionAction.java
View file @
5cd90dcd
...
@@ -16,9 +16,8 @@ public class SessionAction {
...
@@ -16,9 +16,8 @@ public class SessionAction {
@Id
@Id
@Column
(
name
=
"asess_id"
)
@Column
(
name
=
"asess_id"
)
@TableGenerator
(
name
=
"AVB_ACTION_SESSION_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_ACTION_SESSION_GENERATOR"
,
sequenceName
=
"AVB_ACTION_SESSION_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_ACTION_SESSION_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_ACTION_SESSION_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_ACTION_SESSION_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@ManyToOne
(
optional
=
false
)
@ManyToOne
(
optional
=
false
)
...
...
src/main/java/com/bytesw/bytebot/etl/model/User.java
View file @
5cd90dcd
...
@@ -14,9 +14,8 @@ public class User {
...
@@ -14,9 +14,8 @@ public class User {
@Id
@Id
@Column
(
name
=
"user_id"
)
@Column
(
name
=
"user_id"
)
@TableGenerator
(
name
=
"AVB_USER_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_USER_GENERATOR"
,
sequenceName
=
"AVB_USER_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_USER_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_USER_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_USER_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"user_ident"
)
@Column
(
name
=
"user_ident"
)
...
...
src/main/java/com/bytesw/bytebot/model/Agent.java
View file @
5cd90dcd
...
@@ -24,9 +24,8 @@ public class Agent implements Serializable {
...
@@ -24,9 +24,8 @@ public class Agent implements Serializable {
@Id
@Id
@Column
(
name
=
"agen_id"
)
@Column
(
name
=
"agen_id"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_AGENT_GENERATOR"
)
@SequenceGenerator
(
name
=
"AVB_AGENT_GENERATOR"
,
sequenceName
=
"AVB_AGENT_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
@TableGenerator
(
name
=
"AVB_AGENT_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
valueColumnName
=
"SEQ_COUNT"
,
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_AGENT_GENERATOR"
)
pkColumnValue
=
"AVB_AGENT_SEQ"
,
allocationSize
=
1
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"agen_iden"
)
@Column
(
name
=
"agen_iden"
)
...
@@ -71,4 +70,5 @@ public class Agent implements Serializable {
...
@@ -71,4 +70,5 @@ public class Agent implements Serializable {
@OneToMany
(
mappedBy
=
"agent"
)
@OneToMany
(
mappedBy
=
"agent"
)
private
List
<
FrequentQuestion
>
frequentQuestions
;
private
List
<
FrequentQuestion
>
frequentQuestions
;
}
}
src/main/java/com/bytesw/bytebot/model/BusinessParameterConfiguration.java
View file @
5cd90dcd
...
@@ -21,7 +21,7 @@ public class BusinessParameterConfiguration implements Serializable, Comparable<
...
@@ -21,7 +21,7 @@ public class BusinessParameterConfiguration implements Serializable, Comparable<
@Id
@Id
@Column
(
name
=
"BUPC_ID"
)
@Column
(
name
=
"BUPC_ID"
)
@SequenceGenerator
(
name
=
"AVB_BUSINESS_PARAMETER_CONFIG_GENERATOR"
,
sequenceName
=
"AVB_BUSINESS_PARAM
_CONFIG
_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
@SequenceGenerator
(
name
=
"AVB_BUSINESS_PARAMETER_CONFIG_GENERATOR"
,
sequenceName
=
"AVB_BUSINESS_PARAM
ETER_AUD
_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_BUSINESS_PARAMETER_CONFIG_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_BUSINESS_PARAMETER_CONFIG_GENERATOR"
)
private
BigInteger
id
;
private
BigInteger
id
;
...
...
src/main/java/com/bytesw/bytebot/model/CalendarException.java
View file @
5cd90dcd
...
@@ -28,8 +28,8 @@ public abstract class CalendarException implements Serializable {
...
@@ -28,8 +28,8 @@ public abstract class CalendarException implements Serializable {
@Id
@Id
@Column
(
name
=
"CALE_EXC_ID"
)
@Column
(
name
=
"CALE_EXC_ID"
)
//
@SequenceGenerator(name = "AVB_CALENDAR_EXCEPTION_GENERATOR", sequenceName = "AVB_CALENDAR_EXCEPTION_SEQ", initialValue = 1, allocationSize = 1)
@SequenceGenerator
(
name
=
"AVB_CALENDAR_EXCEPTION_GENERATOR"
,
sequenceName
=
"AVB_CALENDAR_EXCEPTION_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
//
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AVB_CALENDAR_EXCEPTION_GENERATOR")
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_CALENDAR_EXCEPTION_GENERATOR"
)
private
BigInteger
id
;
private
BigInteger
id
;
@Version
@Version
...
...
src/main/java/com/bytesw/bytebot/model/Channel.java
View file @
5cd90dcd
...
@@ -27,9 +27,8 @@ public class Channel {
...
@@ -27,9 +27,8 @@ public class Channel {
@Id
@Id
@Column
(
name
=
"CHAN_ID"
)
@Column
(
name
=
"CHAN_ID"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_CHANNEL_GENERATOR"
)
@SequenceGenerator
(
name
=
"AVB_CHANNEL_GENERATOR"
,
sequenceName
=
"AVB_CHANNEL_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
@TableGenerator
(
name
=
"AVB_CHANNEL_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
valueColumnName
=
"SEQ_COUNT"
,
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_CHANNEL_GENERATOR"
)
pkColumnValue
=
"AVB_CHANNEL_SEQ"
,
allocationSize
=
1
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"CHAN_IDEN"
)
@Column
(
name
=
"CHAN_IDEN"
)
...
...
src/main/java/com/bytesw/bytebot/model/ChannelParam.java
View file @
5cd90dcd
...
@@ -29,9 +29,8 @@ public class ChannelParam {
...
@@ -29,9 +29,8 @@ public class ChannelParam {
@Id
@Id
@Column
(
name
=
"CHPA_ID"
)
@Column
(
name
=
"CHPA_ID"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_CHANNEL_PARAM_GENERATOR"
)
@SequenceGenerator
(
name
=
"AVB_CHANNEL_PARAM_GENERATOR"
,
sequenceName
=
"AVB_CHANNEL_PARAM_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
@TableGenerator
(
name
=
"AVB_CHANNEL_PARAM_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
valueColumnName
=
"SEQ_COUNT"
,
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_CHANNEL_PARAM_GENERATOR"
)
pkColumnValue
=
"AVB_CHANNEL_PARAM_SEQ"
,
allocationSize
=
1
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"CHPA_IDEN"
)
@Column
(
name
=
"CHPA_IDEN"
)
...
...
src/main/java/com/bytesw/bytebot/model/Country.java
View file @
5cd90dcd
...
@@ -16,9 +16,8 @@ public class Country {
...
@@ -16,9 +16,8 @@ public class Country {
@Id
@Id
@Column
(
name
=
"coun_id"
)
@Column
(
name
=
"coun_id"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_COUNTRY_GENERATOR"
)
@SequenceGenerator
(
name
=
"AVB_COUNTRY_GENERATOR"
,
sequenceName
=
"AVB_COUNTRY_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
@TableGenerator
(
name
=
"AVB_COUNTRY_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
valueColumnName
=
"SEQ_COUNT"
,
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_COUNTRY_GENERATOR"
)
pkColumnValue
=
"AVB_COUNTRY_SEQ"
,
allocationSize
=
1
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"coun_name"
,
nullable
=
false
)
@Column
(
name
=
"coun_name"
,
nullable
=
false
)
...
...
src/main/java/com/bytesw/bytebot/model/DeploymentChannel.java
View file @
5cd90dcd
...
@@ -30,9 +30,8 @@ public class DeploymentChannel {
...
@@ -30,9 +30,8 @@ public class DeploymentChannel {
@Id
@Id
@Column
(
name
=
"DCHA_ID"
)
@Column
(
name
=
"DCHA_ID"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_DEPLOYMENT_CHANNEL_GENERATOR"
)
@SequenceGenerator
(
name
=
"AVB_DEPLOYMENT_CHANNEL_GENERATOR"
,
sequenceName
=
"AVB_DEPLOYMENT_CHANNEL_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
@TableGenerator
(
name
=
"AVB_DEPLOYMENT_CHANNEL_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
valueColumnName
=
"SEQ_COUNT"
,
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_DEPLOYMENT_CHANNEL_GENERATOR"
)
pkColumnValue
=
"AVB_DEPLOYMENT_CHANNEL_SEQ"
,
allocationSize
=
1
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"DCHA_NAME"
)
@Column
(
name
=
"DCHA_NAME"
)
...
...
src/main/java/com/bytesw/bytebot/model/DeploymentChannelParamValue.java
View file @
5cd90dcd
...
@@ -28,9 +28,8 @@ public class DeploymentChannelParamValue {
...
@@ -28,9 +28,8 @@ public class DeploymentChannelParamValue {
@Id
@Id
@Column
(
name
=
"CHPV_ID"
)
@Column
(
name
=
"CHPV_ID"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_DEPLOYMENT_CHANNEL_PARAM_VALUE_GENERATOR"
)
@SequenceGenerator
(
name
=
"AVB_DEPLOYMENT_CHANNEL_PARAM_VALUE_GENERATOR"
,
sequenceName
=
"AVB_DEPLOYMENT_CHANNEL_PARAM_VALUE_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
@TableGenerator
(
name
=
"AVB_DEPLOYMENT_CHANNEL_PARAM_VALUE_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
valueColumnName
=
"SEQ_COUNT"
,
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_DEPLOYMENT_CHANNEL_PARAM_VALUE_GENERATOR"
)
pkColumnValue
=
"AVB_DEPLOYMENT_CHANNEL_PARAM_VALUE_SEQ"
,
allocationSize
=
1
)
private
Long
id
;
private
Long
id
;
@ManyToOne
@ManyToOne
...
...
src/main/java/com/bytesw/bytebot/model/FrequentQuestion.java
View file @
5cd90dcd
...
@@ -33,9 +33,8 @@ import java.time.OffsetDateTime;
...
@@ -33,9 +33,8 @@ import java.time.OffsetDateTime;
public
class
FrequentQuestion
{
public
class
FrequentQuestion
{
@Id
@Id
@Column
(
name
=
"FQUE_ID"
)
@Column
(
name
=
"FQUE_ID"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_FREQUENT_QUESTION_GENERATOR"
)
@SequenceGenerator
(
name
=
"AVB_FREQUENT_QUESTION_GENERATOR"
,
sequenceName
=
"AVB_FREQUENT_QUESTION_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
@TableGenerator
(
name
=
"AVB_FREQUENT_QUESTION_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
valueColumnName
=
"SEQ_COUNT"
,
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_FREQUENT_QUESTION_GENERATOR"
)
pkColumnValue
=
"AVB_FREQUENT_QUESTION_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"FQUE_UUID"
)
@Column
(
name
=
"FQUE_UUID"
)
...
...
src/main/java/com/bytesw/bytebot/model/QuestionFile.java
View file @
5cd90dcd
...
@@ -6,17 +6,8 @@
...
@@ -6,17 +6,8 @@
package
com
.
bytesw
.
bytebot
.
model
;
package
com
.
bytesw
.
bytebot
.
model
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
javax.persistence.Basic
;
import
javax.persistence.*
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.FetchType
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Lob
;
import
javax.persistence.NamedQuery
;
import
javax.persistence.Table
;
import
javax.persistence.TableGenerator
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
import
lombok.Getter
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
...
@@ -35,10 +26,9 @@ import org.hibernate.annotations.Type;
...
@@ -35,10 +26,9 @@ import org.hibernate.annotations.Type;
public
class
QuestionFile
{
public
class
QuestionFile
{
@Id
@Id
@Column
(
name
=
"QUFI_ID"
)
@Column
(
name
=
"QUFI_ID"
)
@TableGenerator
(
name
=
"AVB_QUESTION_FILE_GENERATOR"
,
table
=
"SEQUENCE_TABLE"
,
pkColumnName
=
"SEQ_NAME"
,
@SequenceGenerator
(
name
=
"AVB_QUESTION_FILE_GENERATOR"
,
sequenceName
=
"AVB_QUESTION_FILE_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
valueColumnName
=
"SEQ_COUNT"
,
pkColumnValue
=
"AVB_QUESTION_FILE_SEQ"
,
allocationSize
=
1
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_QUESTION_FILE_GENERATOR"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"AVB_QUESTION_FILE_GENERATOR"
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"QUFI_UUID"
,
nullable
=
false
)
@Column
(
name
=
"QUFI_UUID"
,
nullable
=
false
)
...
...
src/main/java/com/bytesw/bytebot/model/Timezone.java
View file @
5cd90dcd
...
@@ -25,9 +25,8 @@ public class Timezone {
...
@@ -25,9 +25,8 @@ public class Timezone {
@Id
@Id
@Column
(
name
=
"tzon_id"
)
@Column
(
name
=
"tzon_id"
)
@GeneratedValue
(
strategy
=
GenerationType
.
TABLE
,
generator
=
"avb_timezone_generator"
)
@SequenceGenerator
(
name
=
"avb_timezone_generator"
,
sequenceName
=
"AVB_TIMEZONE_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
@TableGenerator
(
name
=
"avb_timezone_generator"
,
table
=
"sequence_table"
,
pkColumnName
=
"seq_name"
,
valueColumnName
=
"seq_count"
,
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"avb_timezone_generator"
)
pkColumnValue
=
"avb_timezone_seq"
,
allocationSize
=
1
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"tzon_zone"
,
nullable
=
false
)
@Column
(
name
=
"tzon_zone"
,
nullable
=
false
)
...
...
src/main/java/com/bytesw/bytebot/model/WeekScheduler.java
View file @
5cd90dcd
...
@@ -26,8 +26,8 @@ public class WeekScheduler implements Serializable {
...
@@ -26,8 +26,8 @@ public class WeekScheduler implements Serializable {
@Id
@Id
@Column
(
name
=
"WESC_ID"
)
@Column
(
name
=
"WESC_ID"
)
//
@SequenceGenerator(name = "AVB_WEEK_SCHEDULER_GENERATOR", sequenceName = "AVB_WEEK_SCHEDULER_SEQ", initialValue = 1, allocationSize = 1)
@SequenceGenerator
(
name
=
"AVB_WEEK_SCHEDULER_GENERATOR"
,
sequenceName
=
"AVB_WEEK_SCHEDULER_SEQ"
,
initialValue
=
1
,
allocationSize
=
1
)
//
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AVB_WEEK_SCHEDULER_GENERATOR")
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"AVB_WEEK_SCHEDULER_GENERATOR"
)
private
BigInteger
id
;
private
BigInteger
id
;
@Version
@Version
...
...
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