Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
787a6e1d6d
|
||
|
|
c316c0d9b9
|
||
|
|
27b9f1df4d
|
||
|
|
f916a552f6
|
||
|
|
9f5c4ed095
|
||
|
|
56aeac9e21
|
@@ -5,7 +5,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Contact struct {
|
type Contact struct {
|
||||||
Id uuid.UUID `json:"id,omitempty"`
|
|
||||||
PhoneNumber string `json:"phone_number,omitempty"`
|
PhoneNumber string `json:"phone_number,omitempty"`
|
||||||
UserId uuid.UUID `json:"user_id,omitempty"`
|
UserId uuid.UUID `json:"user_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
package message
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/google/uuid"
|
|
||||||
)
|
|
||||||
|
|
||||||
type Message struct {
|
|
||||||
Id uuid.UUID `json:"id"`
|
|
||||||
Content string `json:"content"`
|
|
||||||
UserId uuid.UUID `json:"user_id"`
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
package scheduling
|
|
||||||
|
|
||||||
import (
|
|
||||||
"time"
|
|
||||||
|
|
||||||
"github.com/google/uuid"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
type ScheduledMessage struct {
|
|
||||||
Id uuid.UUID `json:"id"`
|
|
||||||
Scheduled time.Time `json:"scheduled"`
|
|
||||||
Created time.Time `json:"created"`
|
|
||||||
Status string `json:"status"`
|
|
||||||
UserId uuid.UUID `json:"user_id"`
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
package scheduling
|
|
||||||
|
|
||||||
|
|
||||||
const (
|
|
||||||
Ready = "READY"
|
|
||||||
Pending = "PENDING"
|
|
||||||
Processing = "PROCESSING"
|
|
||||||
Done = "DONE"
|
|
||||||
)
|
|
||||||
Reference in New Issue
Block a user