import * as mongoose from "mongoose";

export default new mongoose.Schema({
    filename: String,
    originalname: String,
    mimetype: String,
    path: String,
    size: Number,
    created_at: Date,
    updated_at: Date
}, {
    timestamps: {
        // @ts-ignore
        createDate: 'created_at',
        updatedDate: 'updated_at'
}});
