module.exports = {
  name: 'Category',
  schema: {
    name: {
      type: String,
      required: true,
      index: true,
      unique: true,
    },
    createdTime: {
      type: Date,
      default: Date.now(),
    },
    updatedTime: {
      type: Date,
      default: Date.now(),
    },
  },
}
