sdk_generate/internal/data/model/ai_generate_doc.gen.go

30 lines
1.1 KiB
Go

// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package model
import (
"time"
)
const TableNameAiGenerateDoc = "ai_generate_doc"
// AiGenerateDoc mapped from table <ai_generate_doc>
type AiGenerateDoc struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
InstanceID string `gorm:"column:instance_id;not null" json:"instance_id"`
Interface string `gorm:"column:interface" json:"interface"`
RefinedDoc string `gorm:"column:refined_doc" json:"refined_doc"`
Desc string `gorm:"column:desc;not null" json:"desc"`
CreatedAt time.Time `gorm:"column:created_at;default:CURRENT_TIMESTAMP" json:"created_at"`
UpdatedAt *time.Time `gorm:"column:updated_at;default:CURRENT_TIMESTAMP" json:"updated_at"`
Status int32 `gorm:"column:status;not null;default:1" json:"status"`
DeletedAt *time.Time `gorm:"column:deleted_at" json:"deleted_at"`
}
// TableName AiGenerateDoc's table name
func (*AiGenerateDoc) TableName() string {
return TableNameAiGenerateDoc
}