fake-sms/internal/model/sms.go

13 lines
211 B
Go
Raw 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"`
Recipient string
SentAt time.Time
Metadata map[string]interface{}
}