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"

}
