You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.2 KiB
Go

package model
import "gorm.io/gorm"
type ArtworkPrice struct {
gorm.Model
ShowID uint `json:"show_id" gorm:"show_id"` // 画展ID
ArtworkID int64 `json:"artwork_id" gorm:"artwork_id"` // 画作ID
ArtworkName string `json:"artwork_name" gorm:"artwork_name"` // 画作名称
ArtistName string `json:"artist_name" gorm:"artist_name"` // 画家名称
SmallPic string `json:"small_pic" gorm:"small_pic"` // 画作小图
Price int64 `json:"price" gorm:"price"` // 总价
RulerPrice int64 `json:"ruler_price" gorm:"ruler_price"` // 平尺价
Ruler int32 `json:"ruler" gorm:"ruler"` // 画作平尺
ArtworkPrice int64 `json:"artwork_price" gorm:"artwork_price"` // 画作价格
MarketPrice int64 `json:"market_price" gorm:"market_price"` // 市场价
CopyrightPrice int64 `json:"copyright_price" gorm:"copyright_price"` // 版权价格
ArtistPrice int64 `json:"artist_price" gorm:"artist_price"` // 画家价格 (润格 * 平尺)
FloatPrice int64 `json:"float_price" gorm:"float_price"` // 浮动价格
}