ilk
This commit is contained in:
18
svc/models/user_list.go
Normal file
18
svc/models/user_list.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package models
|
||||
|
||||
// UserListRow — UserList.vue satır modeli (FINAL)
|
||||
type UserListRow struct {
|
||||
ID int64 `json:"id"`
|
||||
Code string `json:"code"`
|
||||
IsActive bool `json:"is_active"`
|
||||
|
||||
// Nebim eşleşmesi (ID yok)
|
||||
NebimUsername *string `json:"nebim_username,omitempty"`
|
||||
UserGroupCode *string `json:"user_group_code,omitempty"`
|
||||
|
||||
// UI’da gösterilecek toplu alanlar
|
||||
RoleNames string `json:"role_names"` // "ADMIN, USER"
|
||||
DepartmentNames string `json:"department_names"` // "UST YONETIM, ..."
|
||||
PiyasaNames string `json:"piyasa_names"` // "AVRUPA, LALELI"
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user