You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
249 B

package model
import "gorm.io/gorm"
type VecDoc struct {
gorm.Model
Content string `json:"content"`
FilePath string `json:"file_path" gorm:"not null"`
ListID int `json:"list_id"`
}
func (VecDoc) TableName() string {
return "vec_doc"
}