Build and Deploy / test-backend (push) Successful in 1m11s
Build and Deploy / lint-frontend (push) Successful in 21s
Build and Deploy / build-backend (push) Successful in 58s
Build and Deploy / deploy (push) Canceled after 0s
Build and Deploy / build-frontend (push) Canceled after 5m38s
18 lines
457 B
Go
18 lines
457 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type User struct {
|
|
Id uuid.UUID `json:"id" db:"id"`
|
|
KotosoftID string `json:"-" db:"kotosoft_id"`
|
|
Email string `json:"email" db:"email"`
|
|
FirstName string `json:"first_name" db:"first_name"`
|
|
SecondName string `json:"second_name" db:"second_name"`
|
|
UpdatedAt time.Time `json:"updated_at" db:"updated_at"`
|
|
CreatedAt time.Time `json:"created_at" db:"created_at"`
|
|
}
|