fake-sms/internal/model/sms.go

14 lines
229 B
Go
Raw Permalink Normal View History

2020-12-21 15:56:56 +01:00
package model
import "time"
type SMS struct {
ID int `storm:"id,increment"`
Body string
Seen bool `storm:"index"`
From string
2020-12-21 15:56:56 +01:00
Recipient string
SentAt time.Time
Metadata map[string]interface{}
}