You can not 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
28 lines
1.7 KiB
package models
|
|
|
|
//const AuctionRuleTableName = TableNamePrefix + "auction_rule"
|
|
//
|
|
////竞拍规则
|
|
//type AuctionRule struct {
|
|
// Id int64 `json:"id"`
|
|
// AuctionActivityId int64 `json:"auction_activity_id" description:"竞拍轮次的id, 对应auction_activity表的主键id"`
|
|
// AuctionTime int64 `json:"auction_time" description:"竞拍持续时间 秒为单位"`
|
|
// AuctionStatus string `json:"auction_status" description:"竞拍活动状态 [可竞拍,不可竞拍]"`
|
|
// AreaId int64 `json:"area_id" description:"地区id"`
|
|
// AreaStatus string `json:"area_status" description:"多地区模式[开启,关闭]"`
|
|
// AuctionGoodsName string `json:"auction_goods_name" description:"竞拍物品名称"`
|
|
// AuctionGoodsDesc string `json:"auction_goods_desc" description:"竞拍物品描述"`
|
|
// StartPrice float64 `json:"start_price" description:"起始价格"`
|
|
// Model string `json:"model" description:"[加价竞拍,减价竞拍]"`
|
|
// Pic string `json:"pic" description:"竞拍图片"`
|
|
// BaseInterval float64 `json:"base_interval" description:"基础区间"`
|
|
// Threshold float64 `json:"threshold" description:"活动结束阀值"`
|
|
// UseTimes int64 `json:"use_times" description:"使用次数"`
|
|
// IsDelete bool `json:"is_delete" xorm:"is_delete" description:"是否删除"`
|
|
// CreatedAt time.Time `json:"-" xorm:"created" description:"创建时间"`
|
|
// UpdatedAt time.Time `json:"-" xorm:"updated" description:"更新时间"`
|
|
//}
|
|
//
|
|
//func (t *AuctionRule) TableName() string {
|
|
// return AuctionRuleTableName
|
|
//}
|