module.exports = {
  className: "Product",
  fields: {
    name: { type: 'String', required: true },
    description: { type: 'String' },
    currentPrice: { type: 'Number', required: true },
    category: { type: 'String' },       // 添加自定义字段
    stock: { type: 'Number' }            // 添加自定义字段
  }
};