@admc-go-th/admc-library 1.0.130 → 1.0.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{appQueue-QJ9ECucz.d.ts → appQueue-HW5J6Gb9.d.ts} +6 -2
- package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
- package/databases/schema/appQueue.ts +24 -8
- package/databases/schema/appScore.ts +8 -0
- package/databases/schema/formFaq.ts +126 -126
- package/databases/schema/index.ts +8 -5
- package/databases/schema/informationIndex.ts +211 -211
- package/databases/schema/informationIndexGroup.ts +103 -103
- package/databases/schema/mdDownloadBk.ts +136 -136
- package/databases/schema/msConsultCase.ts +0 -8
- package/databases/schema/msConsultSiteCase.ts +91 -0
- package/databases/schema/msConsultSiteIssue.ts +84 -0
- package/databases/schema/msExecutive.ts +0 -5
- package/databases/schema/msExecutiveActing.ts +75 -0
- package/databases/schema/msExecutiveBoard.ts +82 -82
- package/databases/schema/msExecutiveBoardBk.ts +83 -0
- package/databases/schema/msExecutivePosition.ts +117 -117
- package/databases/schema/msExecutivePositionBk.ts +112 -0
- package/databases/schema/msGuidelines.ts +88 -88
- package/databases/schema/msOrganization.ts +139 -0
- package/databases/schema/msPosition.ts +76 -0
- package/databases/schema/msQueueTourFaq.ts +90 -0
- package/databases/schema/msQueueTourGuidelines.ts +90 -0
- package/databases/schema/setting.ts +73 -73
- package/databases/schema/userPermissionV.ts +78 -0
- package/databases/schema/users.ts +62 -0
- package/databases/tables/appQueue.d.ts +1 -1
- package/databases/tables/appQueue.js +21 -7
- package/databases/tables/appScore.d.ts +2 -0
- package/databases/tables/appScore.js +7 -0
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +54 -0
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +54 -0
- package/databases/tables/authRoleChild.d.ts +1 -1
- package/databases/tables/authRoleChild.js +54 -0
- package/databases/tables/index.d.ts +11 -7
- package/databases/tables/index.js +942 -690
- package/databases/tables/mdContent.d.ts +1 -1
- package/databases/tables/mdContent.js +54 -0
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +54 -0
- package/databases/tables/mdQuestionnaire.d.ts +1 -1
- package/databases/tables/mdQuestionnaire.js +54 -0
- package/databases/tables/mdQuestionnaireData.d.ts +1 -1
- package/databases/tables/mdQuestionnaireData.js +54 -0
- package/databases/tables/msConsultCase.d.ts +0 -2
- package/databases/tables/msConsultCase.js +0 -7
- package/databases/tables/msConsultChannels.d.ts +1 -1
- package/databases/tables/msConsultChannels.js +21 -7
- package/databases/tables/msConsultSiteCase.d.ts +28 -0
- package/databases/tables/msConsultSiteCase.js +113 -0
- package/databases/tables/msConsultSiteIssue.d.ts +26 -0
- package/databases/tables/msConsultSiteIssue.js +107 -0
- package/databases/tables/msExecutive.d.ts +1 -1
- package/databases/tables/msExecutive.js +47 -152
- package/databases/tables/msExecutiveActing.d.ts +24 -0
- package/databases/tables/msExecutiveActing.js +99 -0
- package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
- package/databases/tables/msExecutiveBoardBk.js +106 -0
- package/databases/tables/msExecutiveGroup.d.ts +1 -1
- package/databases/tables/msExecutiveGroup.js +77 -184
- package/databases/tables/msExecutivePosition.d.ts +36 -2
- package/databases/tables/msExecutivePosition.js +0 -4
- package/databases/tables/msExecutivePositionBk.d.ts +34 -0
- package/databases/tables/msExecutivePositionBk.js +131 -0
- package/databases/tables/msOrganization.d.ts +40 -0
- package/databases/tables/msOrganization.js +155 -0
- package/databases/tables/msPosition.d.ts +24 -0
- package/databases/tables/msPosition.js +100 -0
- package/databases/tables/msQueueTourFaq.d.ts +28 -0
- package/databases/tables/msQueueTourFaq.js +112 -0
- package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
- package/databases/tables/msQueueTourGuidelines.js +112 -0
- package/databases/tables/msWebsite.d.ts +1 -1
- package/databases/tables/msWebsite.js +21 -7
- package/databases/tables/userPermissionV.d.ts +26 -0
- package/databases/tables/userPermissionV.js +101 -0
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +54 -0
- package/databases/tables/usersVerify.d.ts +1 -1
- package/databases/tables/usersVerify.js +54 -0
- package/{msExecutive-BFeU4P0-.d.ts → msExecutive-Yxx8Wpkj.d.ts} +1 -34
- package/package.json +1 -1
|
@@ -85,18 +85,22 @@ __export(tables_exports, {
|
|
|
85
85
|
msConsultChannels: () => msConsultChannels,
|
|
86
86
|
msConsultInstructions: () => msConsultInstructions,
|
|
87
87
|
msConsultService: () => msConsultService,
|
|
88
|
+
msConsultSiteCase: () => msConsultSiteCase,
|
|
88
89
|
msConsultSiteChannel: () => msConsultSiteChannel,
|
|
89
90
|
msConsultSiteHoliday: () => msConsultSiteHoliday,
|
|
91
|
+
msConsultSiteIssue: () => msConsultSiteIssue,
|
|
90
92
|
msConsultSiteStaff: () => msConsultSiteStaff,
|
|
91
93
|
msExecutive: () => msExecutive,
|
|
92
|
-
|
|
94
|
+
msExecutiveActing: () => msExecutiveActing,
|
|
93
95
|
msExecutiveGroup: () => msExecutiveGroup,
|
|
94
96
|
msExecutiveLevel: () => msExecutiveLevel,
|
|
95
|
-
msExecutivePosition: () => msExecutivePosition,
|
|
96
|
-
msGuidelines: () => msGuidelines,
|
|
97
97
|
msHoliday: () => msHoliday,
|
|
98
98
|
msModule: () => msModule,
|
|
99
|
+
msOrganization: () => msOrganization,
|
|
100
|
+
msPosition: () => msPosition,
|
|
99
101
|
msProvince: () => msProvince,
|
|
102
|
+
msQueueTourFaq: () => msQueueTourFaq,
|
|
103
|
+
msQueueTourGuidelines: () => msQueueTourGuidelines,
|
|
100
104
|
msTitle: () => msTitle,
|
|
101
105
|
msVariable: () => msVariable,
|
|
102
106
|
msWebsite: () => msWebsite,
|
|
@@ -105,8 +109,7 @@ __export(tables_exports, {
|
|
|
105
109
|
recruitment: () => recruitment,
|
|
106
110
|
recruitmentGroup: () => recruitmentGroup,
|
|
107
111
|
settings: () => settings,
|
|
108
|
-
|
|
109
|
-
userRoleV: () => userRoleV,
|
|
112
|
+
userPermissionV: () => userPermissionV,
|
|
110
113
|
users: () => users,
|
|
111
114
|
usersVerify: () => usersVerify
|
|
112
115
|
});
|
|
@@ -859,13 +862,6 @@ __decorateClass([
|
|
|
859
862
|
type: import_sequelize_typescript6.DataType.STRING(30)
|
|
860
863
|
})
|
|
861
864
|
], appQueue.prototype, "ipAddress", 2);
|
|
862
|
-
__decorateClass([
|
|
863
|
-
(0, import_sequelize_typescript6.Column)({
|
|
864
|
-
field: "staff_id",
|
|
865
|
-
allowNull: true,
|
|
866
|
-
type: import_sequelize_typescript6.DataType.INTEGER
|
|
867
|
-
})
|
|
868
|
-
], appQueue.prototype, "staffId", 2);
|
|
869
865
|
__decorateClass([
|
|
870
866
|
(0, import_sequelize_typescript6.Column)({
|
|
871
867
|
allowNull: true,
|
|
@@ -900,6 +896,27 @@ __decorateClass([
|
|
|
900
896
|
type: import_sequelize_typescript6.DataType.INTEGER
|
|
901
897
|
})
|
|
902
898
|
], appQueue.prototype, "caseJurisdiction", 2);
|
|
899
|
+
__decorateClass([
|
|
900
|
+
(0, import_sequelize_typescript6.Column)({
|
|
901
|
+
field: "staff_id",
|
|
902
|
+
allowNull: true,
|
|
903
|
+
type: import_sequelize_typescript6.DataType.INTEGER
|
|
904
|
+
})
|
|
905
|
+
], appQueue.prototype, "staffId", 2);
|
|
906
|
+
__decorateClass([
|
|
907
|
+
(0, import_sequelize_typescript6.Column)({
|
|
908
|
+
field: "staff_channel_id",
|
|
909
|
+
allowNull: true,
|
|
910
|
+
type: import_sequelize_typescript6.DataType.INTEGER
|
|
911
|
+
})
|
|
912
|
+
], appQueue.prototype, "staffChannelId", 2);
|
|
913
|
+
__decorateClass([
|
|
914
|
+
(0, import_sequelize_typescript6.Column)({
|
|
915
|
+
field: "staff_channel",
|
|
916
|
+
allowNull: true,
|
|
917
|
+
type: import_sequelize_typescript6.DataType.JSON
|
|
918
|
+
})
|
|
919
|
+
], appQueue.prototype, "staffChannel", 2);
|
|
903
920
|
__decorateClass([
|
|
904
921
|
(0, import_sequelize_typescript6.Column)({
|
|
905
922
|
field: "staff_issues",
|
|
@@ -1450,6 +1467,13 @@ __decorateClass([
|
|
|
1450
1467
|
type: import_sequelize_typescript10.DataType.JSON
|
|
1451
1468
|
})
|
|
1452
1469
|
], appScore.prototype, "labelInfo", 2);
|
|
1470
|
+
__decorateClass([
|
|
1471
|
+
(0, import_sequelize_typescript10.Column)({
|
|
1472
|
+
field: "data_info",
|
|
1473
|
+
allowNull: true,
|
|
1474
|
+
type: import_sequelize_typescript10.DataType.JSON
|
|
1475
|
+
})
|
|
1476
|
+
], appScore.prototype, "dataInfo", 2);
|
|
1453
1477
|
__decorateClass([
|
|
1454
1478
|
(0, import_sequelize_typescript10.Column)({
|
|
1455
1479
|
allowNull: true,
|
|
@@ -2380,6 +2404,13 @@ __decorateClass([
|
|
|
2380
2404
|
type: import_sequelize_typescript18.DataType.STRING(10)
|
|
2381
2405
|
})
|
|
2382
2406
|
], users.prototype, "prefix", 2);
|
|
2407
|
+
__decorateClass([
|
|
2408
|
+
(0, import_sequelize_typescript18.Column)({
|
|
2409
|
+
field: "prefix_id",
|
|
2410
|
+
allowNull: true,
|
|
2411
|
+
type: import_sequelize_typescript18.DataType.INTEGER
|
|
2412
|
+
})
|
|
2413
|
+
], users.prototype, "prefixId", 2);
|
|
2383
2414
|
__decorateClass([
|
|
2384
2415
|
(0, import_sequelize_typescript18.Column)({
|
|
2385
2416
|
field: "first_name",
|
|
@@ -2394,12 +2425,59 @@ __decorateClass([
|
|
|
2394
2425
|
type: import_sequelize_typescript18.DataType.STRING(100)
|
|
2395
2426
|
})
|
|
2396
2427
|
], users.prototype, "lastName", 2);
|
|
2428
|
+
__decorateClass([
|
|
2429
|
+
(0, import_sequelize_typescript18.Column)({
|
|
2430
|
+
field: "first_name_en",
|
|
2431
|
+
allowNull: true,
|
|
2432
|
+
type: import_sequelize_typescript18.DataType.STRING(100)
|
|
2433
|
+
})
|
|
2434
|
+
], users.prototype, "firstNameEn", 2);
|
|
2435
|
+
__decorateClass([
|
|
2436
|
+
(0, import_sequelize_typescript18.Column)({
|
|
2437
|
+
field: "last_name_en",
|
|
2438
|
+
allowNull: true,
|
|
2439
|
+
type: import_sequelize_typescript18.DataType.STRING(100)
|
|
2440
|
+
})
|
|
2441
|
+
], users.prototype, "lastNameEn", 2);
|
|
2397
2442
|
__decorateClass([
|
|
2398
2443
|
(0, import_sequelize_typescript18.Column)({
|
|
2399
2444
|
allowNull: true,
|
|
2400
2445
|
type: import_sequelize_typescript18.DataType.STRING(20)
|
|
2401
2446
|
})
|
|
2402
2447
|
], users.prototype, "phone", 2);
|
|
2448
|
+
__decorateClass([
|
|
2449
|
+
(0, import_sequelize_typescript18.Column)({
|
|
2450
|
+
field: "organization_id",
|
|
2451
|
+
allowNull: true,
|
|
2452
|
+
type: import_sequelize_typescript18.DataType.INTEGER
|
|
2453
|
+
})
|
|
2454
|
+
], users.prototype, "organizationId", 2);
|
|
2455
|
+
__decorateClass([
|
|
2456
|
+
(0, import_sequelize_typescript18.Column)({
|
|
2457
|
+
allowNull: true,
|
|
2458
|
+
type: import_sequelize_typescript18.DataType.STRING(255)
|
|
2459
|
+
})
|
|
2460
|
+
], users.prototype, "occupation", 2);
|
|
2461
|
+
__decorateClass([
|
|
2462
|
+
(0, import_sequelize_typescript18.Column)({
|
|
2463
|
+
allowNull: true,
|
|
2464
|
+
type: import_sequelize_typescript18.DataType.STRING(255)
|
|
2465
|
+
})
|
|
2466
|
+
], users.prototype, "position", 2);
|
|
2467
|
+
__decorateClass([
|
|
2468
|
+
(0, import_sequelize_typescript18.Column)({
|
|
2469
|
+
field: "position_id",
|
|
2470
|
+
allowNull: true,
|
|
2471
|
+
type: import_sequelize_typescript18.DataType.INTEGER
|
|
2472
|
+
})
|
|
2473
|
+
], users.prototype, "positionId", 2);
|
|
2474
|
+
__decorateClass([
|
|
2475
|
+
(0, import_sequelize_typescript18.Column)({
|
|
2476
|
+
field: "gender_code",
|
|
2477
|
+
allowNull: true,
|
|
2478
|
+
type: import_sequelize_typescript18.DataType.STRING(1)
|
|
2479
|
+
})
|
|
2480
|
+
], users.prototype, "genderCode", 2);
|
|
2403
2481
|
__decorateClass([
|
|
2404
2482
|
(0, import_sequelize_typescript18.Column)({
|
|
2405
2483
|
allowNull: true,
|
|
@@ -7269,13 +7347,6 @@ __decorateClass([
|
|
|
7269
7347
|
type: import_sequelize_typescript59.DataType.INTEGER
|
|
7270
7348
|
})
|
|
7271
7349
|
], msConsultCase.prototype, "id", 2);
|
|
7272
|
-
__decorateClass([
|
|
7273
|
-
(0, import_sequelize_typescript59.Column)({
|
|
7274
|
-
field: "site_id",
|
|
7275
|
-
allowNull: true,
|
|
7276
|
-
type: import_sequelize_typescript59.DataType.INTEGER
|
|
7277
|
-
})
|
|
7278
|
-
], msConsultCase.prototype, "siteId", 2);
|
|
7279
7350
|
__decorateClass([
|
|
7280
7351
|
(0, import_sequelize_typescript59.Column)({
|
|
7281
7352
|
allowNull: true,
|
|
@@ -7492,9 +7563,9 @@ msConsultService = __decorateClass([
|
|
|
7492
7563
|
})
|
|
7493
7564
|
], msConsultService);
|
|
7494
7565
|
|
|
7495
|
-
// src/databases/tables/
|
|
7566
|
+
// src/databases/tables/msConsultSiteCase.ts
|
|
7496
7567
|
var import_sequelize_typescript62 = require("sequelize-typescript");
|
|
7497
|
-
var
|
|
7568
|
+
var msConsultSiteCase = class extends import_sequelize_typescript62.Model {
|
|
7498
7569
|
};
|
|
7499
7570
|
__decorateClass([
|
|
7500
7571
|
(0, import_sequelize_typescript62.Column)({
|
|
@@ -7502,83 +7573,77 @@ __decorateClass([
|
|
|
7502
7573
|
autoIncrement: true,
|
|
7503
7574
|
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7504
7575
|
})
|
|
7505
|
-
],
|
|
7576
|
+
], msConsultSiteCase.prototype, "id", 2);
|
|
7506
7577
|
__decorateClass([
|
|
7507
7578
|
(0, import_sequelize_typescript62.Column)({
|
|
7508
7579
|
field: "site_id",
|
|
7509
7580
|
allowNull: true,
|
|
7510
7581
|
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7511
7582
|
})
|
|
7512
|
-
],
|
|
7583
|
+
], msConsultSiteCase.prototype, "siteId", 2);
|
|
7513
7584
|
__decorateClass([
|
|
7514
7585
|
(0, import_sequelize_typescript62.Column)({
|
|
7515
|
-
field: "
|
|
7586
|
+
field: "case_id",
|
|
7516
7587
|
allowNull: true,
|
|
7517
7588
|
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7518
7589
|
})
|
|
7519
|
-
],
|
|
7520
|
-
__decorateClass([
|
|
7521
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7522
|
-
allowNull: true,
|
|
7523
|
-
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7524
|
-
})
|
|
7525
|
-
], msConsultSiteChannel.prototype, "name", 2);
|
|
7590
|
+
], msConsultSiteCase.prototype, "caseId", 2);
|
|
7526
7591
|
__decorateClass([
|
|
7527
7592
|
(0, import_sequelize_typescript62.Column)({
|
|
7528
7593
|
allowNull: true,
|
|
7529
7594
|
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7530
7595
|
})
|
|
7531
|
-
],
|
|
7596
|
+
], msConsultSiteCase.prototype, "name", 2);
|
|
7532
7597
|
__decorateClass([
|
|
7533
7598
|
(0, import_sequelize_typescript62.Column)({
|
|
7534
7599
|
allowNull: true,
|
|
7535
7600
|
type: import_sequelize_typescript62.DataType.STRING
|
|
7536
7601
|
})
|
|
7537
|
-
],
|
|
7602
|
+
], msConsultSiteCase.prototype, "detail", 2);
|
|
7538
7603
|
__decorateClass([
|
|
7539
7604
|
(0, import_sequelize_typescript62.Column)({
|
|
7540
7605
|
allowNull: true,
|
|
7541
7606
|
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7542
7607
|
})
|
|
7543
|
-
],
|
|
7608
|
+
], msConsultSiteCase.prototype, "status", 2);
|
|
7544
7609
|
__decorateClass([
|
|
7545
7610
|
(0, import_sequelize_typescript62.Column)({
|
|
7546
7611
|
field: "created_by",
|
|
7547
7612
|
allowNull: true,
|
|
7548
7613
|
type: import_sequelize_typescript62.DataType.STRING(60)
|
|
7549
7614
|
})
|
|
7550
|
-
],
|
|
7615
|
+
], msConsultSiteCase.prototype, "createdBy", 2);
|
|
7551
7616
|
__decorateClass([
|
|
7552
7617
|
(0, import_sequelize_typescript62.Column)({
|
|
7553
7618
|
field: "created_date",
|
|
7554
7619
|
allowNull: true,
|
|
7555
7620
|
type: import_sequelize_typescript62.DataType.DATE
|
|
7556
7621
|
})
|
|
7557
|
-
],
|
|
7622
|
+
], msConsultSiteCase.prototype, "createdDate", 2);
|
|
7558
7623
|
__decorateClass([
|
|
7559
7624
|
(0, import_sequelize_typescript62.Column)({
|
|
7560
7625
|
field: "updated_by",
|
|
7561
7626
|
allowNull: true,
|
|
7562
7627
|
type: import_sequelize_typescript62.DataType.STRING(60)
|
|
7563
7628
|
})
|
|
7564
|
-
],
|
|
7629
|
+
], msConsultSiteCase.prototype, "updatedBy", 2);
|
|
7565
7630
|
__decorateClass([
|
|
7566
7631
|
(0, import_sequelize_typescript62.Column)({
|
|
7567
7632
|
field: "updated_date",
|
|
7568
7633
|
allowNull: true,
|
|
7569
7634
|
type: import_sequelize_typescript62.DataType.DATE
|
|
7570
7635
|
})
|
|
7571
|
-
],
|
|
7572
|
-
|
|
7636
|
+
], msConsultSiteCase.prototype, "updatedDate", 2);
|
|
7637
|
+
msConsultSiteCase = __decorateClass([
|
|
7573
7638
|
(0, import_sequelize_typescript62.Table)({
|
|
7574
|
-
tableName: "
|
|
7639
|
+
tableName: "ms_consult_site_case",
|
|
7575
7640
|
timestamps: false
|
|
7576
7641
|
})
|
|
7577
|
-
],
|
|
7642
|
+
], msConsultSiteCase);
|
|
7578
7643
|
|
|
7579
|
-
// src/databases/tables/
|
|
7644
|
+
// src/databases/tables/msConsultSiteChannel.ts
|
|
7580
7645
|
var import_sequelize_typescript63 = require("sequelize-typescript");
|
|
7581
|
-
var
|
|
7646
|
+
var msConsultSiteChannel = class extends import_sequelize_typescript63.Model {
|
|
7582
7647
|
};
|
|
7583
7648
|
__decorateClass([
|
|
7584
7649
|
(0, import_sequelize_typescript63.Column)({
|
|
@@ -7586,84 +7651,83 @@ __decorateClass([
|
|
|
7586
7651
|
autoIncrement: true,
|
|
7587
7652
|
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7588
7653
|
})
|
|
7589
|
-
],
|
|
7654
|
+
], msConsultSiteChannel.prototype, "id", 2);
|
|
7590
7655
|
__decorateClass([
|
|
7591
7656
|
(0, import_sequelize_typescript63.Column)({
|
|
7592
7657
|
field: "site_id",
|
|
7593
7658
|
allowNull: true,
|
|
7594
7659
|
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7595
7660
|
})
|
|
7596
|
-
],
|
|
7661
|
+
], msConsultSiteChannel.prototype, "siteId", 2);
|
|
7597
7662
|
__decorateClass([
|
|
7598
7663
|
(0, import_sequelize_typescript63.Column)({
|
|
7599
|
-
field: "
|
|
7664
|
+
field: "channel_id",
|
|
7600
7665
|
allowNull: true,
|
|
7601
7666
|
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7602
7667
|
})
|
|
7603
|
-
],
|
|
7668
|
+
], msConsultSiteChannel.prototype, "channelId", 2);
|
|
7604
7669
|
__decorateClass([
|
|
7605
7670
|
(0, import_sequelize_typescript63.Column)({
|
|
7606
7671
|
allowNull: true,
|
|
7607
|
-
type: import_sequelize_typescript63.DataType.
|
|
7672
|
+
type: import_sequelize_typescript63.DataType.STRING(255)
|
|
7608
7673
|
})
|
|
7609
|
-
],
|
|
7674
|
+
], msConsultSiteChannel.prototype, "name", 2);
|
|
7610
7675
|
__decorateClass([
|
|
7611
7676
|
(0, import_sequelize_typescript63.Column)({
|
|
7612
7677
|
allowNull: true,
|
|
7613
7678
|
type: import_sequelize_typescript63.DataType.STRING(255)
|
|
7614
7679
|
})
|
|
7615
|
-
],
|
|
7680
|
+
], msConsultSiteChannel.prototype, "information", 2);
|
|
7616
7681
|
__decorateClass([
|
|
7617
7682
|
(0, import_sequelize_typescript63.Column)({
|
|
7618
|
-
field: "at_date",
|
|
7619
7683
|
allowNull: true,
|
|
7620
|
-
type: import_sequelize_typescript63.DataType.
|
|
7684
|
+
type: import_sequelize_typescript63.DataType.STRING
|
|
7621
7685
|
})
|
|
7622
|
-
],
|
|
7686
|
+
], msConsultSiteChannel.prototype, "detail", 2);
|
|
7623
7687
|
__decorateClass([
|
|
7624
7688
|
(0, import_sequelize_typescript63.Column)({
|
|
7625
7689
|
allowNull: true,
|
|
7626
7690
|
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7627
7691
|
})
|
|
7628
|
-
],
|
|
7692
|
+
], msConsultSiteChannel.prototype, "status", 2);
|
|
7629
7693
|
__decorateClass([
|
|
7630
7694
|
(0, import_sequelize_typescript63.Column)({
|
|
7631
7695
|
field: "created_by",
|
|
7632
7696
|
allowNull: true,
|
|
7633
7697
|
type: import_sequelize_typescript63.DataType.STRING(60)
|
|
7634
7698
|
})
|
|
7635
|
-
],
|
|
7699
|
+
], msConsultSiteChannel.prototype, "createdBy", 2);
|
|
7636
7700
|
__decorateClass([
|
|
7637
7701
|
(0, import_sequelize_typescript63.Column)({
|
|
7638
7702
|
field: "created_date",
|
|
7639
7703
|
allowNull: true,
|
|
7640
7704
|
type: import_sequelize_typescript63.DataType.DATE
|
|
7641
7705
|
})
|
|
7642
|
-
],
|
|
7706
|
+
], msConsultSiteChannel.prototype, "createdDate", 2);
|
|
7643
7707
|
__decorateClass([
|
|
7644
7708
|
(0, import_sequelize_typescript63.Column)({
|
|
7645
7709
|
field: "updated_by",
|
|
7646
7710
|
allowNull: true,
|
|
7647
7711
|
type: import_sequelize_typescript63.DataType.STRING(60)
|
|
7648
7712
|
})
|
|
7649
|
-
],
|
|
7713
|
+
], msConsultSiteChannel.prototype, "updatedBy", 2);
|
|
7650
7714
|
__decorateClass([
|
|
7651
7715
|
(0, import_sequelize_typescript63.Column)({
|
|
7652
7716
|
field: "updated_date",
|
|
7653
7717
|
allowNull: true,
|
|
7654
7718
|
type: import_sequelize_typescript63.DataType.DATE
|
|
7655
7719
|
})
|
|
7656
|
-
],
|
|
7657
|
-
|
|
7720
|
+
], msConsultSiteChannel.prototype, "updatedDate", 2);
|
|
7721
|
+
msConsultSiteChannel = __decorateClass([
|
|
7658
7722
|
(0, import_sequelize_typescript63.Table)({
|
|
7659
|
-
tableName: "
|
|
7723
|
+
tableName: "ms_consult_site_channel",
|
|
7660
7724
|
timestamps: false
|
|
7661
7725
|
})
|
|
7662
|
-
],
|
|
7726
|
+
], msConsultSiteChannel);
|
|
7663
7727
|
|
|
7664
|
-
// src/databases/tables/
|
|
7728
|
+
// src/databases/tables/msConsultSiteHoliday.ts
|
|
7665
7729
|
var import_sequelize_typescript64 = require("sequelize-typescript");
|
|
7666
|
-
var
|
|
7730
|
+
var msConsultSiteHoliday = class extends import_sequelize_typescript64.Model {
|
|
7667
7731
|
};
|
|
7668
7732
|
__decorateClass([
|
|
7669
7733
|
(0, import_sequelize_typescript64.Column)({
|
|
@@ -7671,67 +7735,84 @@ __decorateClass([
|
|
|
7671
7735
|
autoIncrement: true,
|
|
7672
7736
|
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7673
7737
|
})
|
|
7674
|
-
],
|
|
7738
|
+
], msConsultSiteHoliday.prototype, "id", 2);
|
|
7675
7739
|
__decorateClass([
|
|
7676
7740
|
(0, import_sequelize_typescript64.Column)({
|
|
7677
7741
|
field: "site_id",
|
|
7678
7742
|
allowNull: true,
|
|
7679
7743
|
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7680
7744
|
})
|
|
7681
|
-
],
|
|
7745
|
+
], msConsultSiteHoliday.prototype, "siteId", 2);
|
|
7746
|
+
__decorateClass([
|
|
7747
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7748
|
+
field: "type_id",
|
|
7749
|
+
allowNull: true,
|
|
7750
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7751
|
+
})
|
|
7752
|
+
], msConsultSiteHoliday.prototype, "typeId", 2);
|
|
7753
|
+
__decorateClass([
|
|
7754
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7755
|
+
allowNull: true,
|
|
7756
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7757
|
+
})
|
|
7758
|
+
], msConsultSiteHoliday.prototype, "year", 2);
|
|
7682
7759
|
__decorateClass([
|
|
7683
7760
|
(0, import_sequelize_typescript64.Column)({
|
|
7684
7761
|
allowNull: true,
|
|
7685
7762
|
type: import_sequelize_typescript64.DataType.STRING(255)
|
|
7686
7763
|
})
|
|
7687
|
-
],
|
|
7764
|
+
], msConsultSiteHoliday.prototype, "name", 2);
|
|
7765
|
+
__decorateClass([
|
|
7766
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7767
|
+
field: "at_date",
|
|
7768
|
+
allowNull: true,
|
|
7769
|
+
type: import_sequelize_typescript64.DataType.DATEONLY
|
|
7770
|
+
})
|
|
7771
|
+
], msConsultSiteHoliday.prototype, "atDate", 2);
|
|
7688
7772
|
__decorateClass([
|
|
7689
7773
|
(0, import_sequelize_typescript64.Column)({
|
|
7690
7774
|
allowNull: true,
|
|
7691
7775
|
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7692
7776
|
})
|
|
7693
|
-
],
|
|
7777
|
+
], msConsultSiteHoliday.prototype, "status", 2);
|
|
7694
7778
|
__decorateClass([
|
|
7695
7779
|
(0, import_sequelize_typescript64.Column)({
|
|
7696
7780
|
field: "created_by",
|
|
7697
7781
|
allowNull: true,
|
|
7698
7782
|
type: import_sequelize_typescript64.DataType.STRING(60)
|
|
7699
7783
|
})
|
|
7700
|
-
],
|
|
7784
|
+
], msConsultSiteHoliday.prototype, "createdBy", 2);
|
|
7701
7785
|
__decorateClass([
|
|
7702
7786
|
(0, import_sequelize_typescript64.Column)({
|
|
7703
7787
|
field: "created_date",
|
|
7704
7788
|
allowNull: true,
|
|
7705
7789
|
type: import_sequelize_typescript64.DataType.DATE
|
|
7706
7790
|
})
|
|
7707
|
-
],
|
|
7791
|
+
], msConsultSiteHoliday.prototype, "createdDate", 2);
|
|
7708
7792
|
__decorateClass([
|
|
7709
7793
|
(0, import_sequelize_typescript64.Column)({
|
|
7710
7794
|
field: "updated_by",
|
|
7711
7795
|
allowNull: true,
|
|
7712
7796
|
type: import_sequelize_typescript64.DataType.STRING(60)
|
|
7713
7797
|
})
|
|
7714
|
-
],
|
|
7798
|
+
], msConsultSiteHoliday.prototype, "updatedBy", 2);
|
|
7715
7799
|
__decorateClass([
|
|
7716
7800
|
(0, import_sequelize_typescript64.Column)({
|
|
7717
7801
|
field: "updated_date",
|
|
7718
7802
|
allowNull: true,
|
|
7719
7803
|
type: import_sequelize_typescript64.DataType.DATE
|
|
7720
7804
|
})
|
|
7721
|
-
],
|
|
7722
|
-
|
|
7805
|
+
], msConsultSiteHoliday.prototype, "updatedDate", 2);
|
|
7806
|
+
msConsultSiteHoliday = __decorateClass([
|
|
7723
7807
|
(0, import_sequelize_typescript64.Table)({
|
|
7724
|
-
tableName: "
|
|
7808
|
+
tableName: "ms_consult_site_holiday",
|
|
7725
7809
|
timestamps: false
|
|
7726
7810
|
})
|
|
7727
|
-
],
|
|
7728
|
-
|
|
7729
|
-
// src/databases/tables/msExecutive.ts
|
|
7730
|
-
var import_sequelize_typescript67 = require("sequelize-typescript");
|
|
7811
|
+
], msConsultSiteHoliday);
|
|
7731
7812
|
|
|
7732
|
-
// src/databases/tables/
|
|
7813
|
+
// src/databases/tables/msConsultSiteIssue.ts
|
|
7733
7814
|
var import_sequelize_typescript65 = require("sequelize-typescript");
|
|
7734
|
-
var
|
|
7815
|
+
var msConsultSiteIssue = class extends import_sequelize_typescript65.Model {
|
|
7735
7816
|
};
|
|
7736
7817
|
__decorateClass([
|
|
7737
7818
|
(0, import_sequelize_typescript65.Column)({
|
|
@@ -7739,106 +7820,71 @@ __decorateClass([
|
|
|
7739
7820
|
autoIncrement: true,
|
|
7740
7821
|
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7741
7822
|
})
|
|
7742
|
-
],
|
|
7743
|
-
__decorateClass([
|
|
7744
|
-
(0, import_sequelize_typescript65.Column)({
|
|
7745
|
-
allowNull: true,
|
|
7746
|
-
type: import_sequelize_typescript65.DataType.STRING(60)
|
|
7747
|
-
})
|
|
7748
|
-
], msExecutiveGroup.prototype, "uuid", 2);
|
|
7823
|
+
], msConsultSiteIssue.prototype, "id", 2);
|
|
7749
7824
|
__decorateClass([
|
|
7750
7825
|
(0, import_sequelize_typescript65.Column)({
|
|
7826
|
+
field: "site_id",
|
|
7751
7827
|
allowNull: true,
|
|
7752
7828
|
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7753
7829
|
})
|
|
7754
|
-
],
|
|
7755
|
-
__decorateClass([
|
|
7756
|
-
(0, import_sequelize_typescript65.Column)({
|
|
7757
|
-
allowNull: true,
|
|
7758
|
-
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7759
|
-
})
|
|
7760
|
-
], msExecutiveGroup.prototype, "name", 2);
|
|
7830
|
+
], msConsultSiteIssue.prototype, "siteId", 2);
|
|
7761
7831
|
__decorateClass([
|
|
7762
7832
|
(0, import_sequelize_typescript65.Column)({
|
|
7763
7833
|
allowNull: true,
|
|
7764
7834
|
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7765
7835
|
})
|
|
7766
|
-
],
|
|
7767
|
-
__decorateClass([
|
|
7768
|
-
(0, import_sequelize_typescript65.Column)({
|
|
7769
|
-
field: "start_date",
|
|
7770
|
-
allowNull: true,
|
|
7771
|
-
type: import_sequelize_typescript65.DataType.DATEONLY
|
|
7772
|
-
})
|
|
7773
|
-
], msExecutiveGroup.prototype, "startDate", 2);
|
|
7774
|
-
__decorateClass([
|
|
7775
|
-
(0, import_sequelize_typescript65.Column)({
|
|
7776
|
-
field: "end_date",
|
|
7777
|
-
allowNull: true,
|
|
7778
|
-
type: import_sequelize_typescript65.DataType.DATEONLY
|
|
7779
|
-
})
|
|
7780
|
-
], msExecutiveGroup.prototype, "endDate", 2);
|
|
7781
|
-
__decorateClass([
|
|
7782
|
-
(0, import_sequelize_typescript65.Column)({
|
|
7783
|
-
allowNull: true,
|
|
7784
|
-
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7785
|
-
})
|
|
7786
|
-
], msExecutiveGroup.prototype, "sort", 2);
|
|
7836
|
+
], msConsultSiteIssue.prototype, "name", 2);
|
|
7787
7837
|
__decorateClass([
|
|
7788
7838
|
(0, import_sequelize_typescript65.Column)({
|
|
7789
7839
|
allowNull: true,
|
|
7790
|
-
type: import_sequelize_typescript65.DataType.
|
|
7840
|
+
type: import_sequelize_typescript65.DataType.STRING
|
|
7791
7841
|
})
|
|
7792
|
-
],
|
|
7842
|
+
], msConsultSiteIssue.prototype, "detail", 2);
|
|
7793
7843
|
__decorateClass([
|
|
7794
7844
|
(0, import_sequelize_typescript65.Column)({
|
|
7795
7845
|
allowNull: true,
|
|
7796
|
-
type: import_sequelize_typescript65.DataType.
|
|
7846
|
+
type: import_sequelize_typescript65.DataType.INTEGER,
|
|
7847
|
+
defaultValue: "1"
|
|
7797
7848
|
})
|
|
7798
|
-
],
|
|
7849
|
+
], msConsultSiteIssue.prototype, "status", 2);
|
|
7799
7850
|
__decorateClass([
|
|
7800
7851
|
(0, import_sequelize_typescript65.Column)({
|
|
7801
7852
|
field: "created_by",
|
|
7802
7853
|
allowNull: true,
|
|
7803
7854
|
type: import_sequelize_typescript65.DataType.STRING(60)
|
|
7804
7855
|
})
|
|
7805
|
-
],
|
|
7856
|
+
], msConsultSiteIssue.prototype, "createdBy", 2);
|
|
7806
7857
|
__decorateClass([
|
|
7807
7858
|
(0, import_sequelize_typescript65.Column)({
|
|
7808
7859
|
field: "created_date",
|
|
7809
7860
|
allowNull: true,
|
|
7810
7861
|
type: import_sequelize_typescript65.DataType.DATE
|
|
7811
7862
|
})
|
|
7812
|
-
],
|
|
7863
|
+
], msConsultSiteIssue.prototype, "createdDate", 2);
|
|
7813
7864
|
__decorateClass([
|
|
7814
7865
|
(0, import_sequelize_typescript65.Column)({
|
|
7815
7866
|
field: "updated_by",
|
|
7816
7867
|
allowNull: true,
|
|
7817
7868
|
type: import_sequelize_typescript65.DataType.STRING(60)
|
|
7818
7869
|
})
|
|
7819
|
-
],
|
|
7870
|
+
], msConsultSiteIssue.prototype, "updatedBy", 2);
|
|
7820
7871
|
__decorateClass([
|
|
7821
7872
|
(0, import_sequelize_typescript65.Column)({
|
|
7822
7873
|
field: "updated_date",
|
|
7823
7874
|
allowNull: true,
|
|
7824
7875
|
type: import_sequelize_typescript65.DataType.DATE
|
|
7825
7876
|
})
|
|
7826
|
-
],
|
|
7827
|
-
__decorateClass([
|
|
7828
|
-
(0, import_sequelize_typescript65.HasMany)(() => msExecutive, {
|
|
7829
|
-
sourceKey: "id"
|
|
7830
|
-
})
|
|
7831
|
-
], msExecutiveGroup.prototype, "msExecutives", 2);
|
|
7832
|
-
msExecutiveGroup = __decorateClass([
|
|
7877
|
+
], msConsultSiteIssue.prototype, "updatedDate", 2);
|
|
7878
|
+
msConsultSiteIssue = __decorateClass([
|
|
7833
7879
|
(0, import_sequelize_typescript65.Table)({
|
|
7834
|
-
tableName: "
|
|
7880
|
+
tableName: "ms_consult_site_issue",
|
|
7835
7881
|
timestamps: false
|
|
7836
7882
|
})
|
|
7837
|
-
],
|
|
7883
|
+
], msConsultSiteIssue);
|
|
7838
7884
|
|
|
7839
|
-
// src/databases/tables/
|
|
7885
|
+
// src/databases/tables/msConsultSiteStaff.ts
|
|
7840
7886
|
var import_sequelize_typescript66 = require("sequelize-typescript");
|
|
7841
|
-
var
|
|
7887
|
+
var msConsultSiteStaff = class extends import_sequelize_typescript66.Model {
|
|
7842
7888
|
};
|
|
7843
7889
|
__decorateClass([
|
|
7844
7890
|
(0, import_sequelize_typescript66.Column)({
|
|
@@ -7846,508 +7892,495 @@ __decorateClass([
|
|
|
7846
7892
|
autoIncrement: true,
|
|
7847
7893
|
type: import_sequelize_typescript66.DataType.INTEGER
|
|
7848
7894
|
})
|
|
7849
|
-
],
|
|
7895
|
+
], msConsultSiteStaff.prototype, "id", 2);
|
|
7850
7896
|
__decorateClass([
|
|
7851
7897
|
(0, import_sequelize_typescript66.Column)({
|
|
7852
|
-
field: "
|
|
7898
|
+
field: "site_id",
|
|
7853
7899
|
allowNull: true,
|
|
7854
7900
|
type: import_sequelize_typescript66.DataType.INTEGER
|
|
7855
7901
|
})
|
|
7856
|
-
],
|
|
7857
|
-
__decorateClass([
|
|
7858
|
-
(0, import_sequelize_typescript66.Column)({
|
|
7859
|
-
allowNull: true,
|
|
7860
|
-
type: import_sequelize_typescript66.DataType.STRING(255)
|
|
7861
|
-
})
|
|
7862
|
-
], msExecutivePosition.prototype, "name", 2);
|
|
7902
|
+
], msConsultSiteStaff.prototype, "siteId", 2);
|
|
7863
7903
|
__decorateClass([
|
|
7864
7904
|
(0, import_sequelize_typescript66.Column)({
|
|
7865
7905
|
allowNull: true,
|
|
7866
7906
|
type: import_sequelize_typescript66.DataType.STRING(255)
|
|
7867
7907
|
})
|
|
7868
|
-
],
|
|
7908
|
+
], msConsultSiteStaff.prototype, "name", 2);
|
|
7869
7909
|
__decorateClass([
|
|
7870
7910
|
(0, import_sequelize_typescript66.Column)({
|
|
7871
|
-
field: "updated_info",
|
|
7872
7911
|
allowNull: true,
|
|
7873
|
-
type: import_sequelize_typescript66.DataType.
|
|
7912
|
+
type: import_sequelize_typescript66.DataType.INTEGER
|
|
7874
7913
|
})
|
|
7875
|
-
],
|
|
7914
|
+
], msConsultSiteStaff.prototype, "status", 2);
|
|
7876
7915
|
__decorateClass([
|
|
7877
7916
|
(0, import_sequelize_typescript66.Column)({
|
|
7917
|
+
field: "created_by",
|
|
7878
7918
|
allowNull: true,
|
|
7879
|
-
type: import_sequelize_typescript66.DataType.STRING
|
|
7919
|
+
type: import_sequelize_typescript66.DataType.STRING(60)
|
|
7880
7920
|
})
|
|
7881
|
-
],
|
|
7921
|
+
], msConsultSiteStaff.prototype, "createdBy", 2);
|
|
7882
7922
|
__decorateClass([
|
|
7883
7923
|
(0, import_sequelize_typescript66.Column)({
|
|
7924
|
+
field: "created_date",
|
|
7884
7925
|
allowNull: true,
|
|
7885
|
-
type: import_sequelize_typescript66.DataType.
|
|
7926
|
+
type: import_sequelize_typescript66.DataType.DATE
|
|
7886
7927
|
})
|
|
7887
|
-
],
|
|
7928
|
+
], msConsultSiteStaff.prototype, "createdDate", 2);
|
|
7888
7929
|
__decorateClass([
|
|
7889
7930
|
(0, import_sequelize_typescript66.Column)({
|
|
7931
|
+
field: "updated_by",
|
|
7890
7932
|
allowNull: true,
|
|
7891
|
-
type: import_sequelize_typescript66.DataType.
|
|
7933
|
+
type: import_sequelize_typescript66.DataType.STRING(60)
|
|
7892
7934
|
})
|
|
7893
|
-
],
|
|
7935
|
+
], msConsultSiteStaff.prototype, "updatedBy", 2);
|
|
7894
7936
|
__decorateClass([
|
|
7895
7937
|
(0, import_sequelize_typescript66.Column)({
|
|
7938
|
+
field: "updated_date",
|
|
7896
7939
|
allowNull: true,
|
|
7897
|
-
type: import_sequelize_typescript66.DataType.
|
|
7940
|
+
type: import_sequelize_typescript66.DataType.DATE
|
|
7898
7941
|
})
|
|
7899
|
-
],
|
|
7942
|
+
], msConsultSiteStaff.prototype, "updatedDate", 2);
|
|
7943
|
+
msConsultSiteStaff = __decorateClass([
|
|
7944
|
+
(0, import_sequelize_typescript66.Table)({
|
|
7945
|
+
tableName: "ms_consult_site_staff",
|
|
7946
|
+
timestamps: false
|
|
7947
|
+
})
|
|
7948
|
+
], msConsultSiteStaff);
|
|
7949
|
+
|
|
7950
|
+
// src/databases/tables/msExecutive.ts
|
|
7951
|
+
var import_sequelize_typescript68 = require("sequelize-typescript");
|
|
7952
|
+
|
|
7953
|
+
// src/databases/tables/msExecutiveGroup.ts
|
|
7954
|
+
var import_sequelize_typescript67 = require("sequelize-typescript");
|
|
7955
|
+
var msExecutiveGroup = class extends import_sequelize_typescript67.Model {
|
|
7956
|
+
};
|
|
7900
7957
|
__decorateClass([
|
|
7901
|
-
(0,
|
|
7958
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7959
|
+
primaryKey: true,
|
|
7960
|
+
autoIncrement: true,
|
|
7961
|
+
type: import_sequelize_typescript67.DataType.INTEGER
|
|
7962
|
+
})
|
|
7963
|
+
], msExecutiveGroup.prototype, "id", 2);
|
|
7964
|
+
__decorateClass([
|
|
7965
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7966
|
+
allowNull: true,
|
|
7967
|
+
type: import_sequelize_typescript67.DataType.STRING(60)
|
|
7968
|
+
})
|
|
7969
|
+
], msExecutiveGroup.prototype, "uuid", 2);
|
|
7970
|
+
__decorateClass([
|
|
7971
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7972
|
+
allowNull: true,
|
|
7973
|
+
type: import_sequelize_typescript67.DataType.INTEGER
|
|
7974
|
+
})
|
|
7975
|
+
], msExecutiveGroup.prototype, "type", 2);
|
|
7976
|
+
__decorateClass([
|
|
7977
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7978
|
+
allowNull: true,
|
|
7979
|
+
type: import_sequelize_typescript67.DataType.STRING(255)
|
|
7980
|
+
})
|
|
7981
|
+
], msExecutiveGroup.prototype, "name", 2);
|
|
7982
|
+
__decorateClass([
|
|
7983
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7984
|
+
allowNull: true,
|
|
7985
|
+
type: import_sequelize_typescript67.DataType.STRING(255)
|
|
7986
|
+
})
|
|
7987
|
+
], msExecutiveGroup.prototype, "description", 2);
|
|
7988
|
+
__decorateClass([
|
|
7989
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7990
|
+
field: "start_date",
|
|
7991
|
+
allowNull: true,
|
|
7992
|
+
type: import_sequelize_typescript67.DataType.DATEONLY
|
|
7993
|
+
})
|
|
7994
|
+
], msExecutiveGroup.prototype, "startDate", 2);
|
|
7995
|
+
__decorateClass([
|
|
7996
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7997
|
+
field: "end_date",
|
|
7998
|
+
allowNull: true,
|
|
7999
|
+
type: import_sequelize_typescript67.DataType.DATEONLY
|
|
8000
|
+
})
|
|
8001
|
+
], msExecutiveGroup.prototype, "endDate", 2);
|
|
8002
|
+
__decorateClass([
|
|
8003
|
+
(0, import_sequelize_typescript67.Column)({
|
|
8004
|
+
allowNull: true,
|
|
8005
|
+
type: import_sequelize_typescript67.DataType.INTEGER
|
|
8006
|
+
})
|
|
8007
|
+
], msExecutiveGroup.prototype, "sort", 2);
|
|
8008
|
+
__decorateClass([
|
|
8009
|
+
(0, import_sequelize_typescript67.Column)({
|
|
8010
|
+
allowNull: true,
|
|
8011
|
+
type: import_sequelize_typescript67.DataType.INTEGER
|
|
8012
|
+
})
|
|
8013
|
+
], msExecutiveGroup.prototype, "status", 2);
|
|
8014
|
+
__decorateClass([
|
|
8015
|
+
(0, import_sequelize_typescript67.Column)({
|
|
8016
|
+
allowNull: true,
|
|
8017
|
+
type: import_sequelize_typescript67.DataType.JSON
|
|
8018
|
+
})
|
|
8019
|
+
], msExecutiveGroup.prototype, "info", 2);
|
|
8020
|
+
__decorateClass([
|
|
8021
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7902
8022
|
field: "created_by",
|
|
7903
8023
|
allowNull: true,
|
|
7904
|
-
type:
|
|
8024
|
+
type: import_sequelize_typescript67.DataType.STRING(60)
|
|
7905
8025
|
})
|
|
7906
|
-
],
|
|
8026
|
+
], msExecutiveGroup.prototype, "createdBy", 2);
|
|
7907
8027
|
__decorateClass([
|
|
7908
|
-
(0,
|
|
8028
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7909
8029
|
field: "created_date",
|
|
7910
8030
|
allowNull: true,
|
|
7911
|
-
type:
|
|
8031
|
+
type: import_sequelize_typescript67.DataType.DATE
|
|
7912
8032
|
})
|
|
7913
|
-
],
|
|
8033
|
+
], msExecutiveGroup.prototype, "createdDate", 2);
|
|
7914
8034
|
__decorateClass([
|
|
7915
|
-
(0,
|
|
8035
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7916
8036
|
field: "updated_by",
|
|
7917
8037
|
allowNull: true,
|
|
7918
|
-
type:
|
|
8038
|
+
type: import_sequelize_typescript67.DataType.STRING(60)
|
|
7919
8039
|
})
|
|
7920
|
-
],
|
|
8040
|
+
], msExecutiveGroup.prototype, "updatedBy", 2);
|
|
7921
8041
|
__decorateClass([
|
|
7922
|
-
(0,
|
|
8042
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7923
8043
|
field: "updated_date",
|
|
7924
8044
|
allowNull: true,
|
|
7925
|
-
type:
|
|
8045
|
+
type: import_sequelize_typescript67.DataType.DATE
|
|
7926
8046
|
})
|
|
7927
|
-
],
|
|
8047
|
+
], msExecutiveGroup.prototype, "updatedDate", 2);
|
|
7928
8048
|
__decorateClass([
|
|
7929
|
-
(0,
|
|
8049
|
+
(0, import_sequelize_typescript67.HasMany)(() => msExecutive, {
|
|
7930
8050
|
sourceKey: "id"
|
|
7931
8051
|
})
|
|
7932
|
-
],
|
|
7933
|
-
|
|
7934
|
-
(0,
|
|
7935
|
-
tableName: "
|
|
8052
|
+
], msExecutiveGroup.prototype, "msExecutives", 2);
|
|
8053
|
+
msExecutiveGroup = __decorateClass([
|
|
8054
|
+
(0, import_sequelize_typescript67.Table)({
|
|
8055
|
+
tableName: "ms_executive_group",
|
|
7936
8056
|
timestamps: false
|
|
7937
8057
|
})
|
|
7938
|
-
],
|
|
8058
|
+
], msExecutiveGroup);
|
|
7939
8059
|
|
|
7940
8060
|
// src/databases/tables/msExecutive.ts
|
|
7941
|
-
var msExecutive = class extends
|
|
8061
|
+
var msExecutive = class extends import_sequelize_typescript68.Model {
|
|
7942
8062
|
};
|
|
7943
8063
|
__decorateClass([
|
|
7944
|
-
(0,
|
|
8064
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7945
8065
|
primaryKey: true,
|
|
7946
8066
|
autoIncrement: true,
|
|
7947
|
-
type:
|
|
8067
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
7948
8068
|
})
|
|
7949
8069
|
], msExecutive.prototype, "id", 2);
|
|
7950
8070
|
__decorateClass([
|
|
7951
|
-
(0,
|
|
7952
|
-
(0,
|
|
8071
|
+
(0, import_sequelize_typescript68.ForeignKey)(() => msExecutiveGroup),
|
|
8072
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7953
8073
|
field: "group_id",
|
|
7954
8074
|
allowNull: true,
|
|
7955
|
-
type:
|
|
8075
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
7956
8076
|
})
|
|
7957
8077
|
], msExecutive.prototype, "groupId", 2);
|
|
7958
8078
|
__decorateClass([
|
|
7959
|
-
(0,
|
|
8079
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7960
8080
|
field: "level_id",
|
|
7961
8081
|
allowNull: true,
|
|
7962
|
-
type:
|
|
8082
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
7963
8083
|
})
|
|
7964
8084
|
], msExecutive.prototype, "levelId", 2);
|
|
7965
8085
|
__decorateClass([
|
|
7966
|
-
(0,
|
|
8086
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7967
8087
|
field: "position_name",
|
|
7968
8088
|
allowNull: true,
|
|
7969
|
-
type:
|
|
8089
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
7970
8090
|
})
|
|
7971
8091
|
], msExecutive.prototype, "positionName", 2);
|
|
7972
8092
|
__decorateClass([
|
|
7973
|
-
(0,
|
|
8093
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7974
8094
|
field: "position_other",
|
|
7975
8095
|
allowNull: true,
|
|
7976
|
-
type:
|
|
8096
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
7977
8097
|
})
|
|
7978
8098
|
], msExecutive.prototype, "positionOther", 2);
|
|
7979
8099
|
__decorateClass([
|
|
7980
|
-
(0,
|
|
8100
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7981
8101
|
field: "title_id",
|
|
7982
8102
|
allowNull: true,
|
|
7983
|
-
type:
|
|
8103
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
7984
8104
|
})
|
|
7985
8105
|
], msExecutive.prototype, "titleId", 2);
|
|
7986
8106
|
__decorateClass([
|
|
7987
|
-
(0,
|
|
8107
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7988
8108
|
field: "first_name",
|
|
7989
8109
|
allowNull: true,
|
|
7990
|
-
type:
|
|
8110
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
7991
8111
|
})
|
|
7992
8112
|
], msExecutive.prototype, "firstName", 2);
|
|
7993
8113
|
__decorateClass([
|
|
7994
|
-
(0,
|
|
8114
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7995
8115
|
field: "last_name",
|
|
7996
8116
|
allowNull: true,
|
|
7997
|
-
type:
|
|
8117
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
7998
8118
|
})
|
|
7999
8119
|
], msExecutive.prototype, "lastName", 2);
|
|
8000
8120
|
__decorateClass([
|
|
8001
|
-
(0,
|
|
8121
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8002
8122
|
allowNull: true,
|
|
8003
|
-
type:
|
|
8123
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8004
8124
|
})
|
|
8005
8125
|
], msExecutive.prototype, "email", 2);
|
|
8006
8126
|
__decorateClass([
|
|
8007
|
-
(0,
|
|
8127
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8008
8128
|
allowNull: true,
|
|
8009
|
-
type:
|
|
8129
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8010
8130
|
})
|
|
8011
8131
|
], msExecutive.prototype, "phone", 2);
|
|
8012
8132
|
__decorateClass([
|
|
8013
|
-
(0,
|
|
8133
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8014
8134
|
allowNull: true,
|
|
8015
|
-
type:
|
|
8135
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8016
8136
|
})
|
|
8017
8137
|
], msExecutive.prototype, "fax", 2);
|
|
8018
8138
|
__decorateClass([
|
|
8019
|
-
(0,
|
|
8139
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8020
8140
|
allowNull: true,
|
|
8021
|
-
type:
|
|
8141
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8022
8142
|
})
|
|
8023
8143
|
], msExecutive.prototype, "education", 2);
|
|
8024
8144
|
__decorateClass([
|
|
8025
|
-
(0,
|
|
8145
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8026
8146
|
allowNull: true,
|
|
8027
|
-
type:
|
|
8147
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8028
8148
|
})
|
|
8029
8149
|
], msExecutive.prototype, "experience", 2);
|
|
8030
8150
|
__decorateClass([
|
|
8031
|
-
(0,
|
|
8151
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8032
8152
|
allowNull: true,
|
|
8033
|
-
type:
|
|
8153
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8034
8154
|
})
|
|
8035
8155
|
], msExecutive.prototype, "image", 2);
|
|
8036
8156
|
__decorateClass([
|
|
8037
|
-
(0,
|
|
8157
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8038
8158
|
allowNull: true,
|
|
8039
|
-
type:
|
|
8159
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8040
8160
|
})
|
|
8041
8161
|
], msExecutive.prototype, "sort", 2);
|
|
8042
8162
|
__decorateClass([
|
|
8043
|
-
(0,
|
|
8163
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8044
8164
|
allowNull: true,
|
|
8045
|
-
type:
|
|
8165
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8046
8166
|
})
|
|
8047
8167
|
], msExecutive.prototype, "status", 2);
|
|
8048
8168
|
__decorateClass([
|
|
8049
|
-
(0,
|
|
8169
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8050
8170
|
allowNull: true,
|
|
8051
|
-
type:
|
|
8171
|
+
type: import_sequelize_typescript68.DataType.JSON
|
|
8052
8172
|
})
|
|
8053
8173
|
], msExecutive.prototype, "info", 2);
|
|
8054
8174
|
__decorateClass([
|
|
8055
|
-
(0,
|
|
8175
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8056
8176
|
field: "created_by",
|
|
8057
8177
|
allowNull: true,
|
|
8058
|
-
type:
|
|
8178
|
+
type: import_sequelize_typescript68.DataType.STRING(60)
|
|
8059
8179
|
})
|
|
8060
8180
|
], msExecutive.prototype, "createdBy", 2);
|
|
8061
8181
|
__decorateClass([
|
|
8062
|
-
(0,
|
|
8182
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8063
8183
|
field: "created_date",
|
|
8064
8184
|
allowNull: true,
|
|
8065
|
-
type:
|
|
8185
|
+
type: import_sequelize_typescript68.DataType.DATE
|
|
8066
8186
|
})
|
|
8067
8187
|
], msExecutive.prototype, "createdDate", 2);
|
|
8068
8188
|
__decorateClass([
|
|
8069
|
-
(0,
|
|
8189
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8070
8190
|
field: "updated_by",
|
|
8071
8191
|
allowNull: true,
|
|
8072
|
-
type:
|
|
8192
|
+
type: import_sequelize_typescript68.DataType.STRING(60)
|
|
8073
8193
|
})
|
|
8074
8194
|
], msExecutive.prototype, "updatedBy", 2);
|
|
8075
8195
|
__decorateClass([
|
|
8076
|
-
(0,
|
|
8196
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8077
8197
|
field: "updated_date",
|
|
8078
8198
|
allowNull: true,
|
|
8079
|
-
type:
|
|
8199
|
+
type: import_sequelize_typescript68.DataType.DATE
|
|
8080
8200
|
})
|
|
8081
8201
|
], msExecutive.prototype, "updatedDate", 2);
|
|
8082
8202
|
__decorateClass([
|
|
8083
|
-
(0,
|
|
8084
|
-
(0, import_sequelize_typescript67.Column)({
|
|
8203
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8085
8204
|
field: "position_id",
|
|
8086
8205
|
allowNull: true,
|
|
8087
|
-
type:
|
|
8206
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8088
8207
|
})
|
|
8089
8208
|
], msExecutive.prototype, "positionId", 2);
|
|
8090
8209
|
__decorateClass([
|
|
8091
|
-
(0,
|
|
8210
|
+
(0, import_sequelize_typescript68.BelongsTo)(() => msExecutiveGroup)
|
|
8092
8211
|
], msExecutive.prototype, "msExecutiveGroup", 2);
|
|
8093
|
-
__decorateClass([
|
|
8094
|
-
(0, import_sequelize_typescript67.BelongsTo)(() => msExecutivePosition)
|
|
8095
|
-
], msExecutive.prototype, "msExecutivePosition", 2);
|
|
8096
8212
|
msExecutive = __decorateClass([
|
|
8097
|
-
(0,
|
|
8213
|
+
(0, import_sequelize_typescript68.Table)({
|
|
8098
8214
|
tableName: "ms_executive",
|
|
8099
8215
|
timestamps: false
|
|
8100
8216
|
})
|
|
8101
8217
|
], msExecutive);
|
|
8102
8218
|
|
|
8103
|
-
// src/databases/tables/
|
|
8104
|
-
var
|
|
8105
|
-
var
|
|
8219
|
+
// src/databases/tables/msExecutiveActing.ts
|
|
8220
|
+
var import_sequelize_typescript69 = require("sequelize-typescript");
|
|
8221
|
+
var msExecutiveActing = class extends import_sequelize_typescript69.Model {
|
|
8106
8222
|
};
|
|
8107
8223
|
__decorateClass([
|
|
8108
|
-
(0,
|
|
8224
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8109
8225
|
primaryKey: true,
|
|
8110
8226
|
autoIncrement: true,
|
|
8111
|
-
type:
|
|
8112
|
-
})
|
|
8113
|
-
], msExecutiveBoard.prototype, "id", 2);
|
|
8114
|
-
__decorateClass([
|
|
8115
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8116
|
-
allowNull: true,
|
|
8117
|
-
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8227
|
+
type: import_sequelize_typescript69.DataType.INTEGER
|
|
8118
8228
|
})
|
|
8119
|
-
],
|
|
8229
|
+
], msExecutiveActing.prototype, "id", 2);
|
|
8120
8230
|
__decorateClass([
|
|
8121
|
-
(0,
|
|
8122
|
-
field: "name_info",
|
|
8231
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8123
8232
|
allowNull: true,
|
|
8124
|
-
type:
|
|
8233
|
+
type: import_sequelize_typescript69.DataType.STRING(255)
|
|
8125
8234
|
})
|
|
8126
|
-
],
|
|
8235
|
+
], msExecutiveActing.prototype, "name", 2);
|
|
8127
8236
|
__decorateClass([
|
|
8128
|
-
(0,
|
|
8237
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8129
8238
|
allowNull: true,
|
|
8130
|
-
type:
|
|
8239
|
+
type: import_sequelize_typescript69.DataType.JSON
|
|
8131
8240
|
})
|
|
8132
|
-
],
|
|
8241
|
+
], msExecutiveActing.prototype, "info", 2);
|
|
8133
8242
|
__decorateClass([
|
|
8134
|
-
(0,
|
|
8243
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8135
8244
|
allowNull: true,
|
|
8136
|
-
type:
|
|
8245
|
+
type: import_sequelize_typescript69.DataType.INTEGER
|
|
8137
8246
|
})
|
|
8138
|
-
],
|
|
8247
|
+
], msExecutiveActing.prototype, "status", 2);
|
|
8139
8248
|
__decorateClass([
|
|
8140
|
-
(0,
|
|
8249
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8141
8250
|
field: "created_by",
|
|
8142
8251
|
allowNull: true,
|
|
8143
|
-
type:
|
|
8252
|
+
type: import_sequelize_typescript69.DataType.STRING(60)
|
|
8144
8253
|
})
|
|
8145
|
-
],
|
|
8254
|
+
], msExecutiveActing.prototype, "createdBy", 2);
|
|
8146
8255
|
__decorateClass([
|
|
8147
|
-
(0,
|
|
8256
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8148
8257
|
field: "created_date",
|
|
8149
8258
|
allowNull: true,
|
|
8150
|
-
type:
|
|
8259
|
+
type: import_sequelize_typescript69.DataType.DATE
|
|
8151
8260
|
})
|
|
8152
|
-
],
|
|
8261
|
+
], msExecutiveActing.prototype, "createdDate", 2);
|
|
8153
8262
|
__decorateClass([
|
|
8154
|
-
(0,
|
|
8263
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8155
8264
|
field: "updated_by",
|
|
8156
8265
|
allowNull: true,
|
|
8157
|
-
type:
|
|
8266
|
+
type: import_sequelize_typescript69.DataType.STRING(60)
|
|
8158
8267
|
})
|
|
8159
|
-
],
|
|
8268
|
+
], msExecutiveActing.prototype, "updatedBy", 2);
|
|
8160
8269
|
__decorateClass([
|
|
8161
|
-
(0,
|
|
8270
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8162
8271
|
field: "updated_date",
|
|
8163
8272
|
allowNull: true,
|
|
8164
|
-
type:
|
|
8273
|
+
type: import_sequelize_typescript69.DataType.DATE
|
|
8165
8274
|
})
|
|
8166
|
-
],
|
|
8167
|
-
|
|
8168
|
-
(0,
|
|
8169
|
-
tableName: "
|
|
8275
|
+
], msExecutiveActing.prototype, "updatedDate", 2);
|
|
8276
|
+
msExecutiveActing = __decorateClass([
|
|
8277
|
+
(0, import_sequelize_typescript69.Table)({
|
|
8278
|
+
tableName: "ms_executive_acting",
|
|
8170
8279
|
timestamps: false
|
|
8171
8280
|
})
|
|
8172
|
-
],
|
|
8281
|
+
], msExecutiveActing);
|
|
8173
8282
|
|
|
8174
8283
|
// src/databases/tables/msExecutiveLevel.ts
|
|
8175
|
-
var
|
|
8176
|
-
var msExecutiveLevel = class extends
|
|
8284
|
+
var import_sequelize_typescript70 = require("sequelize-typescript");
|
|
8285
|
+
var msExecutiveLevel = class extends import_sequelize_typescript70.Model {
|
|
8177
8286
|
};
|
|
8178
8287
|
__decorateClass([
|
|
8179
|
-
(0,
|
|
8288
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8180
8289
|
primaryKey: true,
|
|
8181
8290
|
autoIncrement: true,
|
|
8182
|
-
type:
|
|
8291
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8183
8292
|
})
|
|
8184
8293
|
], msExecutiveLevel.prototype, "id", 2);
|
|
8185
8294
|
__decorateClass([
|
|
8186
|
-
(0,
|
|
8295
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8187
8296
|
field: "group_id",
|
|
8188
8297
|
allowNull: true,
|
|
8189
|
-
type:
|
|
8298
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8190
8299
|
})
|
|
8191
8300
|
], msExecutiveLevel.prototype, "groupId", 2);
|
|
8192
8301
|
__decorateClass([
|
|
8193
|
-
(0,
|
|
8302
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8194
8303
|
allowNull: true,
|
|
8195
|
-
type:
|
|
8304
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8196
8305
|
})
|
|
8197
8306
|
], msExecutiveLevel.prototype, "level", 2);
|
|
8198
8307
|
__decorateClass([
|
|
8199
|
-
(0,
|
|
8308
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8200
8309
|
allowNull: true,
|
|
8201
|
-
type:
|
|
8310
|
+
type: import_sequelize_typescript70.DataType.STRING(255)
|
|
8202
8311
|
})
|
|
8203
8312
|
], msExecutiveLevel.prototype, "name", 2);
|
|
8204
8313
|
__decorateClass([
|
|
8205
|
-
(0,
|
|
8314
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8206
8315
|
allowNull: true,
|
|
8207
|
-
type:
|
|
8316
|
+
type: import_sequelize_typescript70.DataType.STRING(255)
|
|
8208
8317
|
})
|
|
8209
8318
|
], msExecutiveLevel.prototype, "description", 2);
|
|
8210
|
-
__decorateClass([
|
|
8211
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8212
|
-
allowNull: true,
|
|
8213
|
-
type: import_sequelize_typescript69.DataType.INTEGER
|
|
8214
|
-
})
|
|
8215
|
-
], msExecutiveLevel.prototype, "sort", 2);
|
|
8216
|
-
__decorateClass([
|
|
8217
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8218
|
-
allowNull: true,
|
|
8219
|
-
type: import_sequelize_typescript69.DataType.INTEGER
|
|
8220
|
-
})
|
|
8221
|
-
], msExecutiveLevel.prototype, "status", 2);
|
|
8222
|
-
__decorateClass([
|
|
8223
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8224
|
-
field: "updated_info",
|
|
8225
|
-
allowNull: true,
|
|
8226
|
-
type: import_sequelize_typescript69.DataType.STRING(255)
|
|
8227
|
-
})
|
|
8228
|
-
], msExecutiveLevel.prototype, "updatedInfo", 2);
|
|
8229
|
-
__decorateClass([
|
|
8230
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8231
|
-
allowNull: true,
|
|
8232
|
-
type: import_sequelize_typescript69.DataType.STRING
|
|
8233
|
-
})
|
|
8234
|
-
], msExecutiveLevel.prototype, "remark", 2);
|
|
8235
|
-
__decorateClass([
|
|
8236
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8237
|
-
allowNull: true,
|
|
8238
|
-
type: import_sequelize_typescript69.DataType.JSON
|
|
8239
|
-
})
|
|
8240
|
-
], msExecutiveLevel.prototype, "info", 2);
|
|
8241
|
-
__decorateClass([
|
|
8242
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8243
|
-
field: "created_by",
|
|
8244
|
-
allowNull: true,
|
|
8245
|
-
type: import_sequelize_typescript69.DataType.STRING(60)
|
|
8246
|
-
})
|
|
8247
|
-
], msExecutiveLevel.prototype, "createdBy", 2);
|
|
8248
|
-
__decorateClass([
|
|
8249
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8250
|
-
field: "created_date",
|
|
8251
|
-
allowNull: true,
|
|
8252
|
-
type: import_sequelize_typescript69.DataType.DATE
|
|
8253
|
-
})
|
|
8254
|
-
], msExecutiveLevel.prototype, "createdDate", 2);
|
|
8255
|
-
__decorateClass([
|
|
8256
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8257
|
-
field: "updated_by",
|
|
8258
|
-
allowNull: true,
|
|
8259
|
-
type: import_sequelize_typescript69.DataType.STRING(60)
|
|
8260
|
-
})
|
|
8261
|
-
], msExecutiveLevel.prototype, "updatedBy", 2);
|
|
8262
|
-
__decorateClass([
|
|
8263
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8264
|
-
field: "updated_date",
|
|
8265
|
-
allowNull: true,
|
|
8266
|
-
type: import_sequelize_typescript69.DataType.DATE
|
|
8267
|
-
})
|
|
8268
|
-
], msExecutiveLevel.prototype, "updatedDate", 2);
|
|
8269
|
-
msExecutiveLevel = __decorateClass([
|
|
8270
|
-
(0, import_sequelize_typescript69.Table)({
|
|
8271
|
-
tableName: "ms_executive_level",
|
|
8272
|
-
timestamps: false
|
|
8273
|
-
})
|
|
8274
|
-
], msExecutiveLevel);
|
|
8275
|
-
|
|
8276
|
-
// src/databases/tables/msGuidelines.ts
|
|
8277
|
-
var import_sequelize_typescript70 = require("sequelize-typescript");
|
|
8278
|
-
var msGuidelines = class extends import_sequelize_typescript70.Model {
|
|
8279
|
-
};
|
|
8280
8319
|
__decorateClass([
|
|
8281
8320
|
(0, import_sequelize_typescript70.Column)({
|
|
8282
|
-
|
|
8283
|
-
autoIncrement: true,
|
|
8321
|
+
allowNull: true,
|
|
8284
8322
|
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8285
8323
|
})
|
|
8286
|
-
],
|
|
8324
|
+
], msExecutiveLevel.prototype, "sort", 2);
|
|
8287
8325
|
__decorateClass([
|
|
8288
8326
|
(0, import_sequelize_typescript70.Column)({
|
|
8289
8327
|
allowNull: true,
|
|
8290
|
-
type: import_sequelize_typescript70.DataType.
|
|
8328
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8291
8329
|
})
|
|
8292
|
-
],
|
|
8330
|
+
], msExecutiveLevel.prototype, "status", 2);
|
|
8293
8331
|
__decorateClass([
|
|
8294
8332
|
(0, import_sequelize_typescript70.Column)({
|
|
8333
|
+
field: "updated_info",
|
|
8295
8334
|
allowNull: true,
|
|
8296
8335
|
type: import_sequelize_typescript70.DataType.STRING(255)
|
|
8297
8336
|
})
|
|
8298
|
-
],
|
|
8337
|
+
], msExecutiveLevel.prototype, "updatedInfo", 2);
|
|
8299
8338
|
__decorateClass([
|
|
8300
8339
|
(0, import_sequelize_typescript70.Column)({
|
|
8301
8340
|
allowNull: true,
|
|
8302
8341
|
type: import_sequelize_typescript70.DataType.STRING
|
|
8303
8342
|
})
|
|
8304
|
-
],
|
|
8305
|
-
__decorateClass([
|
|
8306
|
-
(0, import_sequelize_typescript70.Column)({
|
|
8307
|
-
allowNull: true,
|
|
8308
|
-
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8309
|
-
})
|
|
8310
|
-
], msGuidelines.prototype, "sort", 2);
|
|
8343
|
+
], msExecutiveLevel.prototype, "remark", 2);
|
|
8311
8344
|
__decorateClass([
|
|
8312
8345
|
(0, import_sequelize_typescript70.Column)({
|
|
8313
8346
|
allowNull: true,
|
|
8314
|
-
type: import_sequelize_typescript70.DataType.
|
|
8347
|
+
type: import_sequelize_typescript70.DataType.JSON
|
|
8315
8348
|
})
|
|
8316
|
-
],
|
|
8349
|
+
], msExecutiveLevel.prototype, "info", 2);
|
|
8317
8350
|
__decorateClass([
|
|
8318
8351
|
(0, import_sequelize_typescript70.Column)({
|
|
8319
8352
|
field: "created_by",
|
|
8320
8353
|
allowNull: true,
|
|
8321
8354
|
type: import_sequelize_typescript70.DataType.STRING(60)
|
|
8322
8355
|
})
|
|
8323
|
-
],
|
|
8356
|
+
], msExecutiveLevel.prototype, "createdBy", 2);
|
|
8324
8357
|
__decorateClass([
|
|
8325
8358
|
(0, import_sequelize_typescript70.Column)({
|
|
8326
8359
|
field: "created_date",
|
|
8327
8360
|
allowNull: true,
|
|
8328
8361
|
type: import_sequelize_typescript70.DataType.DATE
|
|
8329
8362
|
})
|
|
8330
|
-
],
|
|
8363
|
+
], msExecutiveLevel.prototype, "createdDate", 2);
|
|
8331
8364
|
__decorateClass([
|
|
8332
8365
|
(0, import_sequelize_typescript70.Column)({
|
|
8333
8366
|
field: "updated_by",
|
|
8334
8367
|
allowNull: true,
|
|
8335
8368
|
type: import_sequelize_typescript70.DataType.STRING(60)
|
|
8336
8369
|
})
|
|
8337
|
-
],
|
|
8370
|
+
], msExecutiveLevel.prototype, "updatedBy", 2);
|
|
8338
8371
|
__decorateClass([
|
|
8339
8372
|
(0, import_sequelize_typescript70.Column)({
|
|
8340
8373
|
field: "updated_date",
|
|
8341
8374
|
allowNull: true,
|
|
8342
8375
|
type: import_sequelize_typescript70.DataType.DATE
|
|
8343
8376
|
})
|
|
8344
|
-
],
|
|
8345
|
-
|
|
8377
|
+
], msExecutiveLevel.prototype, "updatedDate", 2);
|
|
8378
|
+
msExecutiveLevel = __decorateClass([
|
|
8346
8379
|
(0, import_sequelize_typescript70.Table)({
|
|
8347
|
-
tableName: "
|
|
8380
|
+
tableName: "ms_executive_level",
|
|
8348
8381
|
timestamps: false
|
|
8349
8382
|
})
|
|
8350
|
-
],
|
|
8383
|
+
], msExecutiveLevel);
|
|
8351
8384
|
|
|
8352
8385
|
// src/databases/tables/msHoliday.ts
|
|
8353
8386
|
var import_sequelize_typescript71 = require("sequelize-typescript");
|
|
@@ -8434,80 +8467,129 @@ msHoliday = __decorateClass([
|
|
|
8434
8467
|
})
|
|
8435
8468
|
], msHoliday);
|
|
8436
8469
|
|
|
8437
|
-
// src/databases/tables/
|
|
8470
|
+
// src/databases/tables/msOrganization.ts
|
|
8438
8471
|
var import_sequelize_typescript72 = require("sequelize-typescript");
|
|
8439
|
-
var
|
|
8472
|
+
var msOrganization = class extends import_sequelize_typescript72.Model {
|
|
8440
8473
|
};
|
|
8441
8474
|
__decorateClass([
|
|
8442
8475
|
(0, import_sequelize_typescript72.Column)({
|
|
8443
8476
|
primaryKey: true,
|
|
8477
|
+
autoIncrement: true,
|
|
8444
8478
|
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8445
8479
|
})
|
|
8446
|
-
],
|
|
8480
|
+
], msOrganization.prototype, "id", 2);
|
|
8481
|
+
__decorateClass([
|
|
8482
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8483
|
+
field: "parent_id",
|
|
8484
|
+
allowNull: true,
|
|
8485
|
+
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8486
|
+
})
|
|
8487
|
+
], msOrganization.prototype, "parentId", 2);
|
|
8488
|
+
__decorateClass([
|
|
8489
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8490
|
+
field: "organization_id",
|
|
8491
|
+
allowNull: true,
|
|
8492
|
+
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8493
|
+
})
|
|
8494
|
+
], msOrganization.prototype, "organizationId", 2);
|
|
8495
|
+
__decorateClass([
|
|
8496
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8497
|
+
field: "organization_code",
|
|
8498
|
+
allowNull: true,
|
|
8499
|
+
type: import_sequelize_typescript72.DataType.STRING(10)
|
|
8500
|
+
})
|
|
8501
|
+
], msOrganization.prototype, "organizationCode", 2);
|
|
8447
8502
|
__decorateClass([
|
|
8448
8503
|
(0, import_sequelize_typescript72.Column)({
|
|
8449
8504
|
allowNull: true,
|
|
8450
8505
|
type: import_sequelize_typescript72.DataType.STRING(255)
|
|
8451
8506
|
})
|
|
8452
|
-
],
|
|
8507
|
+
], msOrganization.prototype, "name", 2);
|
|
8508
|
+
__decorateClass([
|
|
8509
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8510
|
+
field: "name_short",
|
|
8511
|
+
allowNull: true,
|
|
8512
|
+
type: import_sequelize_typescript72.DataType.STRING(30)
|
|
8513
|
+
})
|
|
8514
|
+
], msOrganization.prototype, "nameShort", 2);
|
|
8453
8515
|
__decorateClass([
|
|
8454
8516
|
(0, import_sequelize_typescript72.Column)({
|
|
8455
8517
|
allowNull: true,
|
|
8456
8518
|
type: import_sequelize_typescript72.DataType.STRING(255)
|
|
8457
8519
|
})
|
|
8458
|
-
],
|
|
8520
|
+
], msOrganization.prototype, "description", 2);
|
|
8459
8521
|
__decorateClass([
|
|
8460
8522
|
(0, import_sequelize_typescript72.Column)({
|
|
8461
|
-
field: "
|
|
8523
|
+
field: "ol_code",
|
|
8462
8524
|
allowNull: true,
|
|
8463
|
-
type: import_sequelize_typescript72.DataType.
|
|
8525
|
+
type: import_sequelize_typescript72.DataType.STRING(10)
|
|
8464
8526
|
})
|
|
8465
|
-
],
|
|
8527
|
+
], msOrganization.prototype, "olCode", 2);
|
|
8528
|
+
__decorateClass([
|
|
8529
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8530
|
+
field: "ot_code",
|
|
8531
|
+
allowNull: true,
|
|
8532
|
+
type: import_sequelize_typescript72.DataType.STRING(10)
|
|
8533
|
+
})
|
|
8534
|
+
], msOrganization.prototype, "otCode", 2);
|
|
8535
|
+
__decorateClass([
|
|
8536
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8537
|
+
field: "ot_name",
|
|
8538
|
+
allowNull: true,
|
|
8539
|
+
type: import_sequelize_typescript72.DataType.STRING(255)
|
|
8540
|
+
})
|
|
8541
|
+
], msOrganization.prototype, "otName", 2);
|
|
8542
|
+
__decorateClass([
|
|
8543
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8544
|
+
allowNull: true,
|
|
8545
|
+
type: import_sequelize_typescript72.DataType.INTEGER,
|
|
8546
|
+
defaultValue: "1"
|
|
8547
|
+
})
|
|
8548
|
+
], msOrganization.prototype, "status", 2);
|
|
8466
8549
|
__decorateClass([
|
|
8467
8550
|
(0, import_sequelize_typescript72.Column)({
|
|
8468
|
-
field: "court_id",
|
|
8469
8551
|
allowNull: true,
|
|
8470
8552
|
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8471
8553
|
})
|
|
8472
|
-
],
|
|
8554
|
+
], msOrganization.prototype, "sort", 2);
|
|
8473
8555
|
__decorateClass([
|
|
8474
8556
|
(0, import_sequelize_typescript72.Column)({
|
|
8475
8557
|
field: "created_by",
|
|
8476
8558
|
allowNull: true,
|
|
8477
8559
|
type: import_sequelize_typescript72.DataType.STRING(60)
|
|
8478
8560
|
})
|
|
8479
|
-
],
|
|
8561
|
+
], msOrganization.prototype, "createdBy", 2);
|
|
8480
8562
|
__decorateClass([
|
|
8481
8563
|
(0, import_sequelize_typescript72.Column)({
|
|
8482
8564
|
field: "created_date",
|
|
8483
8565
|
allowNull: true,
|
|
8484
8566
|
type: import_sequelize_typescript72.DataType.DATE
|
|
8485
8567
|
})
|
|
8486
|
-
],
|
|
8568
|
+
], msOrganization.prototype, "createdDate", 2);
|
|
8487
8569
|
__decorateClass([
|
|
8488
8570
|
(0, import_sequelize_typescript72.Column)({
|
|
8489
8571
|
field: "updated_by",
|
|
8490
8572
|
allowNull: true,
|
|
8491
8573
|
type: import_sequelize_typescript72.DataType.STRING(60)
|
|
8492
8574
|
})
|
|
8493
|
-
],
|
|
8575
|
+
], msOrganization.prototype, "updatedBy", 2);
|
|
8494
8576
|
__decorateClass([
|
|
8495
8577
|
(0, import_sequelize_typescript72.Column)({
|
|
8496
8578
|
field: "updated_date",
|
|
8497
8579
|
allowNull: true,
|
|
8498
8580
|
type: import_sequelize_typescript72.DataType.DATE
|
|
8499
8581
|
})
|
|
8500
|
-
],
|
|
8501
|
-
|
|
8582
|
+
], msOrganization.prototype, "updatedDate", 2);
|
|
8583
|
+
msOrganization = __decorateClass([
|
|
8502
8584
|
(0, import_sequelize_typescript72.Table)({
|
|
8503
|
-
tableName: "
|
|
8585
|
+
tableName: "ms_organization",
|
|
8504
8586
|
timestamps: false
|
|
8505
8587
|
})
|
|
8506
|
-
],
|
|
8588
|
+
], msOrganization);
|
|
8507
8589
|
|
|
8508
|
-
// src/databases/tables/
|
|
8590
|
+
// src/databases/tables/msPosition.ts
|
|
8509
8591
|
var import_sequelize_typescript73 = require("sequelize-typescript");
|
|
8510
|
-
var
|
|
8592
|
+
var msPosition = class extends import_sequelize_typescript73.Model {
|
|
8511
8593
|
};
|
|
8512
8594
|
__decorateClass([
|
|
8513
8595
|
(0, import_sequelize_typescript73.Column)({
|
|
@@ -8515,674 +8597,841 @@ __decorateClass([
|
|
|
8515
8597
|
autoIncrement: true,
|
|
8516
8598
|
type: import_sequelize_typescript73.DataType.INTEGER
|
|
8517
8599
|
})
|
|
8518
|
-
],
|
|
8600
|
+
], msPosition.prototype, "id", 2);
|
|
8519
8601
|
__decorateClass([
|
|
8520
8602
|
(0, import_sequelize_typescript73.Column)({
|
|
8521
8603
|
allowNull: true,
|
|
8522
|
-
type: import_sequelize_typescript73.DataType.STRING(
|
|
8604
|
+
type: import_sequelize_typescript73.DataType.STRING(100)
|
|
8523
8605
|
})
|
|
8524
|
-
],
|
|
8606
|
+
], msPosition.prototype, "name", 2);
|
|
8525
8607
|
__decorateClass([
|
|
8526
8608
|
(0, import_sequelize_typescript73.Column)({
|
|
8527
8609
|
allowNull: true,
|
|
8528
|
-
type: import_sequelize_typescript73.DataType.
|
|
8610
|
+
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
8529
8611
|
})
|
|
8530
|
-
],
|
|
8612
|
+
], msPosition.prototype, "description", 2);
|
|
8531
8613
|
__decorateClass([
|
|
8532
8614
|
(0, import_sequelize_typescript73.Column)({
|
|
8533
8615
|
allowNull: true,
|
|
8534
|
-
type: import_sequelize_typescript73.DataType.INTEGER
|
|
8616
|
+
type: import_sequelize_typescript73.DataType.INTEGER,
|
|
8617
|
+
defaultValue: "1"
|
|
8535
8618
|
})
|
|
8536
|
-
],
|
|
8619
|
+
], msPosition.prototype, "status", 2);
|
|
8537
8620
|
__decorateClass([
|
|
8538
8621
|
(0, import_sequelize_typescript73.Column)({
|
|
8539
8622
|
field: "created_by",
|
|
8540
8623
|
allowNull: true,
|
|
8541
8624
|
type: import_sequelize_typescript73.DataType.STRING(60)
|
|
8542
8625
|
})
|
|
8543
|
-
],
|
|
8626
|
+
], msPosition.prototype, "createdBy", 2);
|
|
8544
8627
|
__decorateClass([
|
|
8545
8628
|
(0, import_sequelize_typescript73.Column)({
|
|
8546
8629
|
field: "created_date",
|
|
8547
8630
|
allowNull: true,
|
|
8548
8631
|
type: import_sequelize_typescript73.DataType.DATE
|
|
8549
8632
|
})
|
|
8550
|
-
],
|
|
8633
|
+
], msPosition.prototype, "createdDate", 2);
|
|
8551
8634
|
__decorateClass([
|
|
8552
8635
|
(0, import_sequelize_typescript73.Column)({
|
|
8553
8636
|
field: "updated_by",
|
|
8554
8637
|
allowNull: true,
|
|
8555
8638
|
type: import_sequelize_typescript73.DataType.STRING(60)
|
|
8556
8639
|
})
|
|
8557
|
-
],
|
|
8640
|
+
], msPosition.prototype, "updatedBy", 2);
|
|
8558
8641
|
__decorateClass([
|
|
8559
8642
|
(0, import_sequelize_typescript73.Column)({
|
|
8560
8643
|
field: "updated_date",
|
|
8561
8644
|
allowNull: true,
|
|
8562
8645
|
type: import_sequelize_typescript73.DataType.DATE
|
|
8563
8646
|
})
|
|
8647
|
+
], msPosition.prototype, "updatedDate", 2);
|
|
8648
|
+
msPosition = __decorateClass([
|
|
8649
|
+
(0, import_sequelize_typescript73.Table)({
|
|
8650
|
+
tableName: "ms_position",
|
|
8651
|
+
timestamps: false
|
|
8652
|
+
})
|
|
8653
|
+
], msPosition);
|
|
8654
|
+
|
|
8655
|
+
// src/databases/tables/msProvince.ts
|
|
8656
|
+
var import_sequelize_typescript74 = require("sequelize-typescript");
|
|
8657
|
+
var msProvince = class extends import_sequelize_typescript74.Model {
|
|
8658
|
+
};
|
|
8659
|
+
__decorateClass([
|
|
8660
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8661
|
+
primaryKey: true,
|
|
8662
|
+
type: import_sequelize_typescript74.DataType.INTEGER
|
|
8663
|
+
})
|
|
8664
|
+
], msProvince.prototype, "id", 2);
|
|
8665
|
+
__decorateClass([
|
|
8666
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8667
|
+
allowNull: true,
|
|
8668
|
+
type: import_sequelize_typescript74.DataType.STRING(255)
|
|
8669
|
+
})
|
|
8670
|
+
], msProvince.prototype, "code", 2);
|
|
8671
|
+
__decorateClass([
|
|
8672
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8673
|
+
allowNull: true,
|
|
8674
|
+
type: import_sequelize_typescript74.DataType.STRING(255)
|
|
8675
|
+
})
|
|
8676
|
+
], msProvince.prototype, "name", 2);
|
|
8677
|
+
__decorateClass([
|
|
8678
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8679
|
+
field: "geo_id",
|
|
8680
|
+
allowNull: true,
|
|
8681
|
+
type: import_sequelize_typescript74.DataType.INTEGER
|
|
8682
|
+
})
|
|
8683
|
+
], msProvince.prototype, "geoId", 2);
|
|
8684
|
+
__decorateClass([
|
|
8685
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8686
|
+
field: "court_id",
|
|
8687
|
+
allowNull: true,
|
|
8688
|
+
type: import_sequelize_typescript74.DataType.INTEGER
|
|
8689
|
+
})
|
|
8690
|
+
], msProvince.prototype, "courtId", 2);
|
|
8691
|
+
__decorateClass([
|
|
8692
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8693
|
+
field: "created_by",
|
|
8694
|
+
allowNull: true,
|
|
8695
|
+
type: import_sequelize_typescript74.DataType.STRING(60)
|
|
8696
|
+
})
|
|
8697
|
+
], msProvince.prototype, "createdBy", 2);
|
|
8698
|
+
__decorateClass([
|
|
8699
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8700
|
+
field: "created_date",
|
|
8701
|
+
allowNull: true,
|
|
8702
|
+
type: import_sequelize_typescript74.DataType.DATE
|
|
8703
|
+
})
|
|
8704
|
+
], msProvince.prototype, "createdDate", 2);
|
|
8705
|
+
__decorateClass([
|
|
8706
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8707
|
+
field: "updated_by",
|
|
8708
|
+
allowNull: true,
|
|
8709
|
+
type: import_sequelize_typescript74.DataType.STRING(60)
|
|
8710
|
+
})
|
|
8711
|
+
], msProvince.prototype, "updatedBy", 2);
|
|
8712
|
+
__decorateClass([
|
|
8713
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8714
|
+
field: "updated_date",
|
|
8715
|
+
allowNull: true,
|
|
8716
|
+
type: import_sequelize_typescript74.DataType.DATE
|
|
8717
|
+
})
|
|
8718
|
+
], msProvince.prototype, "updatedDate", 2);
|
|
8719
|
+
msProvince = __decorateClass([
|
|
8720
|
+
(0, import_sequelize_typescript74.Table)({
|
|
8721
|
+
tableName: "ms_province",
|
|
8722
|
+
timestamps: false
|
|
8723
|
+
})
|
|
8724
|
+
], msProvince);
|
|
8725
|
+
|
|
8726
|
+
// src/databases/tables/msQueueTourFaq.ts
|
|
8727
|
+
var import_sequelize_typescript75 = require("sequelize-typescript");
|
|
8728
|
+
var msQueueTourFaq = class extends import_sequelize_typescript75.Model {
|
|
8729
|
+
};
|
|
8730
|
+
__decorateClass([
|
|
8731
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8732
|
+
primaryKey: true,
|
|
8733
|
+
autoIncrement: true,
|
|
8734
|
+
type: import_sequelize_typescript75.DataType.INTEGER
|
|
8735
|
+
})
|
|
8736
|
+
], msQueueTourFaq.prototype, "id", 2);
|
|
8737
|
+
__decorateClass([
|
|
8738
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8739
|
+
field: "site_id",
|
|
8740
|
+
allowNull: true,
|
|
8741
|
+
type: import_sequelize_typescript75.DataType.INTEGER
|
|
8742
|
+
})
|
|
8743
|
+
], msQueueTourFaq.prototype, "siteId", 2);
|
|
8744
|
+
__decorateClass([
|
|
8745
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8746
|
+
allowNull: true,
|
|
8747
|
+
type: import_sequelize_typescript75.DataType.STRING(255)
|
|
8748
|
+
})
|
|
8749
|
+
], msQueueTourFaq.prototype, "title", 2);
|
|
8750
|
+
__decorateClass([
|
|
8751
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8752
|
+
allowNull: true,
|
|
8753
|
+
type: import_sequelize_typescript75.DataType.STRING
|
|
8754
|
+
})
|
|
8755
|
+
], msQueueTourFaq.prototype, "detail", 2);
|
|
8756
|
+
__decorateClass([
|
|
8757
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8758
|
+
allowNull: true,
|
|
8759
|
+
type: import_sequelize_typescript75.DataType.INTEGER
|
|
8760
|
+
})
|
|
8761
|
+
], msQueueTourFaq.prototype, "sort", 2);
|
|
8762
|
+
__decorateClass([
|
|
8763
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8764
|
+
allowNull: true,
|
|
8765
|
+
type: import_sequelize_typescript75.DataType.INTEGER
|
|
8766
|
+
})
|
|
8767
|
+
], msQueueTourFaq.prototype, "status", 2);
|
|
8768
|
+
__decorateClass([
|
|
8769
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8770
|
+
field: "created_by",
|
|
8771
|
+
allowNull: true,
|
|
8772
|
+
type: import_sequelize_typescript75.DataType.STRING(60)
|
|
8773
|
+
})
|
|
8774
|
+
], msQueueTourFaq.prototype, "createdBy", 2);
|
|
8775
|
+
__decorateClass([
|
|
8776
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8777
|
+
field: "created_date",
|
|
8778
|
+
allowNull: true,
|
|
8779
|
+
type: import_sequelize_typescript75.DataType.DATE
|
|
8780
|
+
})
|
|
8781
|
+
], msQueueTourFaq.prototype, "createdDate", 2);
|
|
8782
|
+
__decorateClass([
|
|
8783
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8784
|
+
field: "updated_by",
|
|
8785
|
+
allowNull: true,
|
|
8786
|
+
type: import_sequelize_typescript75.DataType.STRING(60)
|
|
8787
|
+
})
|
|
8788
|
+
], msQueueTourFaq.prototype, "updatedBy", 2);
|
|
8789
|
+
__decorateClass([
|
|
8790
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8791
|
+
field: "updated_date",
|
|
8792
|
+
allowNull: true,
|
|
8793
|
+
type: import_sequelize_typescript75.DataType.DATE
|
|
8794
|
+
})
|
|
8795
|
+
], msQueueTourFaq.prototype, "updatedDate", 2);
|
|
8796
|
+
msQueueTourFaq = __decorateClass([
|
|
8797
|
+
(0, import_sequelize_typescript75.Table)({
|
|
8798
|
+
tableName: "ms_queue_tour_faq",
|
|
8799
|
+
timestamps: false
|
|
8800
|
+
})
|
|
8801
|
+
], msQueueTourFaq);
|
|
8802
|
+
|
|
8803
|
+
// src/databases/tables/msQueueTourGuidelines.ts
|
|
8804
|
+
var import_sequelize_typescript76 = require("sequelize-typescript");
|
|
8805
|
+
var msQueueTourGuidelines = class extends import_sequelize_typescript76.Model {
|
|
8806
|
+
};
|
|
8807
|
+
__decorateClass([
|
|
8808
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8809
|
+
primaryKey: true,
|
|
8810
|
+
autoIncrement: true,
|
|
8811
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
8812
|
+
})
|
|
8813
|
+
], msQueueTourGuidelines.prototype, "id", 2);
|
|
8814
|
+
__decorateClass([
|
|
8815
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8816
|
+
field: "site_id",
|
|
8817
|
+
allowNull: true,
|
|
8818
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
8819
|
+
})
|
|
8820
|
+
], msQueueTourGuidelines.prototype, "siteId", 2);
|
|
8821
|
+
__decorateClass([
|
|
8822
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8823
|
+
allowNull: true,
|
|
8824
|
+
type: import_sequelize_typescript76.DataType.STRING(255)
|
|
8825
|
+
})
|
|
8826
|
+
], msQueueTourGuidelines.prototype, "title", 2);
|
|
8827
|
+
__decorateClass([
|
|
8828
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8829
|
+
allowNull: true,
|
|
8830
|
+
type: import_sequelize_typescript76.DataType.STRING
|
|
8831
|
+
})
|
|
8832
|
+
], msQueueTourGuidelines.prototype, "detail", 2);
|
|
8833
|
+
__decorateClass([
|
|
8834
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8835
|
+
allowNull: true,
|
|
8836
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
8837
|
+
})
|
|
8838
|
+
], msQueueTourGuidelines.prototype, "sort", 2);
|
|
8839
|
+
__decorateClass([
|
|
8840
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8841
|
+
allowNull: true,
|
|
8842
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
8843
|
+
})
|
|
8844
|
+
], msQueueTourGuidelines.prototype, "status", 2);
|
|
8845
|
+
__decorateClass([
|
|
8846
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8847
|
+
field: "created_by",
|
|
8848
|
+
allowNull: true,
|
|
8849
|
+
type: import_sequelize_typescript76.DataType.STRING(60)
|
|
8850
|
+
})
|
|
8851
|
+
], msQueueTourGuidelines.prototype, "createdBy", 2);
|
|
8852
|
+
__decorateClass([
|
|
8853
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8854
|
+
field: "created_date",
|
|
8855
|
+
allowNull: true,
|
|
8856
|
+
type: import_sequelize_typescript76.DataType.DATE
|
|
8857
|
+
})
|
|
8858
|
+
], msQueueTourGuidelines.prototype, "createdDate", 2);
|
|
8859
|
+
__decorateClass([
|
|
8860
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8861
|
+
field: "updated_by",
|
|
8862
|
+
allowNull: true,
|
|
8863
|
+
type: import_sequelize_typescript76.DataType.STRING(60)
|
|
8864
|
+
})
|
|
8865
|
+
], msQueueTourGuidelines.prototype, "updatedBy", 2);
|
|
8866
|
+
__decorateClass([
|
|
8867
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8868
|
+
field: "updated_date",
|
|
8869
|
+
allowNull: true,
|
|
8870
|
+
type: import_sequelize_typescript76.DataType.DATE
|
|
8871
|
+
})
|
|
8872
|
+
], msQueueTourGuidelines.prototype, "updatedDate", 2);
|
|
8873
|
+
msQueueTourGuidelines = __decorateClass([
|
|
8874
|
+
(0, import_sequelize_typescript76.Table)({
|
|
8875
|
+
tableName: "ms_queue_tour_guidelines",
|
|
8876
|
+
timestamps: false
|
|
8877
|
+
})
|
|
8878
|
+
], msQueueTourGuidelines);
|
|
8879
|
+
|
|
8880
|
+
// src/databases/tables/msTitle.ts
|
|
8881
|
+
var import_sequelize_typescript77 = require("sequelize-typescript");
|
|
8882
|
+
var msTitle = class extends import_sequelize_typescript77.Model {
|
|
8883
|
+
};
|
|
8884
|
+
__decorateClass([
|
|
8885
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8886
|
+
primaryKey: true,
|
|
8887
|
+
autoIncrement: true,
|
|
8888
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
8889
|
+
})
|
|
8890
|
+
], msTitle.prototype, "id", 2);
|
|
8891
|
+
__decorateClass([
|
|
8892
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8893
|
+
allowNull: true,
|
|
8894
|
+
type: import_sequelize_typescript77.DataType.STRING(255)
|
|
8895
|
+
})
|
|
8896
|
+
], msTitle.prototype, "name", 2);
|
|
8897
|
+
__decorateClass([
|
|
8898
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8899
|
+
allowNull: true,
|
|
8900
|
+
type: import_sequelize_typescript77.DataType.JSON
|
|
8901
|
+
})
|
|
8902
|
+
], msTitle.prototype, "info", 2);
|
|
8903
|
+
__decorateClass([
|
|
8904
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8905
|
+
allowNull: true,
|
|
8906
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
8907
|
+
})
|
|
8908
|
+
], msTitle.prototype, "status", 2);
|
|
8909
|
+
__decorateClass([
|
|
8910
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8911
|
+
field: "created_by",
|
|
8912
|
+
allowNull: true,
|
|
8913
|
+
type: import_sequelize_typescript77.DataType.STRING(60)
|
|
8914
|
+
})
|
|
8915
|
+
], msTitle.prototype, "createdBy", 2);
|
|
8916
|
+
__decorateClass([
|
|
8917
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8918
|
+
field: "created_date",
|
|
8919
|
+
allowNull: true,
|
|
8920
|
+
type: import_sequelize_typescript77.DataType.DATE
|
|
8921
|
+
})
|
|
8922
|
+
], msTitle.prototype, "createdDate", 2);
|
|
8923
|
+
__decorateClass([
|
|
8924
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8925
|
+
field: "updated_by",
|
|
8926
|
+
allowNull: true,
|
|
8927
|
+
type: import_sequelize_typescript77.DataType.STRING(60)
|
|
8928
|
+
})
|
|
8929
|
+
], msTitle.prototype, "updatedBy", 2);
|
|
8930
|
+
__decorateClass([
|
|
8931
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8932
|
+
field: "updated_date",
|
|
8933
|
+
allowNull: true,
|
|
8934
|
+
type: import_sequelize_typescript77.DataType.DATE
|
|
8935
|
+
})
|
|
8564
8936
|
], msTitle.prototype, "updatedDate", 2);
|
|
8565
8937
|
msTitle = __decorateClass([
|
|
8566
|
-
(0,
|
|
8938
|
+
(0, import_sequelize_typescript77.Table)({
|
|
8567
8939
|
tableName: "ms_title",
|
|
8568
8940
|
timestamps: false
|
|
8569
8941
|
})
|
|
8570
8942
|
], msTitle);
|
|
8571
8943
|
|
|
8572
8944
|
// src/databases/tables/msVariable.ts
|
|
8573
|
-
var
|
|
8574
|
-
var msVariable = class extends
|
|
8945
|
+
var import_sequelize_typescript78 = require("sequelize-typescript");
|
|
8946
|
+
var msVariable = class extends import_sequelize_typescript78.Model {
|
|
8575
8947
|
};
|
|
8576
8948
|
__decorateClass([
|
|
8577
|
-
(0,
|
|
8949
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8578
8950
|
primaryKey: true,
|
|
8579
8951
|
autoIncrement: true,
|
|
8580
|
-
type:
|
|
8952
|
+
type: import_sequelize_typescript78.DataType.INTEGER
|
|
8581
8953
|
})
|
|
8582
8954
|
], msVariable.prototype, "id", 2);
|
|
8583
8955
|
__decorateClass([
|
|
8584
|
-
(0,
|
|
8956
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8585
8957
|
allowNull: true,
|
|
8586
|
-
type:
|
|
8958
|
+
type: import_sequelize_typescript78.DataType.STRING(255)
|
|
8587
8959
|
})
|
|
8588
8960
|
], msVariable.prototype, "name", 2);
|
|
8589
8961
|
__decorateClass([
|
|
8590
|
-
(0,
|
|
8962
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8591
8963
|
allowNull: true,
|
|
8592
|
-
type:
|
|
8964
|
+
type: import_sequelize_typescript78.DataType.JSON
|
|
8593
8965
|
})
|
|
8594
8966
|
], msVariable.prototype, "data", 2);
|
|
8595
8967
|
__decorateClass([
|
|
8596
|
-
(0,
|
|
8968
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8597
8969
|
field: "created_by",
|
|
8598
8970
|
allowNull: true,
|
|
8599
|
-
type:
|
|
8971
|
+
type: import_sequelize_typescript78.DataType.STRING(60)
|
|
8600
8972
|
})
|
|
8601
8973
|
], msVariable.prototype, "createdBy", 2);
|
|
8602
8974
|
__decorateClass([
|
|
8603
|
-
(0,
|
|
8975
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8604
8976
|
field: "created_date",
|
|
8605
8977
|
allowNull: true,
|
|
8606
|
-
type:
|
|
8978
|
+
type: import_sequelize_typescript78.DataType.DATE
|
|
8607
8979
|
})
|
|
8608
8980
|
], msVariable.prototype, "createdDate", 2);
|
|
8609
8981
|
__decorateClass([
|
|
8610
|
-
(0,
|
|
8982
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8611
8983
|
field: "updated_by",
|
|
8612
8984
|
allowNull: true,
|
|
8613
|
-
type:
|
|
8985
|
+
type: import_sequelize_typescript78.DataType.STRING(60)
|
|
8614
8986
|
})
|
|
8615
8987
|
], msVariable.prototype, "updatedBy", 2);
|
|
8616
8988
|
__decorateClass([
|
|
8617
|
-
(0,
|
|
8989
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8618
8990
|
field: "updated_date",
|
|
8619
8991
|
allowNull: true,
|
|
8620
|
-
type:
|
|
8992
|
+
type: import_sequelize_typescript78.DataType.DATE
|
|
8621
8993
|
})
|
|
8622
8994
|
], msVariable.prototype, "updatedDate", 2);
|
|
8623
8995
|
msVariable = __decorateClass([
|
|
8624
|
-
(0,
|
|
8996
|
+
(0, import_sequelize_typescript78.Table)({
|
|
8625
8997
|
tableName: "ms_variable",
|
|
8626
8998
|
timestamps: false
|
|
8627
8999
|
})
|
|
8628
9000
|
], msVariable);
|
|
8629
9001
|
|
|
8630
9002
|
// src/databases/tables/oauthAccessToken.ts
|
|
8631
|
-
var
|
|
8632
|
-
var oauthAccessToken = class extends
|
|
9003
|
+
var import_sequelize_typescript79 = require("sequelize-typescript");
|
|
9004
|
+
var oauthAccessToken = class extends import_sequelize_typescript79.Model {
|
|
8633
9005
|
};
|
|
8634
9006
|
__decorateClass([
|
|
8635
|
-
(0,
|
|
9007
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8636
9008
|
primaryKey: true,
|
|
8637
9009
|
autoIncrement: true,
|
|
8638
|
-
type:
|
|
9010
|
+
type: import_sequelize_typescript79.DataType.INTEGER
|
|
8639
9011
|
})
|
|
8640
9012
|
], oauthAccessToken.prototype, "id", 2);
|
|
8641
9013
|
__decorateClass([
|
|
8642
|
-
(0,
|
|
9014
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8643
9015
|
field: "access_token",
|
|
8644
|
-
type:
|
|
9016
|
+
type: import_sequelize_typescript79.DataType.STRING
|
|
8645
9017
|
})
|
|
8646
9018
|
], oauthAccessToken.prototype, "accessToken", 2);
|
|
8647
9019
|
__decorateClass([
|
|
8648
|
-
(0,
|
|
9020
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8649
9021
|
field: "client_id",
|
|
8650
|
-
type:
|
|
9022
|
+
type: import_sequelize_typescript79.DataType.STRING(32)
|
|
8651
9023
|
})
|
|
8652
9024
|
], oauthAccessToken.prototype, "clientId", 2);
|
|
8653
9025
|
__decorateClass([
|
|
8654
|
-
(0,
|
|
9026
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8655
9027
|
field: "user_id",
|
|
8656
9028
|
allowNull: true,
|
|
8657
|
-
type:
|
|
9029
|
+
type: import_sequelize_typescript79.DataType.INTEGER
|
|
8658
9030
|
})
|
|
8659
9031
|
], oauthAccessToken.prototype, "userId", 2);
|
|
8660
9032
|
__decorateClass([
|
|
8661
|
-
(0,
|
|
8662
|
-
type:
|
|
8663
|
-
defaultValue:
|
|
9033
|
+
(0, import_sequelize_typescript79.Column)({
|
|
9034
|
+
type: import_sequelize_typescript79.DataType.DATE,
|
|
9035
|
+
defaultValue: import_sequelize_typescript79.DataType.NOW
|
|
8664
9036
|
})
|
|
8665
9037
|
], oauthAccessToken.prototype, "expires", 2);
|
|
8666
9038
|
__decorateClass([
|
|
8667
|
-
(0,
|
|
9039
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8668
9040
|
allowNull: true,
|
|
8669
|
-
type:
|
|
9041
|
+
type: import_sequelize_typescript79.DataType.STRING(2e3)
|
|
8670
9042
|
})
|
|
8671
9043
|
], oauthAccessToken.prototype, "scope", 2);
|
|
8672
9044
|
__decorateClass([
|
|
8673
|
-
(0,
|
|
9045
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8674
9046
|
field: "created_date",
|
|
8675
|
-
type:
|
|
8676
|
-
defaultValue:
|
|
9047
|
+
type: import_sequelize_typescript79.DataType.DATE,
|
|
9048
|
+
defaultValue: import_sequelize_typescript79.DataType.NOW
|
|
8677
9049
|
})
|
|
8678
9050
|
], oauthAccessToken.prototype, "createdDate", 2);
|
|
8679
9051
|
oauthAccessToken = __decorateClass([
|
|
8680
|
-
(0,
|
|
9052
|
+
(0, import_sequelize_typescript79.Table)({
|
|
8681
9053
|
tableName: "oauth_access_token",
|
|
8682
9054
|
timestamps: false
|
|
8683
9055
|
})
|
|
8684
9056
|
], oauthAccessToken);
|
|
8685
9057
|
|
|
8686
9058
|
// src/databases/tables/oauthRefreshToken.ts
|
|
8687
|
-
var
|
|
8688
|
-
var oauthRefreshToken = class extends
|
|
9059
|
+
var import_sequelize_typescript80 = require("sequelize-typescript");
|
|
9060
|
+
var oauthRefreshToken = class extends import_sequelize_typescript80.Model {
|
|
8689
9061
|
};
|
|
8690
9062
|
__decorateClass([
|
|
8691
|
-
(0,
|
|
9063
|
+
(0, import_sequelize_typescript80.Column)({
|
|
8692
9064
|
primaryKey: true,
|
|
8693
9065
|
autoIncrement: true,
|
|
8694
|
-
type:
|
|
9066
|
+
type: import_sequelize_typescript80.DataType.INTEGER
|
|
8695
9067
|
})
|
|
8696
9068
|
], oauthRefreshToken.prototype, "id", 2);
|
|
8697
9069
|
__decorateClass([
|
|
8698
|
-
(0,
|
|
9070
|
+
(0, import_sequelize_typescript80.Column)({
|
|
8699
9071
|
field: "refresh_token",
|
|
8700
|
-
type:
|
|
9072
|
+
type: import_sequelize_typescript80.DataType.STRING(1e3)
|
|
8701
9073
|
})
|
|
8702
9074
|
], oauthRefreshToken.prototype, "refreshToken", 2);
|
|
8703
9075
|
__decorateClass([
|
|
8704
|
-
(0,
|
|
9076
|
+
(0, import_sequelize_typescript80.Column)({
|
|
8705
9077
|
field: "client_id",
|
|
8706
|
-
type:
|
|
9078
|
+
type: import_sequelize_typescript80.DataType.STRING(32)
|
|
8707
9079
|
})
|
|
8708
9080
|
], oauthRefreshToken.prototype, "clientId", 2);
|
|
8709
9081
|
__decorateClass([
|
|
8710
|
-
(0,
|
|
9082
|
+
(0, import_sequelize_typescript80.Column)({
|
|
8711
9083
|
field: "user_id",
|
|
8712
9084
|
allowNull: true,
|
|
8713
|
-
type:
|
|
9085
|
+
type: import_sequelize_typescript80.DataType.INTEGER
|
|
8714
9086
|
})
|
|
8715
9087
|
], oauthRefreshToken.prototype, "userId", 2);
|
|
8716
9088
|
__decorateClass([
|
|
8717
|
-
(0,
|
|
8718
|
-
type:
|
|
8719
|
-
defaultValue:
|
|
9089
|
+
(0, import_sequelize_typescript80.Column)({
|
|
9090
|
+
type: import_sequelize_typescript80.DataType.DATE,
|
|
9091
|
+
defaultValue: import_sequelize_typescript80.DataType.NOW
|
|
8720
9092
|
})
|
|
8721
9093
|
], oauthRefreshToken.prototype, "expires", 2);
|
|
8722
9094
|
__decorateClass([
|
|
8723
|
-
(0,
|
|
9095
|
+
(0, import_sequelize_typescript80.Column)({
|
|
8724
9096
|
allowNull: true,
|
|
8725
|
-
type:
|
|
9097
|
+
type: import_sequelize_typescript80.DataType.STRING(1e3)
|
|
8726
9098
|
})
|
|
8727
9099
|
], oauthRefreshToken.prototype, "scope", 2);
|
|
8728
9100
|
__decorateClass([
|
|
8729
|
-
(0,
|
|
9101
|
+
(0, import_sequelize_typescript80.Column)({
|
|
8730
9102
|
field: "created_date",
|
|
8731
|
-
type:
|
|
8732
|
-
defaultValue:
|
|
9103
|
+
type: import_sequelize_typescript80.DataType.DATE,
|
|
9104
|
+
defaultValue: import_sequelize_typescript80.DataType.NOW
|
|
8733
9105
|
})
|
|
8734
9106
|
], oauthRefreshToken.prototype, "createdDate", 2);
|
|
8735
9107
|
oauthRefreshToken = __decorateClass([
|
|
8736
|
-
(0,
|
|
9108
|
+
(0, import_sequelize_typescript80.Table)({
|
|
8737
9109
|
tableName: "oauth_refresh_token",
|
|
8738
9110
|
timestamps: false
|
|
8739
9111
|
})
|
|
8740
9112
|
], oauthRefreshToken);
|
|
8741
9113
|
|
|
8742
9114
|
// src/databases/tables/recruitment.ts
|
|
8743
|
-
var
|
|
9115
|
+
var import_sequelize_typescript82 = require("sequelize-typescript");
|
|
8744
9116
|
|
|
8745
9117
|
// src/databases/tables/recruitmentGroup.ts
|
|
8746
|
-
var
|
|
8747
|
-
var recruitmentGroup = class extends
|
|
9118
|
+
var import_sequelize_typescript81 = require("sequelize-typescript");
|
|
9119
|
+
var recruitmentGroup = class extends import_sequelize_typescript81.Model {
|
|
8748
9120
|
};
|
|
8749
9121
|
__decorateClass([
|
|
8750
|
-
(0,
|
|
9122
|
+
(0, import_sequelize_typescript81.Column)({
|
|
8751
9123
|
primaryKey: true,
|
|
8752
9124
|
autoIncrement: true,
|
|
8753
|
-
type:
|
|
9125
|
+
type: import_sequelize_typescript81.DataType.INTEGER
|
|
8754
9126
|
})
|
|
8755
9127
|
], recruitmentGroup.prototype, "id", 2);
|
|
8756
9128
|
__decorateClass([
|
|
8757
|
-
(0,
|
|
9129
|
+
(0, import_sequelize_typescript81.Column)({
|
|
8758
9130
|
allowNull: true,
|
|
8759
|
-
type:
|
|
9131
|
+
type: import_sequelize_typescript81.DataType.STRING(60)
|
|
8760
9132
|
})
|
|
8761
9133
|
], recruitmentGroup.prototype, "uuid", 2);
|
|
8762
9134
|
__decorateClass([
|
|
8763
|
-
(0,
|
|
9135
|
+
(0, import_sequelize_typescript81.Column)({
|
|
8764
9136
|
field: "user_id",
|
|
8765
9137
|
allowNull: true,
|
|
8766
|
-
type:
|
|
9138
|
+
type: import_sequelize_typescript81.DataType.INTEGER
|
|
8767
9139
|
})
|
|
8768
9140
|
], recruitmentGroup.prototype, "userId", 2);
|
|
8769
9141
|
__decorateClass([
|
|
8770
|
-
(0,
|
|
8771
|
-
type:
|
|
9142
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9143
|
+
type: import_sequelize_typescript81.DataType.STRING(255)
|
|
8772
9144
|
})
|
|
8773
9145
|
], recruitmentGroup.prototype, "name", 2);
|
|
8774
9146
|
__decorateClass([
|
|
8775
|
-
(0,
|
|
9147
|
+
(0, import_sequelize_typescript81.Column)({
|
|
8776
9148
|
allowNull: true,
|
|
8777
|
-
type:
|
|
9149
|
+
type: import_sequelize_typescript81.DataType.STRING(255)
|
|
8778
9150
|
})
|
|
8779
9151
|
], recruitmentGroup.prototype, "description", 2);
|
|
8780
9152
|
__decorateClass([
|
|
8781
|
-
(0,
|
|
9153
|
+
(0, import_sequelize_typescript81.Column)({
|
|
8782
9154
|
allowNull: true,
|
|
8783
|
-
type:
|
|
9155
|
+
type: import_sequelize_typescript81.DataType.INTEGER
|
|
8784
9156
|
})
|
|
8785
9157
|
], recruitmentGroup.prototype, "sort", 2);
|
|
8786
9158
|
__decorateClass([
|
|
8787
|
-
(0,
|
|
9159
|
+
(0, import_sequelize_typescript81.Column)({
|
|
8788
9160
|
allowNull: true,
|
|
8789
|
-
type:
|
|
9161
|
+
type: import_sequelize_typescript81.DataType.INTEGER
|
|
8790
9162
|
})
|
|
8791
9163
|
], recruitmentGroup.prototype, "status", 2);
|
|
8792
9164
|
__decorateClass([
|
|
8793
|
-
(0,
|
|
9165
|
+
(0, import_sequelize_typescript81.Column)({
|
|
8794
9166
|
field: "created_by",
|
|
8795
9167
|
allowNull: true,
|
|
8796
|
-
type:
|
|
9168
|
+
type: import_sequelize_typescript81.DataType.STRING(60)
|
|
8797
9169
|
})
|
|
8798
9170
|
], recruitmentGroup.prototype, "createdBy", 2);
|
|
8799
9171
|
__decorateClass([
|
|
8800
|
-
(0,
|
|
9172
|
+
(0, import_sequelize_typescript81.Column)({
|
|
8801
9173
|
field: "created_date",
|
|
8802
9174
|
allowNull: true,
|
|
8803
|
-
type:
|
|
9175
|
+
type: import_sequelize_typescript81.DataType.DATE
|
|
8804
9176
|
})
|
|
8805
9177
|
], recruitmentGroup.prototype, "createdDate", 2);
|
|
8806
9178
|
__decorateClass([
|
|
8807
|
-
(0,
|
|
9179
|
+
(0, import_sequelize_typescript81.Column)({
|
|
8808
9180
|
field: "updated_by",
|
|
8809
9181
|
allowNull: true,
|
|
8810
|
-
type:
|
|
9182
|
+
type: import_sequelize_typescript81.DataType.STRING(60)
|
|
8811
9183
|
})
|
|
8812
9184
|
], recruitmentGroup.prototype, "updatedBy", 2);
|
|
8813
9185
|
__decorateClass([
|
|
8814
|
-
(0,
|
|
9186
|
+
(0, import_sequelize_typescript81.Column)({
|
|
8815
9187
|
field: "updated_date",
|
|
8816
9188
|
allowNull: true,
|
|
8817
|
-
type:
|
|
9189
|
+
type: import_sequelize_typescript81.DataType.DATE
|
|
8818
9190
|
})
|
|
8819
9191
|
], recruitmentGroup.prototype, "updatedDate", 2);
|
|
8820
9192
|
__decorateClass([
|
|
8821
|
-
(0,
|
|
9193
|
+
(0, import_sequelize_typescript81.HasMany)(() => recruitment, {
|
|
8822
9194
|
sourceKey: "id"
|
|
8823
9195
|
})
|
|
8824
9196
|
], recruitmentGroup.prototype, "recruitments", 2);
|
|
8825
9197
|
recruitmentGroup = __decorateClass([
|
|
8826
|
-
(0,
|
|
9198
|
+
(0, import_sequelize_typescript81.Table)({
|
|
8827
9199
|
tableName: "recruitment_group",
|
|
8828
9200
|
timestamps: false
|
|
8829
9201
|
})
|
|
8830
9202
|
], recruitmentGroup);
|
|
8831
9203
|
|
|
8832
9204
|
// src/databases/tables/recruitment.ts
|
|
8833
|
-
var recruitment = class extends
|
|
9205
|
+
var recruitment = class extends import_sequelize_typescript82.Model {
|
|
8834
9206
|
};
|
|
8835
9207
|
__decorateClass([
|
|
8836
|
-
(0,
|
|
9208
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8837
9209
|
primaryKey: true,
|
|
8838
9210
|
autoIncrement: true,
|
|
8839
|
-
type:
|
|
9211
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
8840
9212
|
})
|
|
8841
9213
|
], recruitment.prototype, "id", 2);
|
|
8842
9214
|
__decorateClass([
|
|
8843
|
-
(0,
|
|
9215
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8844
9216
|
allowNull: true,
|
|
8845
|
-
type:
|
|
9217
|
+
type: import_sequelize_typescript82.DataType.STRING(60)
|
|
8846
9218
|
})
|
|
8847
9219
|
], recruitment.prototype, "uuid", 2);
|
|
8848
9220
|
__decorateClass([
|
|
8849
|
-
(0,
|
|
8850
|
-
(0,
|
|
9221
|
+
(0, import_sequelize_typescript82.ForeignKey)(() => recruitmentGroup),
|
|
9222
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8851
9223
|
field: "group_id",
|
|
8852
9224
|
allowNull: true,
|
|
8853
|
-
type:
|
|
9225
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
8854
9226
|
})
|
|
8855
9227
|
], recruitment.prototype, "groupId", 2);
|
|
8856
9228
|
__decorateClass([
|
|
8857
|
-
(0,
|
|
9229
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8858
9230
|
field: "position_name",
|
|
8859
9231
|
allowNull: true,
|
|
8860
|
-
type:
|
|
9232
|
+
type: import_sequelize_typescript82.DataType.STRING(255)
|
|
8861
9233
|
})
|
|
8862
9234
|
], recruitment.prototype, "positionName", 2);
|
|
8863
9235
|
__decorateClass([
|
|
8864
|
-
(0,
|
|
9236
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8865
9237
|
field: "account_listed",
|
|
8866
9238
|
allowNull: true,
|
|
8867
|
-
type:
|
|
9239
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
8868
9240
|
})
|
|
8869
9241
|
], recruitment.prototype, "accountListed", 2);
|
|
8870
9242
|
__decorateClass([
|
|
8871
|
-
(0,
|
|
9243
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8872
9244
|
field: "account_age",
|
|
8873
9245
|
allowNull: true,
|
|
8874
|
-
type:
|
|
9246
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
8875
9247
|
})
|
|
8876
9248
|
], recruitment.prototype, "accountAge", 2);
|
|
8877
9249
|
__decorateClass([
|
|
8878
|
-
(0,
|
|
9250
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8879
9251
|
field: "account_expires",
|
|
8880
9252
|
allowNull: true,
|
|
8881
|
-
type:
|
|
9253
|
+
type: import_sequelize_typescript82.DataType.DATEONLY
|
|
8882
9254
|
})
|
|
8883
9255
|
], recruitment.prototype, "accountExpires", 2);
|
|
8884
9256
|
__decorateClass([
|
|
8885
|
-
(0,
|
|
9257
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8886
9258
|
field: "called_position",
|
|
8887
9259
|
allowNull: true,
|
|
8888
|
-
type:
|
|
9260
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
8889
9261
|
})
|
|
8890
9262
|
], recruitment.prototype, "calledPosition", 2);
|
|
8891
9263
|
__decorateClass([
|
|
8892
|
-
(0,
|
|
9264
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8893
9265
|
allowNull: true,
|
|
8894
|
-
type:
|
|
9266
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
8895
9267
|
})
|
|
8896
9268
|
], recruitment.prototype, "sort", 2);
|
|
8897
9269
|
__decorateClass([
|
|
8898
|
-
(0,
|
|
9270
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8899
9271
|
allowNull: true,
|
|
8900
|
-
type:
|
|
9272
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
8901
9273
|
})
|
|
8902
9274
|
], recruitment.prototype, "status", 2);
|
|
8903
9275
|
__decorateClass([
|
|
8904
|
-
(0,
|
|
9276
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8905
9277
|
field: "created_by",
|
|
8906
9278
|
allowNull: true,
|
|
8907
|
-
type:
|
|
9279
|
+
type: import_sequelize_typescript82.DataType.STRING(60)
|
|
8908
9280
|
})
|
|
8909
9281
|
], recruitment.prototype, "createdBy", 2);
|
|
8910
9282
|
__decorateClass([
|
|
8911
|
-
(0,
|
|
9283
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8912
9284
|
field: "created_date",
|
|
8913
9285
|
allowNull: true,
|
|
8914
|
-
type:
|
|
9286
|
+
type: import_sequelize_typescript82.DataType.DATE
|
|
8915
9287
|
})
|
|
8916
9288
|
], recruitment.prototype, "createdDate", 2);
|
|
8917
9289
|
__decorateClass([
|
|
8918
|
-
(0,
|
|
9290
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8919
9291
|
field: "updated_by",
|
|
8920
9292
|
allowNull: true,
|
|
8921
|
-
type:
|
|
9293
|
+
type: import_sequelize_typescript82.DataType.STRING(60)
|
|
8922
9294
|
})
|
|
8923
9295
|
], recruitment.prototype, "updatedBy", 2);
|
|
8924
9296
|
__decorateClass([
|
|
8925
|
-
(0,
|
|
9297
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8926
9298
|
field: "updated_date",
|
|
8927
9299
|
allowNull: true,
|
|
8928
|
-
type:
|
|
9300
|
+
type: import_sequelize_typescript82.DataType.DATE
|
|
8929
9301
|
})
|
|
8930
9302
|
], recruitment.prototype, "updatedDate", 2);
|
|
8931
9303
|
__decorateClass([
|
|
8932
|
-
(0,
|
|
9304
|
+
(0, import_sequelize_typescript82.Column)({
|
|
8933
9305
|
field: "ref_id",
|
|
8934
9306
|
allowNull: true,
|
|
8935
|
-
type:
|
|
9307
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
8936
9308
|
})
|
|
8937
9309
|
], recruitment.prototype, "refId", 2);
|
|
8938
9310
|
__decorateClass([
|
|
8939
|
-
(0,
|
|
9311
|
+
(0, import_sequelize_typescript82.BelongsTo)(() => recruitmentGroup)
|
|
8940
9312
|
], recruitment.prototype, "recruitmentGroup", 2);
|
|
8941
9313
|
recruitment = __decorateClass([
|
|
8942
|
-
(0,
|
|
9314
|
+
(0, import_sequelize_typescript82.Table)({
|
|
8943
9315
|
tableName: "recruitment",
|
|
8944
9316
|
timestamps: false
|
|
8945
9317
|
})
|
|
8946
9318
|
], recruitment);
|
|
8947
9319
|
|
|
8948
9320
|
// src/databases/tables/settings.ts
|
|
8949
|
-
var
|
|
8950
|
-
var settings = class extends
|
|
9321
|
+
var import_sequelize_typescript83 = require("sequelize-typescript");
|
|
9322
|
+
var settings = class extends import_sequelize_typescript83.Model {
|
|
8951
9323
|
};
|
|
8952
9324
|
__decorateClass([
|
|
8953
|
-
(0,
|
|
9325
|
+
(0, import_sequelize_typescript83.Column)({
|
|
8954
9326
|
primaryKey: true,
|
|
8955
9327
|
autoIncrement: true,
|
|
8956
|
-
type:
|
|
9328
|
+
type: import_sequelize_typescript83.DataType.INTEGER
|
|
8957
9329
|
})
|
|
8958
9330
|
], settings.prototype, "id", 2);
|
|
8959
9331
|
__decorateClass([
|
|
8960
|
-
(0,
|
|
9332
|
+
(0, import_sequelize_typescript83.Column)({
|
|
8961
9333
|
allowNull: true,
|
|
8962
|
-
type:
|
|
9334
|
+
type: import_sequelize_typescript83.DataType.STRING(255)
|
|
8963
9335
|
})
|
|
8964
9336
|
], settings.prototype, "key", 2);
|
|
8965
9337
|
__decorateClass([
|
|
8966
|
-
(0,
|
|
9338
|
+
(0, import_sequelize_typescript83.Column)({
|
|
8967
9339
|
allowNull: true,
|
|
8968
|
-
type:
|
|
9340
|
+
type: import_sequelize_typescript83.DataType.STRING
|
|
8969
9341
|
})
|
|
8970
9342
|
], settings.prototype, "value", 2);
|
|
8971
9343
|
__decorateClass([
|
|
8972
|
-
(0,
|
|
9344
|
+
(0, import_sequelize_typescript83.Column)({
|
|
8973
9345
|
allowNull: true,
|
|
8974
|
-
type:
|
|
9346
|
+
type: import_sequelize_typescript83.DataType.JSON
|
|
8975
9347
|
})
|
|
8976
9348
|
], settings.prototype, "data", 2);
|
|
8977
9349
|
__decorateClass([
|
|
8978
|
-
(0,
|
|
9350
|
+
(0, import_sequelize_typescript83.Column)({
|
|
8979
9351
|
field: "updated_by",
|
|
8980
9352
|
allowNull: true,
|
|
8981
|
-
type:
|
|
9353
|
+
type: import_sequelize_typescript83.DataType.STRING(60)
|
|
8982
9354
|
})
|
|
8983
9355
|
], settings.prototype, "updatedBy", 2);
|
|
8984
9356
|
__decorateClass([
|
|
8985
|
-
(0,
|
|
9357
|
+
(0, import_sequelize_typescript83.Column)({
|
|
8986
9358
|
field: "updated_date",
|
|
8987
9359
|
allowNull: true,
|
|
8988
|
-
type:
|
|
9360
|
+
type: import_sequelize_typescript83.DataType.DATE
|
|
8989
9361
|
})
|
|
8990
9362
|
], settings.prototype, "updatedDate", 2);
|
|
8991
9363
|
settings = __decorateClass([
|
|
8992
|
-
(0,
|
|
9364
|
+
(0, import_sequelize_typescript83.Table)({
|
|
8993
9365
|
tableName: "settings",
|
|
8994
9366
|
timestamps: false
|
|
8995
9367
|
})
|
|
8996
9368
|
], settings);
|
|
8997
9369
|
|
|
8998
|
-
// src/databases/tables/
|
|
8999
|
-
var
|
|
9000
|
-
var
|
|
9370
|
+
// src/databases/tables/userPermissionV.ts
|
|
9371
|
+
var import_sequelize_typescript84 = require("sequelize-typescript");
|
|
9372
|
+
var userPermissionV = class extends import_sequelize_typescript84.Model {
|
|
9001
9373
|
};
|
|
9002
9374
|
__decorateClass([
|
|
9003
|
-
(0,
|
|
9004
|
-
|
|
9375
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9376
|
+
field: "user_id",
|
|
9377
|
+
type: import_sequelize_typescript84.DataType.INTEGER,
|
|
9005
9378
|
defaultValue: "0"
|
|
9006
9379
|
})
|
|
9007
|
-
],
|
|
9008
|
-
__decorateClass([
|
|
9009
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9010
|
-
type: import_sequelize_typescript80.DataType.STRING(60)
|
|
9011
|
-
})
|
|
9012
|
-
], userCenterV.prototype, "uuid", 2);
|
|
9013
|
-
__decorateClass([
|
|
9014
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9015
|
-
type: import_sequelize_typescript80.DataType.STRING(100)
|
|
9016
|
-
})
|
|
9017
|
-
], userCenterV.prototype, "username", 2);
|
|
9018
|
-
__decorateClass([
|
|
9019
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9020
|
-
field: "password_hash",
|
|
9021
|
-
allowNull: true,
|
|
9022
|
-
type: import_sequelize_typescript80.DataType.STRING(255)
|
|
9023
|
-
})
|
|
9024
|
-
], userCenterV.prototype, "passwordHash", 2);
|
|
9025
|
-
__decorateClass([
|
|
9026
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9027
|
-
field: "password_reset_token",
|
|
9028
|
-
allowNull: true,
|
|
9029
|
-
type: import_sequelize_typescript80.DataType.STRING(255)
|
|
9030
|
-
})
|
|
9031
|
-
], userCenterV.prototype, "passwordResetToken", 2);
|
|
9032
|
-
__decorateClass([
|
|
9033
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9034
|
-
field: "verification_token",
|
|
9035
|
-
allowNull: true,
|
|
9036
|
-
type: import_sequelize_typescript80.DataType.STRING(255)
|
|
9037
|
-
})
|
|
9038
|
-
], userCenterV.prototype, "verificationToken", 2);
|
|
9039
|
-
__decorateClass([
|
|
9040
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9041
|
-
allowNull: true,
|
|
9042
|
-
type: import_sequelize_typescript80.DataType.STRING(255)
|
|
9043
|
-
})
|
|
9044
|
-
], userCenterV.prototype, "email", 2);
|
|
9045
|
-
__decorateClass([
|
|
9046
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9047
|
-
field: "auth_key",
|
|
9048
|
-
allowNull: true,
|
|
9049
|
-
type: import_sequelize_typescript80.DataType.STRING(32)
|
|
9050
|
-
})
|
|
9051
|
-
], userCenterV.prototype, "authKey", 2);
|
|
9052
|
-
__decorateClass([
|
|
9053
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9054
|
-
field: "access_token",
|
|
9055
|
-
allowNull: true,
|
|
9056
|
-
type: import_sequelize_typescript80.DataType.STRING
|
|
9057
|
-
})
|
|
9058
|
-
], userCenterV.prototype, "accessToken", 2);
|
|
9059
|
-
__decorateClass([
|
|
9060
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9061
|
-
field: "user_level",
|
|
9062
|
-
allowNull: true,
|
|
9063
|
-
type: import_sequelize_typescript80.DataType.INTEGER
|
|
9064
|
-
})
|
|
9065
|
-
], userCenterV.prototype, "userLevel", 2);
|
|
9066
|
-
__decorateClass([
|
|
9067
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9068
|
-
field: "user_authen",
|
|
9069
|
-
allowNull: true,
|
|
9070
|
-
type: import_sequelize_typescript80.DataType.STRING(64)
|
|
9071
|
-
})
|
|
9072
|
-
], userCenterV.prototype, "userAuthen", 2);
|
|
9073
|
-
__decorateClass([
|
|
9074
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9075
|
-
field: "user_type",
|
|
9076
|
-
allowNull: true,
|
|
9077
|
-
type: import_sequelize_typescript80.DataType.INTEGER
|
|
9078
|
-
})
|
|
9079
|
-
], userCenterV.prototype, "userType", 2);
|
|
9080
|
-
__decorateClass([
|
|
9081
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9082
|
-
allowNull: true,
|
|
9083
|
-
type: import_sequelize_typescript80.DataType.STRING(10)
|
|
9084
|
-
})
|
|
9085
|
-
], userCenterV.prototype, "prefix", 2);
|
|
9086
|
-
__decorateClass([
|
|
9087
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9088
|
-
field: "first_name",
|
|
9089
|
-
allowNull: true,
|
|
9090
|
-
type: import_sequelize_typescript80.DataType.STRING(100)
|
|
9091
|
-
})
|
|
9092
|
-
], userCenterV.prototype, "firstName", 2);
|
|
9093
|
-
__decorateClass([
|
|
9094
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9095
|
-
field: "last_name",
|
|
9096
|
-
allowNull: true,
|
|
9097
|
-
type: import_sequelize_typescript80.DataType.STRING(100)
|
|
9098
|
-
})
|
|
9099
|
-
], userCenterV.prototype, "lastName", 2);
|
|
9100
|
-
__decorateClass([
|
|
9101
|
-
(0, import_sequelize_typescript80.Column)({
|
|
9102
|
-
allowNull: true,
|
|
9103
|
-
type: import_sequelize_typescript80.DataType.STRING(20)
|
|
9104
|
-
})
|
|
9105
|
-
], userCenterV.prototype, "phone", 2);
|
|
9380
|
+
], userPermissionV.prototype, "userId", 2);
|
|
9106
9381
|
__decorateClass([
|
|
9107
|
-
(0,
|
|
9108
|
-
|
|
9109
|
-
type: import_sequelize_typescript80.DataType.SMALLINT
|
|
9382
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9383
|
+
type: import_sequelize_typescript84.DataType.STRING(60)
|
|
9110
9384
|
})
|
|
9111
|
-
],
|
|
9385
|
+
], userPermissionV.prototype, "uuid", 2);
|
|
9112
9386
|
__decorateClass([
|
|
9113
|
-
(0,
|
|
9114
|
-
|
|
9115
|
-
allowNull: true,
|
|
9116
|
-
type: import_sequelize_typescript80.DataType.STRING(60)
|
|
9387
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9388
|
+
type: import_sequelize_typescript84.DataType.STRING(100)
|
|
9117
9389
|
})
|
|
9118
|
-
],
|
|
9390
|
+
], userPermissionV.prototype, "username", 2);
|
|
9119
9391
|
__decorateClass([
|
|
9120
|
-
(0,
|
|
9121
|
-
field: "
|
|
9392
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9393
|
+
field: "role_id",
|
|
9122
9394
|
allowNull: true,
|
|
9123
|
-
type:
|
|
9395
|
+
type: import_sequelize_typescript84.DataType.INTEGER
|
|
9124
9396
|
})
|
|
9125
|
-
],
|
|
9397
|
+
], userPermissionV.prototype, "roleId", 2);
|
|
9126
9398
|
__decorateClass([
|
|
9127
|
-
(0,
|
|
9128
|
-
field: "updated_by",
|
|
9399
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9129
9400
|
allowNull: true,
|
|
9130
|
-
type:
|
|
9401
|
+
type: import_sequelize_typescript84.DataType.STRING(2)
|
|
9131
9402
|
})
|
|
9132
|
-
],
|
|
9403
|
+
], userPermissionV.prototype, "th", 2);
|
|
9133
9404
|
__decorateClass([
|
|
9134
|
-
(0,
|
|
9135
|
-
field: "updated_date",
|
|
9405
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9136
9406
|
allowNull: true,
|
|
9137
|
-
type:
|
|
9138
|
-
})
|
|
9139
|
-
], userCenterV.prototype, "updatedDate", 2);
|
|
9140
|
-
userCenterV = __decorateClass([
|
|
9141
|
-
(0, import_sequelize_typescript80.Table)({
|
|
9142
|
-
tableName: "user_center_v",
|
|
9143
|
-
timestamps: false,
|
|
9144
|
-
comment: "VIEW"
|
|
9145
|
-
})
|
|
9146
|
-
], userCenterV);
|
|
9147
|
-
|
|
9148
|
-
// src/databases/tables/userRoleV.ts
|
|
9149
|
-
var import_sequelize_typescript81 = require("sequelize-typescript");
|
|
9150
|
-
var userRoleV = class extends import_sequelize_typescript81.Model {
|
|
9151
|
-
};
|
|
9152
|
-
__decorateClass([
|
|
9153
|
-
(0, import_sequelize_typescript81.Column)({
|
|
9154
|
-
type: import_sequelize_typescript81.DataType.INTEGER,
|
|
9155
|
-
defaultValue: "0"
|
|
9407
|
+
type: import_sequelize_typescript84.DataType.STRING(2)
|
|
9156
9408
|
})
|
|
9157
|
-
],
|
|
9409
|
+
], userPermissionV.prototype, "en", 2);
|
|
9158
9410
|
__decorateClass([
|
|
9159
|
-
(0,
|
|
9160
|
-
field: "website_th",
|
|
9411
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9161
9412
|
allowNull: true,
|
|
9162
|
-
type:
|
|
9413
|
+
type: import_sequelize_typescript84.DataType.STRING(2)
|
|
9163
9414
|
})
|
|
9164
|
-
],
|
|
9415
|
+
], userPermissionV.prototype, "fr", 2);
|
|
9165
9416
|
__decorateClass([
|
|
9166
|
-
(0,
|
|
9167
|
-
field: "website_en",
|
|
9417
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9168
9418
|
allowNull: true,
|
|
9169
|
-
type:
|
|
9419
|
+
type: import_sequelize_typescript84.DataType.STRING
|
|
9170
9420
|
})
|
|
9171
|
-
],
|
|
9421
|
+
], userPermissionV.prototype, "sites", 2);
|
|
9172
9422
|
__decorateClass([
|
|
9173
|
-
(0,
|
|
9174
|
-
field: "website_fr",
|
|
9423
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9175
9424
|
allowNull: true,
|
|
9176
|
-
type:
|
|
9425
|
+
type: import_sequelize_typescript84.DataType.STRING(10)
|
|
9177
9426
|
})
|
|
9178
|
-
],
|
|
9179
|
-
|
|
9180
|
-
(0,
|
|
9181
|
-
tableName: "
|
|
9427
|
+
], userPermissionV.prototype, "management", 2);
|
|
9428
|
+
userPermissionV = __decorateClass([
|
|
9429
|
+
(0, import_sequelize_typescript84.Table)({
|
|
9430
|
+
tableName: "user_permission_v",
|
|
9182
9431
|
timestamps: false,
|
|
9183
9432
|
comment: "VIEW"
|
|
9184
9433
|
})
|
|
9185
|
-
],
|
|
9434
|
+
], userPermissionV);
|
|
9186
9435
|
// Annotate the CommonJS export names for ESM import in node:
|
|
9187
9436
|
0 && (module.exports = {
|
|
9188
9437
|
appBlessings,
|
|
@@ -9242,18 +9491,22 @@ userRoleV = __decorateClass([
|
|
|
9242
9491
|
msConsultChannels,
|
|
9243
9492
|
msConsultInstructions,
|
|
9244
9493
|
msConsultService,
|
|
9494
|
+
msConsultSiteCase,
|
|
9245
9495
|
msConsultSiteChannel,
|
|
9246
9496
|
msConsultSiteHoliday,
|
|
9497
|
+
msConsultSiteIssue,
|
|
9247
9498
|
msConsultSiteStaff,
|
|
9248
9499
|
msExecutive,
|
|
9249
|
-
|
|
9500
|
+
msExecutiveActing,
|
|
9250
9501
|
msExecutiveGroup,
|
|
9251
9502
|
msExecutiveLevel,
|
|
9252
|
-
msExecutivePosition,
|
|
9253
|
-
msGuidelines,
|
|
9254
9503
|
msHoliday,
|
|
9255
9504
|
msModule,
|
|
9505
|
+
msOrganization,
|
|
9506
|
+
msPosition,
|
|
9256
9507
|
msProvince,
|
|
9508
|
+
msQueueTourFaq,
|
|
9509
|
+
msQueueTourGuidelines,
|
|
9257
9510
|
msTitle,
|
|
9258
9511
|
msVariable,
|
|
9259
9512
|
msWebsite,
|
|
@@ -9262,8 +9515,7 @@ userRoleV = __decorateClass([
|
|
|
9262
9515
|
recruitment,
|
|
9263
9516
|
recruitmentGroup,
|
|
9264
9517
|
settings,
|
|
9265
|
-
|
|
9266
|
-
userRoleV,
|
|
9518
|
+
userPermissionV,
|
|
9267
9519
|
users,
|
|
9268
9520
|
usersVerify
|
|
9269
9521
|
});
|