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.

28 lines
1.7 KiB
Go

2 years ago
package model
import "gorm.io/gorm"
type ArtworkPrice struct {
gorm.Model
2 years ago
ArtworkPriceUID string `json:"artwork_price_uid" gorm:"artwork_price_uid"`
ShowUID string `json:"show_uid" gorm:"show_uid"` // 画展ID
ArtworkUID string `json:"artwork_uid" gorm:"artwork_uid"` // 画作ID
2 years ago
Tfnum string `json:"tfnum" gorm:"tfnum"` // 画作编号
2 years ago
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"` // 平尺价
Length int32 `json:"length" gorm:"length"` // 画作长度
Width int32 `json:"width" gorm:"width"` // 画作宽度
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"` // 浮动价格
2 years ago
Reward string `json:"reward" gorm:"reward"` // 润格
2 years ago
SaleAddress string `json:"sale_address" gorm:"sale_address"` // 销售地址
2 years ago
}