2026-06-10 14:23:55 +08:00
|
|
|
|
package entity
|
|
|
|
|
|
|
2026-06-11 09:16:53 +08:00
|
|
|
|
import "gitea.redpowerfuture.com/red-future/common/beans"
|
2026-06-10 14:23:55 +08:00
|
|
|
|
|
|
|
|
|
|
type ActivePull struct {
|
|
|
|
|
|
beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt
|
|
|
|
|
|
|
|
|
|
|
|
Type string `orm:"type" json:"type"`
|
|
|
|
|
|
RequestParament map[string]any `orm:"request_parament" json:"requestParament"`
|
|
|
|
|
|
ResponseParament map[string]any `orm:"response_parament" json:"responseParament"`
|
|
|
|
|
|
Extension map[string]any `orm:"extension" json:"extension"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type activePullCol struct {
|
|
|
|
|
|
beans.SQLBaseCol
|
|
|
|
|
|
Type string
|
|
|
|
|
|
RequestParament string
|
|
|
|
|
|
ResponseParament string
|
|
|
|
|
|
Extension string
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var ActivePullCol = activePullCol{
|
|
|
|
|
|
SQLBaseCol: beans.DefSQLBaseCol,
|
|
|
|
|
|
Type: "type",
|
|
|
|
|
|
RequestParament: "request_parament",
|
|
|
|
|
|
ResponseParament: "response_parament",
|
|
|
|
|
|
Extension: "extension",
|
|
|
|
|
|
}
|