package model // AccountRoleResponse 账号-角色关联响应 type AccountRoleResponse struct { ID uint `json:"id" description:"关联ID"` AccountID uint `json:"account_id" description:"账号ID"` RoleID uint `json:"role_id" description:"角色ID"` Status int `json:"status" description:"状态 (0:禁用, 1:启用)"` CreatedAt string `json:"created_at" description:"创建时间"` } // AccountRolesResponse 账号的角色列表响应 type AccountRolesResponse struct { AccountID uint `json:"account_id" description:"账号ID"` Roles []*RoleResponse `json:"roles" description:"角色列表"` }