replace id type
This commit is contained in:
@@ -15,10 +15,10 @@ type (
|
||||
)
|
||||
|
||||
type APIUser struct {
|
||||
UserName string `json:"user_name" gorm:"unique;index"`
|
||||
Password string `json:"password,omitempty"`
|
||||
FirstName string `json:"first_name"`
|
||||
LastName string `json:"last_name"`
|
||||
Role string `json:"role" gorm:"default:employee"`
|
||||
PositionID uint `json:"position_id,omitempty"`
|
||||
UserName string `json:"user_name" gorm:"unique;index"`
|
||||
Password string `json:"password,omitempty"`
|
||||
FirstName string `json:"first_name"`
|
||||
LastName string `json:"last_name"`
|
||||
Role string `json:"role" gorm:"default:employee"`
|
||||
PositionID uuid.UUID `json:"position_id,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user