import * as mongoose from 'mongoose'; const Schema = mongoose.Schema; export const DocumentTicketSchema = new Schema({ ticket_id: {type: String}, title: { type: String}, description: { type: String}, category: { type: String}, isClosed: {type: Boolean , default: true}, createdAt: {type: Date, default: Date.now}, updatedAt: {type: Date} });