Spaces:
Running
Running
feat: implement business date utility and financial reporting system including expense tracking, platform sales, and profit-loss analysis endpoints
ec62259 Download src/models/Setting.js from aliroohan179/face: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/aliroohan179/face/resolve/main/src/models/Setting.js
- Command line
-
hf download hf://spaces/aliroohan179/face/src/models/Setting.js
-
curl -L -o Setting.js https://huggingface.co/spaces/aliroohan179/face/resolve/main/src/models/Setting.js
300 Bytes
| const mongoose = require('mongoose'); | |
| const settingSchema = new mongoose.Schema( | |
| { | |
| key: { type: String, required: true, unique: true }, | |
| value: { type: mongoose.Schema.Types.Mixed, required: true }, | |
| }, | |
| { timestamps: true } | |
| ); | |
| module.exports = mongoose.model('Setting', settingSchema); | |