// MCP Service Pattern Example
// Exemplo fictício de Service MCP (autocontido para apresentação)
import { User } from './entity.js';
export class UserService {
async findById(id: string): Promise<User | null> {
// Simula busca de usuário
if (id === '1') return new User('1', 'Alice', 'alice@email.com', new Date(), new Date());
return null;
}
}