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"`
|
2020-12-22 15:00:42 +01:00
|
|
|
From string
|
2020-12-21 15:56:56 +01:00
|
|
|
Recipient string
|
|
|
|
SentAt time.Time
|
|
|
|
Metadata map[string]interface{}
|
|
|
|
}
|