|
@@ -74,6 +74,7 @@ type KnowledgeResource struct {
|
|
|
IsFile int `gorm:"column:is_file;default:0;NOT NULL"`
|
|
|
FileUrl string `gorm:"column:file_url"`
|
|
|
IsDelete int `gorm:"column:is_delete;default:0;NOT NULL"`
|
|
|
+ OutSource int `gorm:"column:out_source" description:"外部来源:0:内部 1:智力共享 2:数据节点"`
|
|
|
}
|
|
|
|
|
|
func (m *KnowledgeResource) TableName() string {
|
|
@@ -101,6 +102,7 @@ type KnowledgeResourceList struct {
|
|
|
StartTime string `gorm:"column:start_time"`
|
|
|
EndTime string `gorm:"column:end_time"`
|
|
|
Content string `gorm:"-"`
|
|
|
+ OutSource int `gorm:"column:out_source" description:"外部来源:0:内部 1:智力共享 2:数据节点"`
|
|
|
ClassifyFullName string
|
|
|
TagName string
|
|
|
}
|