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