12345678910111213141516171819202122232425262728 |
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- package model
- import (
- "time"
- )
- const TableNameAdLog = "ad_log"
- // AdLog mapped from table <ad_log>
- type AdLog struct {
- ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
- AdID int64 `gorm:"column:ad_id" json:"ad_id"`
- PlayerID int64 `gorm:"column:player_id" json:"player_id"`
- Status int64 `gorm:"column:status" json:"status"`
- Channel string `gorm:"column:channel;comment:wx;dy" json:"channel"` // wx;dy
- IsNew int64 `gorm:"column:is_new;not null;comment:0:否 1:是" json:"is_new"` // 0:否 1:是
- EventTime time.Time `gorm:"column:event_time" json:"event_time"`
- EventDay time.Time `gorm:"column:event_day" json:"event_day"`
- }
- // TableName AdLog's table name
- func (*AdLog) TableName() string {
- return TableNameAdLog
- }
|