18 lines
838 B
Go
18 lines
838 B
Go
package entity
|
|
|
|
import "time"
|
|
|
|
// SendBlockLog 发送拦截日志(Day 42 拦截器链:命中原因落库,供运营复盘/客诉追溯)。
|
|
type SendBlockLog struct {
|
|
ID int64 `gorm:"primaryKey;autoIncrement" json:"id"`
|
|
TaskNo string `gorm:"size:64;index:idx_sbl_task" json:"task_no"`
|
|
AccountID int64 `gorm:"index:idx_sbl_account" json:"account_id"`
|
|
Mobile string `gorm:"size:20;index:idx_sbl_mobile" json:"mobile"`
|
|
Interceptor string `gorm:"size:16" json:"interceptor"` // blacklist/frequency/sign/unsubscribe/region
|
|
Code string `gorm:"size:8" json:"code"` // ISC 码
|
|
Msg string `gorm:"size:255" json:"msg"`
|
|
CreatedAt time.Time `gorm:"autoCreateTime;index:idx_sbl_created" json:"created_at"`
|
|
}
|
|
|
|
func (SendBlockLog) TableName() string { return "send_block_log" }
|