chore: 模版创建流水线

This commit is contained in:
xiaojunnuo
2025-06-25 18:18:57 +08:00
parent 9296ba7492
commit 29906ec057
11 changed files with 127 additions and 38 deletions
@@ -37,9 +37,12 @@ export class PipelineEntity {
@Column({ comment: '来源', nullable: true, default: '' })
from: string;
@Column({ name:"template_id", comment: '是否模版', nullable: true, default: '' })
@Column({ name:"template_id", comment: '关联模版id', nullable: true, default: 0 })
templateId: number;
@Column({ name:"is_template", comment: '是否模版', nullable: true, default: false })
isTemplate: boolean;
@Column({
name: 'last_history_time',
comment: '最后一次执行时间',
@@ -23,6 +23,8 @@ export class TemplateEntity {
@Column({ name: 'title', comment: '标题' })
title: string;
@Column({ name: 'desc', comment: '说明' })
desc: string;
@Column({ comment: '配置', length: 40960 })
content: string;