Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const restaurantSchema = mongoose.Schema({
- name: {
- type: String,
- required: true
- },
- phoneNumber: {
- type: String,
- required: true
- },
- personInCharge: {
- firstName: String,
- lastName: String
- },
- address: {
- building: String,
- street: String,
- zipcode: String
- },
- email: {
- type: String,
- required: true
- },
- username: {
- type: String,
- required: true
- },
- password: {
- type: String,
- required: true
- },
- verified: {
- type: Boolean
- }
- });
- ******************************************************
- const organizationSchema = {
- name: {
- type: String,
- required: true
- },
- desciption: {
- type: String
- },
- phoneNumber: {
- type: String,
- required: true
- },
- personInCharge: {
- firstName: String,
- lastName: String
- },
- address: {
- building: String,
- street: String,
- zipcode: String
- },
- email: {
- type: String,
- required: true
- },
- username: {
- type: String,
- required: true
- },
- password: {
- type: String,
- required: true
- },
- verified: {
- type: Boolean
- }
- };
- ***************************************************
- const adminSchema = {
- name:{
- firstName: String,
- lastName: String
- },
- username: {
- type: String,
- required: true
- },
- password: {
- type: String,
- required: true
- },
- email: {
- type: String,
- required: true
- }
- };
- ***************************************
- const scheduleSchema = {
- };
- ***************************************
- const pickupSchema = {
- };
Add Comment
Please, Sign In to add comment