1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- '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,
- },
-
- isShowTitle: {
- type: Boolean,
- default: false,
- },
-
- homeTitle: {
- type: String,
- },
-
- homeUrl: {
- type: String,
- },
- });
- return mongoose.model('Configuration', ConfigurationSchema);
- };
|