import mongoose from "mongoose"; const fundDetailsSchema = new mongoose.Schema({ propertyOwnerId: { type: String, required: true, }, investorId: { type: String, required: true, }, investmentAmount: { type: Number, required: true, }, ownershipPercentage: { type: Number, required: true, }, propertyId:{ type: String, required: true, }, status: { type: Boolean, default: false }, }, { timestamps: true }); const FundDetailsModal = mongoose.model("FundDetails", fundDetailsSchema); export default FundDetailsModal;