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
e2a23556
Commit
e2a23556
authored
Dec 19, 2019
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码重构】重新设计编写执行记录表
parent
81d60633
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
0 deletions
+80
-0
MythJobFlowRunRecording.java
...src/main/java/com/byit/model/MythJobFlowRunRecording.java
+80
-0
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/model/MythJobFlowRunRecording.java
0 → 100644
View file @
e2a23556
package
com
.
byit
.
model
;
import
lombok.*
;
import
javax.persistence.*
;
/**
* @program: byit-myth-job->MythJobFlowRunRecording
* @description: 任务流的执行记录表
* @author: huangfu
* @date: 2019/12/19 20:08
**/
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@Builder
@Entity
@Table
(
name
=
"job_flow_run_recording"
)
@org
.
hibernate
.
annotations
.
Table
(
appliesTo
=
"job_flow_run_recording"
,
comment
=
"任务流的执行记录表"
)
public
class
MythJobFlowRunRecording
{
/**
* 当前版本工作流主键
*/
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
nullable
=
false
,
columnDefinition
=
"int(13) COMMENT '记录主键'"
)
private
Integer
recordingId
;
/**
* 工作流的名字
*/
@Column
(
nullable
=
false
,
columnDefinition
=
"varchar(255) COMMENT '工作流的名字'"
)
private
String
flowName
;
/**
* 节点数量
*/
@Column
(
nullable
=
false
,
columnDefinition
=
"int(13) COMMENT '节点数量'"
)
private
Integer
nodeCount
;
/**
* 工作流的版本id
*/
@Column
(
nullable
=
false
,
columnDefinition
=
"int(13) COMMENT '工作流的版本id'"
)
private
Integer
flowVersionId
;
/**
* 工作流的超时时间
*/
@Column
(
nullable
=
false
,
columnDefinition
=
"bigint(20) COMMENT '工作流的超时时间'"
)
private
Long
flowTimeout
;
/**
* 初始值为节点总数,每次一个节点运行成功就将总数-1
*/
@Column
(
nullable
=
false
,
columnDefinition
=
"int(13) COMMENT '初始值为节点总数,每次一个节点运行完就将总数-1'"
)
private
Integer
remainingNode
;
/**
* 1 未开始 2运行 3暂停 4结束
*/
@Column
(
nullable
=
false
,
columnDefinition
=
"char(1) COMMENT '1 未开始 2运行 3暂停 4结束'"
)
private
String
flowStatus
;
/**
* 本次任务的执行时间
*/
@Column
(
nullable
=
false
,
columnDefinition
=
"bigint(20) COMMENT '本次任务的执行时间'"
)
private
Long
triggerTime
;
/**
* 执行结果
*/
@Column
(
columnDefinition
=
"char(1) COMMENT '执行结果'"
)
private
String
flowRunResult
;
/**
* 被哪一个调度器加载的
*/
@Column
(
columnDefinition
=
"varchar(36) COMMENT '被哪一个调度器加载的'"
)
private
String
dispatch_ip
;
/**
* 运行标识
*/
@Column
(
columnDefinition
=
"varchar(36) COMMENT '运行标识'"
)
private
String
RunId
;
}
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