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.

platform_revenue_data.go 1.0 KiB

1234567891011121314
  1. package model
  2. type PlatformRevenueData struct {
  3. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  4. Kind int `json:"kind" xorm:"not null default 1 comment('种类(1:开屏广告 2:banner广告 3:信息流广告 4:插屏广告)') TINYINT(1)"`
  5. TotalAmount string `json:"total_amount" xorm:"not null comment('金额') DECIMAL(28,10)"`
  6. BalanceAmount string `json:"balance_amount" xorm:"not null comment('余额') DECIMAL(28,10)"`
  7. Hours int `json:"hours" xorm:"not null default 1 comment('时长(小时)') TINYINT(3)"`
  8. BalanceTimes int `json:"balance_times" xorm:"not null default 1 comment('剩余执行次数') TINYINT(3)"`
  9. Frequency int `json:"frequency" xorm:"not null default 1 comment('频率(分钟)') TINYINT(3)"`
  10. Memo string `json:"memo" xorm:"not null default '' comment('备注') VARCHAR(255)"`
  11. CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"`
  12. UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"`
  13. }