'use strict';
import { Schema, model, connect } from 'mongoose';
var cmsSchema = new Schema(
    {
        privacy_policy_en: {
            type: String,
        },
        privacy_policy_fr: {
            type: String,
        },
        privacy_policy_ar: {
            type: String,
        },
        term_condition_en: {
            type: String
        },
        term_condition_fr: {
            type: String
        },
        term_condition_ar: {
            type: String
        },
        about_us_en: {
            type: String
        },
        about_us_fr: {
            type: String
        },
        about_us_ar: {
            type: String
        }

    },
    {
        timestamps: true,
    },
);

let CMS = model('CMS', cmsSchema)
//module.exports.User =  mongoose.model('User', userSchema);
module.exports = {CMS, cmsSchema}