package model import "time" type ReminderDeadLetter struct { ID uint `json:"id" gorm:"primaryKey"` ReminderID uint `json:"reminder_id" gorm:"not null;uniqueIndex"` UserID uint `json:"user_id" gorm:"not null;index"` AssetID uint `json:"asset_id" gorm:"not null;index"` RemindAt time.Time `json:"remind_at" gorm:"not null;index"` Channel string `json:"channel" gorm:"size:32;not null"` Status string `json:"status" gorm:"size:16;not null"` RetryCount int `json:"retry_count" gorm:"not null"` LastError string `json:"last_error" gorm:"size:500"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }