Added ScheduledMessage (#3)

Reviewed-on: phoenix/textsender-models#3
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-11-09 04:35:01 +00:00
committed by phoenix
parent 2bb52371c8
commit 6111912b49
3 changed files with 26 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
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"`
}
+9
View File
@@ -0,0 +1,9 @@
package scheduling
const (
Ready = "READY"
Pending = "PENDING"
Processing = "PROCESSING"
Done = "DONE"
)