Initial commit

This commit is contained in:
kihong.kim
2026-01-24 19:41:19 +09:00
commit 807df3d678
90 changed files with 6411 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
const mongoose = require("mongoose");
const scheduleSchema = new mongoose.Schema(
{
title: { type: String, required: true },
description: { type: String },
startDate: { type: Date, required: true },
endDate: { type: Date, required: true },
familyMemberId: { type: mongoose.Schema.Types.ObjectId, ref: "FamilyMember" },
isAllDay: { type: Boolean, default: false },
},
{ timestamps: true }
);
module.exports = mongoose.model("Schedule", scheduleSchema);