const mongoose = require("mongoose");
const Schema = mongoose.Schema;

const planSchema = new Schema(
  {
    planname: {
      type: String,
    },
    plan_description: {
      type: String,
    },
	tenure: {
      type: String,
    },
	plan_applicable_for: {
      type: String,
    },
	renewal_flag: {
      type: String,
    },
	MRP: {
      type: String,
    },
	discounted_price: {
      type: String,
    },
	image: {
      type: String,
    },
	payment_link: {
      type: String,
    },
	active_flag: {
      type: String,
    },
	keywords: {
      type: String,
    },
  },
  { timestamps: true }
);

module.exports = mongoose.model("Plan", planSchema);
