feat 添加updateAt

This commit is contained in:
timerzz 2024-09-03 17:38:45 +08:00
parent a9a90ab1b4
commit 1ab4ecc594
2 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,7 @@ type ProviderArticle struct {
ID uint `gorm:"primary_key" json:"-"` ID uint `gorm:"primary_key" json:"-"`
CreatedAt time.Time `json:"createdAt"` CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
// 对应的商品ID // 对应的商品ID
ArticleID uint ArticleID uint
// 货号 // 货号

View File

@ -49,6 +49,7 @@ type SellerOption struct {
type SellerArticle struct { type SellerArticle struct {
ID uint `gorm:"primary_key" json:"-"` ID uint `gorm:"primary_key" json:"-"`
CreatedAt time.Time `json:"createdAt"` CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
// 商品的ID // 商品的ID
ArticleID uint ArticleID uint
// 货号 // 货号