'use strict';
import { Schema, model, connect } from 'mongoose';
var blogSchema = new Schema(
    {
        title_en: { 
            type: String, 
        },
        title_ar: { 
            type: String, 
        }, 
        title_fr: { 
            type: String, 
        },      
        description_en: { 
            type: String,
        },
        description_ar: { 
            type: String,
        },
        description_fr: { 
            type: String,
        },
        blog_pic:{
            type: String,
        },
        is_active:{
            type: Boolean,        
            default: true
        }, 
        is_deleted:{
            type: Boolean,
            default: false
        }       
    },
    {
        timestamps: true,
    },
);

let Blog = model('Blog', blogSchema)
module.exports = {Blog, blogSchema}