package dao import "lone-services/pkg/utils" type UserGraph struct { Id int64 `gorm:"column:id;primaryKey" json:"id"` Type int `gorm:"column:type" json:"type"` Name string `gorm:"column:name" json:"name"` Title string `gorm:"column:title" json:"title"` Images string `gorm:"column:images" json:"images"` Status int8 `gorm:"column:status" json:"status"` CreateAt utils.CustomTime `gorm:"column:created_at" json:"created_at"` UpdateAt utils.CustomTime `gorm:"column:updated_at" json:"updated_at"` } type UserGraphType struct { Id int64 `gorm:"column:id;primaryKey" json:"id"` Name string `gorm:"column:name" json:"name"` } type GraphTitleItem struct { Name string `json:"name"` Content string `json:"content"` } type GraphImageItem struct { Url string `json:"url"` Text string `json:"text"` } type GraphResource struct { Id int64 `json:"id"` Type int `json:"type"` Name string `json:"name"` Title []GraphTitleItem `json:"title"` Images []GraphImageItem `json:"images"` TypeName string `json:"type_name"` CreateAt utils.CustomTime `json:"created_at"` }