package dto import "quyun/v2/database/models" // MeResponse returns the resolved tenant context for the current request. type MeResponse struct { // Tenant is the resolved tenant by `tenantCode`. Tenant *models.Tenant `json:"tenant,omitempty"` // User is the authenticated user derived from JWT `user_id`. User *models.User `json:"user,omitempty"` // TenantUser is the membership record of the authenticated user within the tenant. TenantUser *models.TenantUser `json:"tenant_user,omitempty"` }