14 lines
229 B
Go
14 lines
229 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type SMS struct {
|
|
ID int `storm:"id,increment"`
|
|
Body string
|
|
Seen bool `storm:"index"`
|
|
From string
|
|
Recipient string
|
|
SentAt time.Time
|
|
Metadata map[string]interface{}
|
|
}
|