UNPKG

@mas-soft/mas-core-server

Version:

main application

58 lines 2.6 kB
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; Object.defineProperty(exports, "__esModule", { value: true }); const core_module_1 = require("../core-module"); let USER = class USER extends core_module_1.Entity { }; __decorate([ core_module_1.property({ nullable: false, length: 60, id: true, type: String }), __metadata("design:type", String) ], USER.prototype, "USERNAME", void 0); __decorate([ core_module_1.property({ nullable: false, length: 150, type: String }), __metadata("design:type", String) ], USER.prototype, "PASSWORD", void 0); __decorate([ core_module_1.property({ nullable: false, length: 150, type: String }), __metadata("design:type", String) ], USER.prototype, "SURNAME", void 0); __decorate([ core_module_1.property({ nullable: true, length: 150, type: Boolean }), __metadata("design:type", Boolean) ], USER.prototype, "OM_MODULE", void 0); __decorate([ core_module_1.property({ nullable: true, length: 150, type: Boolean }), __metadata("design:type", Boolean) ], USER.prototype, "CS_MODULE", void 0); __decorate([ core_module_1.property({ nullable: true, length: 150, type: Boolean }), __metadata("design:type", Boolean) ], USER.prototype, "HH_MODULE", void 0); __decorate([ core_module_1.property({ nullable: true, length: 150, type: Boolean }), __metadata("design:type", Boolean) ], USER.prototype, "PORTAL_MODULE", void 0); __decorate([ core_module_1.property({ nullable: true, length: 150, type: Boolean }), __metadata("design:type", Boolean) ], USER.prototype, "DASHBOARD_MODULE", void 0); USER = __decorate([ core_module_1.model({ name: 'USERS', settings: { oracle: { schema: 'MAS_MASTER' } } }) ], USER); exports.USER = USER; //# sourceMappingURL=user.model.js.map