Add authorization

This commit is contained in:
2024-12-20 13:17:53 +05:30
parent 4b49c43a0c
commit a584fc91b5
16 changed files with 112 additions and 58 deletions

View File

@@ -0,0 +1,12 @@
import mongoose from "mongoose";
export const tenantModel = mongoose.model(
"tenant",
new mongoose.Schema({
pid: String,
name: String,
avatar: String,
createdAt: Date,
deleted: Boolean,
})
);