package model import "time" type Workflow struct { ID uint `json:"id" gorm:"primaryKey"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` Name string `json:"name"` Namespace string `json:"namespace"` Replicas int32 `json:"replicas"` Deployment string `json:"deployment"` Service string `json:"service"` Ingress string `json:"ingress"` Type string `json:"type" gorm:"column:type"` } func (*Workflow) TableName() string { return "workflow" }