package model type File struct { Id int `json:"id" gorm:"primary_key"` FileName string `json:"file_name" gorm:"column:fileName;"` LocalPath string `json:"local_path" gorm:"column:localPath;"` CosPath string `json:"cos_path" gorm:"column:cosPath;"` Type int `json:"type" gorm:"column:type;"` Dir string `json:"dir" gorm:"column:dir;"` CreatedAt XTime `json:"createdAt" gorm:"column:createdAt; "` UpdatedAt XTime `json:"updatedAt" gorm:"column:updatedAt; "` } type AdsDataSummary struct { Id int `json:"id" gorm:"primary_key"` Gid string `json:"gid" gorm:"column:gid;"` Pf string `json:"pf" gorm:"column:pf;"` Date string `json:"date" gorm:"column:date;"` Count int `json:"count" gorm:"column:count;"` }