v1
This commit is contained in:
17
internal/erpserver/model/dto/authorize_user.go
Normal file
17
internal/erpserver/model/dto/authorize_user.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package dto
|
||||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type AuthorizeUser struct {
|
||||
ID int32 `json:"id"`
|
||||
Uuid uuid.UUID `json:"uuid"`
|
||||
Email string `json:"email"`
|
||||
Username string `json:"username"`
|
||||
RoleID int32 `json:"role_id"`
|
||||
RoleName string `json:"role_name"`
|
||||
OS string `json:"os"`
|
||||
IP string `json:"ip"`
|
||||
Browser string `json:"browser"`
|
||||
}
|
||||
Reference in New Issue
Block a user