refactor(video): prefix core files with video_

This commit is contained in:
Leon
2025-12-09 13:29:00 +08:00
parent 6a3480698a
commit 172fd0a35d
5 changed files with 3 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
package video
import "time"
type Video struct {
ID uint `gorm:"primaryKey"`
AuthorID uint `gorm:"index;not null"`
Title string `gorm:"type:varchar(255);not null"`
Description string `gorm:"type:varchar(255);"`
PlayURL string `gorm:"type:varchar(255);not null"`
CreateTime time.Time `gorm:"autoCreateTime"`
}