Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
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
liyuan
byit-myth-job
Commits
574de89e
Commit
574de89e
authored
Dec 20, 2019
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【实现序列化接口】使PO类实现序列化接口
parent
c83866d3
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
25 additions
and
10 deletions
+25
-10
MythJobFlowCurrent.java
...core/src/main/java/com/byit/model/MythJobFlowCurrent.java
+2
-1
MythJobFlowDependent.java
...re/src/main/java/com/byit/model/MythJobFlowDependent.java
+9
-2
MythJobFlowNodeCurrent.java
.../src/main/java/com/byit/model/MythJobFlowNodeCurrent.java
+2
-1
MythJobFlowNodeVersion.java
.../src/main/java/com/byit/model/MythJobFlowNodeVersion.java
+2
-1
MythJobFlowRunRecording.java
...src/main/java/com/byit/model/MythJobFlowRunRecording.java
+2
-1
MythJobFlowVersion.java
...core/src/main/java/com/byit/model/MythJobFlowVersion.java
+2
-1
MythJobTask.java
...-admin-core/src/main/java/com/byit/model/MythJobTask.java
+2
-1
MythJobTaskRunLog.java
...-core/src/main/java/com/byit/model/MythJobTaskRunLog.java
+2
-1
MythJobTaskSchedule.java
...ore/src/main/java/com/byit/model/MythJobTaskSchedule.java
+2
-1
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/MythJobFlowCurrent.java
View file @
574de89e
...
...
@@ -4,6 +4,7 @@ import lombok.*;
import
org.hibernate.annotations.DynamicInsert
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.util.concurrent.TimeUnit
;
/**
...
...
@@ -20,7 +21,7 @@ import java.util.concurrent.TimeUnit;
@Entity
@Table
(
name
=
"job_flow_current"
)
@org
.
hibernate
.
annotations
.
Table
(
appliesTo
=
"job_flow_current"
,
comment
=
"任务流的当前版本的表,现实表"
)
public
class
MythJobFlowCurrent
{
public
class
MythJobFlowCurrent
implements
Serializable
{
/**
* 当前版本工作流主键
*/
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/MythJobFlowDependent.java
View file @
574de89e
...
...
@@ -2,8 +2,15 @@ package com.byit.model;
import
lombok.*
;
import
javax.persistence.*
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
java.io.Serializable
;
/**
* @author huangfu
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
...
...
@@ -12,7 +19,7 @@ import javax.persistence.*;
@Entity
@Table
(
name
=
"job_flow_dependent"
)
@org
.
hibernate
.
annotations
.
Table
(
appliesTo
=
"job_flow_dependent"
,
comment
=
"任务流的关联表,现实表"
)
public
class
MythJobFlowDependent
{
public
class
MythJobFlowDependent
implements
Serializable
{
@Id
@Column
(
nullable
=
false
,
columnDefinition
=
"int(13) COMMENT '工作流Id'"
)
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/MythJobFlowNodeCurrent.java
View file @
574de89e
...
...
@@ -3,6 +3,7 @@ package com.byit.model;
import
lombok.*
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
...
...
@@ -19,7 +20,7 @@ import java.util.Date;
@Entity
@Table
(
name
=
"job_flow_node_current"
)
@org
.
hibernate
.
annotations
.
Table
(
appliesTo
=
"job_flow_node_current"
,
comment
=
"这是任务流当前版本的节点表"
)
public
class
MythJobFlowNodeCurrent
{
public
class
MythJobFlowNodeCurrent
implements
Serializable
{
/**
* 当前版本节点主键
*/
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/MythJobFlowNodeVersion.java
View file @
574de89e
...
...
@@ -3,6 +3,7 @@ package com.byit.model;
import
lombok.*
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
...
...
@@ -19,7 +20,7 @@ import java.util.Date;
@Entity
@Table
(
name
=
"job_flow_node_version"
)
@org
.
hibernate
.
annotations
.
Table
(
appliesTo
=
"job_flow_node_version"
,
comment
=
"节点的版本表"
)
public
class
MythJobFlowNodeVersion
{
public
class
MythJobFlowNodeVersion
implements
Serializable
{
/**
* 当前版本节点主键
*/
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/MythJobFlowRunRecording.java
View file @
574de89e
...
...
@@ -3,6 +3,7 @@ package com.byit.model;
import
lombok.*
;
import
javax.persistence.*
;
import
java.io.Serializable
;
/**
* @program: byit-myth-job->MythJobFlowRunRecording
...
...
@@ -18,7 +19,7 @@ import javax.persistence.*;
@Entity
@Table
(
name
=
"job_flow_run_recording"
)
@org
.
hibernate
.
annotations
.
Table
(
appliesTo
=
"job_flow_run_recording"
,
comment
=
"任务流的执行记录表"
)
public
class
MythJobFlowRunRecording
{
public
class
MythJobFlowRunRecording
implements
Serializable
{
/**
* 当前版本工作流主键
*/
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/MythJobFlowVersion.java
View file @
574de89e
...
...
@@ -3,6 +3,7 @@ package com.byit.model;
import
lombok.*
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
...
...
@@ -19,7 +20,7 @@ import java.util.Date;
@Entity
@Table
(
name
=
"job_flow_version"
)
@org
.
hibernate
.
annotations
.
Table
(
appliesTo
=
"job_flow_version"
,
comment
=
"这个实体是任务流的版本表"
)
public
class
MythJobFlowVersion
{
public
class
MythJobFlowVersion
implements
Serializable
{
/**
* 版本工作流主键
*/
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/MythJobTask.java
View file @
574de89e
...
...
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
import
lombok.*
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
...
...
@@ -20,7 +21,7 @@ import java.util.Date;
@Entity
@Table
(
name
=
"job_task"
)
@org
.
hibernate
.
annotations
.
Table
(
appliesTo
=
"job_task"
,
comment
=
"任务表,即将执行的任务全在这个表;工作任务"
)
public
class
MythJobTask
{
public
class
MythJobTask
implements
Serializable
{
/**
* 当前版本节点主键
*/
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/MythJobTaskRunLog.java
View file @
574de89e
...
...
@@ -3,6 +3,7 @@ package com.byit.model;
import
lombok.*
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
...
...
@@ -19,7 +20,7 @@ import java.util.Date;
@Entity
@Table
(
name
=
"job_task_run_log"
)
@org
.
hibernate
.
annotations
.
Table
(
appliesTo
=
"job_task_run_log"
,
comment
=
"节点执行日志"
)
public
class
MythJobTaskRunLog
{
public
class
MythJobTaskRunLog
implements
Serializable
{
/**
* 日志ID
*/
...
...
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/MythJobTaskSchedule.java
View file @
574de89e
...
...
@@ -3,6 +3,7 @@ package com.byit.model;
import
lombok.*
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
...
...
@@ -19,7 +20,7 @@ import java.util.Date;
@Entity
@Table
(
name
=
"job_task_schedule"
)
@org
.
hibernate
.
annotations
.
Table
(
appliesTo
=
"job_task_schedule"
,
comment
=
"工作任务排期表,存储七秒内即将执行的任务节点,这个表也是对接工作流的"
)
public
class
MythJobTaskSchedule
{
public
class
MythJobTaskSchedule
implements
Serializable
{
/**
* 当前版本节点主键
*/
...
...
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