update
This commit is contained in:
17
internal/model/runway_image.go
Normal file
17
internal/model/runway_image.go
Normal file
@ -0,0 +1,17 @@
|
||||
package model
|
||||
|
||||
// BrandRunwayImage 走秀图片。
|
||||
type BrandRunwayImage struct {
|
||||
ID uint32 `gorm:"primaryKey;column:id" json:"id"`
|
||||
CreatedAt uint32 `gorm:"column:created_at" json:"created_at"`
|
||||
UpdatedAt uint32 `gorm:"column:updated_at" json:"updated_at"`
|
||||
IsDeleted uint8 `gorm:"column:is_deleted" json:"is_deleted"`
|
||||
Image string `gorm:"column:image" json:"image"`
|
||||
RunwayID uint32 `gorm:"column:runway_id" json:"runway_id"`
|
||||
BrandID uint32 `gorm:"column:brand_id" json:"brand_id"`
|
||||
Name string `gorm:"column:name" json:"name"`
|
||||
SortOrder uint32 `gorm:"column:sort_order" json:"sort_order"` // 拖拽排序用,由迁移脚本新增
|
||||
}
|
||||
|
||||
// TableName 指定表名。
|
||||
func (BrandRunwayImage) TableName() string { return "brand_runway_images" }
|
||||
Reference in New Issue
Block a user