14 lines
479 B
Go
14 lines
479 B
Go
package entity
|
|
|
|
import "github.com/gogf/gf/v2/os/gtime"
|
|
|
|
type KgEntity struct {
|
|
Id int64 `orm:"id" json:"id"`
|
|
DatasetId int64 `orm:"dataset_id" json:"dataset_id"`
|
|
Name string `orm:"name" json:"name"`
|
|
EntityType string `orm:"entity_type" json:"entity_type"`
|
|
ChunkId int64 `orm:"chunk_id" json:"chunk_id"`
|
|
CreatedAt *gtime.Time `orm:"created_at" json:"created_at"`
|
|
UpdatedAt *gtime.Time `orm:"updated_at" json:"updated_at"`
|
|
}
|