import { PrismaClient } from '@prisma/client';
const prisma = new PrismaClient();
async function main() {
  try {
    const ch = await prisma.bookChapter.findUnique({ where: { id: 3502 } });
    console.log('ch3502 status:', ch?.status);
    console.log('ch3502 genStage:', ch?.genStage);
    const b = await prisma.book.findUnique({ where: { id: 139 } });
    console.log('b139 status:', b?.status);
    console.log('b139 genStage:', b?.genStage);
  } catch(e) {
    console.error('Error:', e.message);
  }
}
main().finally(() => process.exit(0));