refac: mappers, file names

This commit is contained in:
Floriansylvain
2025-12-22 00:06:17 +01:00
parent e0a6706d4e
commit b50efae8a8
24 changed files with 171 additions and 190 deletions
@@ -0,0 +1,16 @@
package models
import (
"time"
"gorm.io/gorm"
)
type Image struct {
gorm.Model
ID uint32 `gorm:"primary_key;auto_increment;not_null"`
Path string
ArticleID uint32
CreatedAt time.Time `gorm:"autoCreateTime"`
UpdatedAt time.Time `gorm:"autoUpdateTime"`
}