Closes #25 Reviewed-on: phoenix/textsender-models#32 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
16 lines
309 B
Go
16 lines
309 B
Go
package user
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type ServiceUser struct {
|
|
Id uuid.UUID `json:"id"`
|
|
// TODO: Remove the omitempty tags at a later point
|
|
Username string `json:"username,omitempty"`
|
|
Passphrase string `json:"passphrase,omitempty"`
|
|
Created time.Time `json:"created"`
|
|
}
|