12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- 'use strict';
- module.exports = app => {
- const { mongoose } = app;
- const { Schema } = mongoose;
- const ConfigurationSchema = new Schema({
-
- path: {
- type: String,
- },
-
- name: {
- type: String,
- },
-
- describe: {
- type: String,
- },
-
- company: {
- type: String,
- },
-
- phone: {
- type: String,
- },
-
- address: {
- type: String,
- },
-
- mail: {
- type: String,
- },
-
- postcode: {
- type: String,
- },
-
- record: {
- type: String,
- },
-
- isshow: {
- type: Boolean,
- },
-
- isname: {
- type: String,
- },
- });
- return mongoose.model('Configuration', ConfigurationSchema);
- };
|