互动
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

5 years ago
  1. package models
  2. //const AuctionRuleTableName = TableNamePrefix + "auction_rule"
  3. //
  4. ////竞拍规则
  5. //type AuctionRule struct {
  6. // Id int64 `json:"id"`
  7. // AuctionActivityId int64 `json:"auction_activity_id" description:"竞拍轮次的id, 对应auction_activity表的主键id"`
  8. // AuctionTime int64 `json:"auction_time" description:"竞拍持续时间 秒为单位"`
  9. // AuctionStatus string `json:"auction_status" description:"竞拍活动状态 [可竞拍,不可竞拍]"`
  10. // AreaId int64 `json:"area_id" description:"地区id"`
  11. // AreaStatus string `json:"area_status" description:"多地区模式[开启,关闭]"`
  12. // AuctionGoodsName string `json:"auction_goods_name" description:"竞拍物品名称"`
  13. // AuctionGoodsDesc string `json:"auction_goods_desc" description:"竞拍物品描述"`
  14. // StartPrice float64 `json:"start_price" description:"起始价格"`
  15. // Model string `json:"model" description:"[加价竞拍,减价竞拍]"`
  16. // Pic string `json:"pic" description:"竞拍图片"`
  17. // BaseInterval float64 `json:"base_interval" description:"基础区间"`
  18. // Threshold float64 `json:"threshold" description:"活动结束阀值"`
  19. // UseTimes int64 `json:"use_times" description:"使用次数"`
  20. // IsDelete bool `json:"is_delete" xorm:"is_delete" description:"是否删除"`
  21. // CreatedAt time.Time `json:"-" xorm:"created" description:"创建时间"`
  22. // UpdatedAt time.Time `json:"-" xorm:"updated" description:"更新时间"`
  23. //}
  24. //
  25. //func (t *AuctionRule) TableName() string {
  26. // return AuctionRuleTableName
  27. //}