Smail/backend/models/outbound_delivery.go
smail bf1e69f480
Some checks are pending
Security Checks / security (push) Waiting to run
修复生产审查凭据泄露风险并增加持久投递队列
2026-09-17 10:17:09 +08:00

14 lines
427 B
Go

package models
type OutboundDelivery struct {
ID int64 `xorm:"id pk autoincr"`
EmailID int `xorm:"email_id notnull index"`
Recipient string `xorm:"varchar(320) notnull"`
State string `xorm:"varchar(24) notnull"`
Attempts int `xorm:"notnull"`
NextAttempt int64 `xorm:"notnull"`
LastError string `xorm:"text"`
}
func (OutboundDelivery) TableName() string { return "outbound_delivery" }