feat 添加updateAt
This commit is contained in:
parent
a9a90ab1b4
commit
1ab4ecc594
@ -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
|
||||||
// 货号
|
// 货号
|
||||||
|
@ -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
|
||||||
// 货号
|
// 货号
|
||||||
|
Loading…
Reference in New Issue
Block a user