update authorized.go, database.go, middleware.go, project.go, response.go, role.go, service.go

This commit is contained in:
redtea committed 2024-10-20 12:00:00 +03:00
1 parent 53257427c9
commit b6133df436
7 files changed
+226

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
package esproject
type AuthorizedUser struct {
Id int64 `json:"id" gorm:"unique;primaryKey;autoIncrement"`
Username string `json:"username"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
PictureURL string `json:"picture_url"`
Email string `json:"email"`
Access string `json:"access"`
TelegramId string `json:"telegram_id"`
GoogleId string `json:"google_id"`
}