Remove company_id field from user-related forms and documentation
- Deleted the company_id field from CreateUserForm, User entity, and related API documentation in Swagger and YAML files to streamline user creation process. - Updated the CreateUser service method to reflect the removal of company_id, ensuring consistency across the user management functionality.
This commit is contained in:
@@ -34,7 +34,6 @@ type User struct {
|
||||
Password string `bson:"password" json:"-"` // Never serialize password
|
||||
Role UserRole `bson:"role" json:"role"`
|
||||
Status UserStatus `bson:"status" json:"status"`
|
||||
CompanyID *string `bson:"company_id,omitempty" json:"company_id,omitempty"`
|
||||
Department *string `bson:"department,omitempty" json:"department,omitempty"`
|
||||
Position *string `bson:"position,omitempty" json:"position,omitempty"`
|
||||
Phone *string `bson:"phone,omitempty" json:"phone,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user