17 lines
493 B
Go
17 lines
493 B
Go
package storage
|
|
|
|
import "time"
|
|
|
|
// User represents a user with identity mappings
|
|
type User struct {
|
|
ID int64 `json:"id"`
|
|
GiteaUsername string `json:"gitea_username"`
|
|
GiteaID int64 `json:"gitea_id"`
|
|
Email string `json:"email"`
|
|
FullName string `json:"full_name"`
|
|
SlackID string `json:"slack_id"`
|
|
SlackName string `json:"slack_name"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|