Initial commit

This commit is contained in:
2020-10-19 19:00:17 +02:00
parent 634ead79db
commit 48140f557b
61 changed files with 18269 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { Schema } from 'mongoose';
import { User } from '../user/user.model';
const schemaPhone = new Schema({
displayName: { type: String, required: true },
modelName: { type: String, required: false },
operatingSystem: { type: String, required: false },
architecture: { type: String, required: false },
user: { type: User, required: true }
}, {
timestamps: {
createdAt: true,
updatedAt: true
}
});
export { schemaPhone };