UNPKG

cloud-ide-model-schema

Version:

Pachage for schema management of Cloud IDEsys LMS

55 lines (54 loc) 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CCoreSypin = void 0; var mongoose_1 = require("mongoose"); /* SCHEMA START */ var core_pin_code = new mongoose_1.Schema({ sypin_circle_name: { type: String, trim: true }, sypin_region_name: { type: String, trim: true }, sypin_division_name: { type: String, trim: true }, sypin_office_name: { type: String, trim: true }, sypin_pincode: {}, sypin_office_type: { type: String, trim: true }, sypin_delivery: { type: String, trim: true }, sypin_district: { type: String, trim: true }, sypin_state_name: { type: String, trim: true }, sypin_latitude: { type: Number, trim: true }, sypin_longitude: { type: Number, trim: true }, sypin_country_id_syctr: { type: mongoose_1.default.Schema.Types.ObjectId, ref: "core_system_country" } }, { collection: 'core_pin_code' }); var CCoreSypin = mongoose_1.default.model("core_pin_code", core_pin_code); exports.CCoreSypin = CCoreSypin;