add custom tool

This commit is contained in:
Henry
2023-06-21 18:31:53 +01:00
parent 8c880199cd
commit 70da39629c
28 changed files with 1346 additions and 43 deletions
+30
View File
@@ -0,0 +1,30 @@
/* eslint-disable */
import { Entity, Column, CreateDateColumn, UpdateDateColumn, PrimaryGeneratedColumn } from 'typeorm'
import { ITool } from '../Interface'
@Entity()
export class Tool implements ITool {
@PrimaryGeneratedColumn('uuid')
id: string
@Column()
name: string
@Column()
description: string
@Column()
color: string
@Column({ nullable: true })
schema: string
@Column({ nullable: true })
func: string
@CreateDateColumn()
createdDate: Date
@UpdateDateColumn()
updatedDate: Date
}