@admc-go-th/admc-library 1.0.129 → 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.
Files changed (94) hide show
  1. package/appQueue-HW5J6Gb9.d.ts +162 -0
  2. package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
  3. package/databases/schema/appQueue.ts +93 -3
  4. package/databases/schema/appReportCorruption.ts +1 -1
  5. package/databases/schema/appScore.ts +8 -0
  6. package/databases/schema/files.ts +7 -0
  7. package/databases/schema/formFaq.ts +126 -126
  8. package/databases/schema/index.ts +10 -5
  9. package/databases/schema/informationIndex.ts +211 -211
  10. package/databases/schema/informationIndexGroup.ts +103 -103
  11. package/databases/schema/mdBanner.ts +8 -0
  12. package/databases/schema/mdDownloadBk.ts +136 -136
  13. package/databases/schema/mdEbookGroup.ts +8 -0
  14. package/databases/schema/msConsultCase.ts +0 -8
  15. package/databases/schema/msConsultChannels.ts +14 -1
  16. package/databases/schema/msConsultSiteCase.ts +91 -0
  17. package/databases/schema/msConsultSiteIssue.ts +84 -0
  18. package/databases/schema/msExecutiveActing.ts +75 -0
  19. package/databases/schema/msExecutiveBoard.ts +82 -82
  20. package/databases/schema/msExecutiveBoardBk.ts +83 -0
  21. package/databases/schema/msExecutivePosition.ts +117 -117
  22. package/databases/schema/msExecutivePositionBk.ts +112 -0
  23. package/databases/schema/msGuidelines.ts +88 -88
  24. package/databases/schema/msOrganization.ts +139 -0
  25. package/databases/schema/msPosition.ts +76 -0
  26. package/databases/schema/msQueueTourFaq.ts +90 -0
  27. package/databases/schema/msQueueTourGuidelines.ts +90 -0
  28. package/databases/schema/msWebsite.ts +7 -1
  29. package/databases/schema/setting.ts +73 -73
  30. package/databases/schema/userPermissionV.ts +78 -0
  31. package/databases/schema/users.ts +62 -0
  32. package/databases/tables/appQueue.d.ts +2 -62
  33. package/databases/tables/appQueue.js +380 -54
  34. package/databases/tables/appReportCorruption.js +1 -1
  35. package/databases/tables/appReportCorruptionTransaction.js +1 -1
  36. package/databases/tables/appScore.d.ts +2 -0
  37. package/databases/tables/appScore.js +7 -0
  38. package/databases/tables/authAssignment.d.ts +1 -1
  39. package/databases/tables/authAssignment.js +54 -0
  40. package/databases/tables/authRole.d.ts +1 -1
  41. package/databases/tables/authRole.js +54 -0
  42. package/databases/tables/authRoleChild.d.ts +1 -1
  43. package/databases/tables/authRoleChild.js +54 -0
  44. package/databases/tables/files.d.ts +1 -1
  45. package/databases/tables/files.js +13 -0
  46. package/databases/tables/index.d.ts +15 -11
  47. package/databases/tables/index.js +4440 -3810
  48. package/databases/tables/mdBanner.d.ts +1 -1
  49. package/databases/tables/mdBanner.js +13 -0
  50. package/databases/tables/mdContent.d.ts +1 -1
  51. package/databases/tables/mdContent.js +54 -0
  52. package/databases/tables/mdContentGroup.d.ts +1 -1
  53. package/databases/tables/mdContentGroup.js +54 -0
  54. package/databases/tables/mdEbook.d.ts +1 -1
  55. package/databases/tables/mdEbook.js +7 -0
  56. package/databases/tables/mdEbookGroup.d.ts +1 -1
  57. package/databases/tables/mdEbookGroup.js +7 -0
  58. package/databases/tables/mdQuestionnaire.d.ts +1 -1
  59. package/databases/tables/mdQuestionnaire.js +54 -0
  60. package/databases/tables/mdQuestionnaireData.d.ts +1 -1
  61. package/databases/tables/mdQuestionnaireData.js +54 -0
  62. package/databases/tables/msConsultCase.d.ts +0 -2
  63. package/databases/tables/msConsultCase.js +0 -7
  64. package/databases/tables/msConsultChannels.d.ts +2 -24
  65. package/databases/tables/msConsultChannels.js +469 -13
  66. package/databases/tables/msConsultSiteCase.d.ts +28 -0
  67. package/databases/tables/msConsultSiteCase.js +113 -0
  68. package/databases/tables/msConsultSiteIssue.d.ts +26 -0
  69. package/databases/tables/msConsultSiteIssue.js +107 -0
  70. package/databases/tables/msExecutiveActing.d.ts +24 -0
  71. package/databases/tables/msExecutiveActing.js +99 -0
  72. package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
  73. package/databases/tables/msExecutiveBoardBk.js +106 -0
  74. package/databases/tables/msExecutivePositionBk.d.ts +34 -0
  75. package/databases/tables/msExecutivePositionBk.js +131 -0
  76. package/databases/tables/msOrganization.d.ts +40 -0
  77. package/databases/tables/msOrganization.js +155 -0
  78. package/databases/tables/msPosition.d.ts +24 -0
  79. package/databases/tables/msPosition.js +100 -0
  80. package/databases/tables/msQueueTourFaq.d.ts +28 -0
  81. package/databases/tables/msQueueTourFaq.js +112 -0
  82. package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
  83. package/databases/tables/msQueueTourGuidelines.js +112 -0
  84. package/databases/tables/msWebsite.d.ts +2 -56
  85. package/databases/tables/msWebsite.js +400 -46
  86. package/databases/tables/userPermissionV.d.ts +26 -0
  87. package/databases/tables/userPermissionV.js +101 -0
  88. package/databases/tables/users.d.ts +1 -1
  89. package/databases/tables/users.js +54 -0
  90. package/databases/tables/usersVerify.d.ts +1 -1
  91. package/databases/tables/usersVerify.js +54 -0
  92. package/{files-Dp2zDQAj.d.ts → files-CXIMD4Bk.d.ts} +4 -0
  93. package/{mdEbook-yzNQjFhx.d.ts → mdEbook-DVvRlFVe.d.ts} +2 -0
  94. package/package.json +1 -1
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __decorateClass = (decorators, target, key, kind) => {
20
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
21
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
22
+ if (decorator = decorators[i])
23
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
24
+ if (kind && result) __defProp(target, key, result);
25
+ return result;
26
+ };
27
+
28
+ // src/databases/tables/msConsultSiteIssue.ts
29
+ var msConsultSiteIssue_exports = {};
30
+ __export(msConsultSiteIssue_exports, {
31
+ msConsultSiteIssue: () => msConsultSiteIssue
32
+ });
33
+ module.exports = __toCommonJS(msConsultSiteIssue_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msConsultSiteIssue = class extends import_sequelize_typescript.Model {
36
+ };
37
+ __decorateClass([
38
+ (0, import_sequelize_typescript.Column)({
39
+ primaryKey: true,
40
+ autoIncrement: true,
41
+ type: import_sequelize_typescript.DataType.INTEGER
42
+ })
43
+ ], msConsultSiteIssue.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ field: "site_id",
47
+ allowNull: true,
48
+ type: import_sequelize_typescript.DataType.INTEGER
49
+ })
50
+ ], msConsultSiteIssue.prototype, "siteId", 2);
51
+ __decorateClass([
52
+ (0, import_sequelize_typescript.Column)({
53
+ allowNull: true,
54
+ type: import_sequelize_typescript.DataType.STRING(255)
55
+ })
56
+ ], msConsultSiteIssue.prototype, "name", 2);
57
+ __decorateClass([
58
+ (0, import_sequelize_typescript.Column)({
59
+ allowNull: true,
60
+ type: import_sequelize_typescript.DataType.STRING
61
+ })
62
+ ], msConsultSiteIssue.prototype, "detail", 2);
63
+ __decorateClass([
64
+ (0, import_sequelize_typescript.Column)({
65
+ allowNull: true,
66
+ type: import_sequelize_typescript.DataType.INTEGER,
67
+ defaultValue: "1"
68
+ })
69
+ ], msConsultSiteIssue.prototype, "status", 2);
70
+ __decorateClass([
71
+ (0, import_sequelize_typescript.Column)({
72
+ field: "created_by",
73
+ allowNull: true,
74
+ type: import_sequelize_typescript.DataType.STRING(60)
75
+ })
76
+ ], msConsultSiteIssue.prototype, "createdBy", 2);
77
+ __decorateClass([
78
+ (0, import_sequelize_typescript.Column)({
79
+ field: "created_date",
80
+ allowNull: true,
81
+ type: import_sequelize_typescript.DataType.DATE
82
+ })
83
+ ], msConsultSiteIssue.prototype, "createdDate", 2);
84
+ __decorateClass([
85
+ (0, import_sequelize_typescript.Column)({
86
+ field: "updated_by",
87
+ allowNull: true,
88
+ type: import_sequelize_typescript.DataType.STRING(60)
89
+ })
90
+ ], msConsultSiteIssue.prototype, "updatedBy", 2);
91
+ __decorateClass([
92
+ (0, import_sequelize_typescript.Column)({
93
+ field: "updated_date",
94
+ allowNull: true,
95
+ type: import_sequelize_typescript.DataType.DATE
96
+ })
97
+ ], msConsultSiteIssue.prototype, "updatedDate", 2);
98
+ msConsultSiteIssue = __decorateClass([
99
+ (0, import_sequelize_typescript.Table)({
100
+ tableName: "ms_consult_site_issue",
101
+ timestamps: false
102
+ })
103
+ ], msConsultSiteIssue);
104
+ // Annotate the CommonJS export names for ESM import in node:
105
+ 0 && (module.exports = {
106
+ msConsultSiteIssue
107
+ });
@@ -0,0 +1,24 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msExecutiveActingAttributes {
4
+ id?: number;
5
+ name?: string;
6
+ info?: object;
7
+ status?: number;
8
+ createdBy?: string;
9
+ createdDate?: Date;
10
+ updatedBy?: string;
11
+ updatedDate?: Date;
12
+ }
13
+ declare class msExecutiveActing extends Model<msExecutiveActingAttributes, msExecutiveActingAttributes> implements msExecutiveActingAttributes {
14
+ id?: number;
15
+ name?: string;
16
+ info?: object;
17
+ status?: number;
18
+ createdBy?: string;
19
+ createdDate?: Date;
20
+ updatedBy?: string;
21
+ updatedDate?: Date;
22
+ }
23
+
24
+ export { msExecutiveActing, type msExecutiveActingAttributes };
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __decorateClass = (decorators, target, key, kind) => {
20
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
21
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
22
+ if (decorator = decorators[i])
23
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
24
+ if (kind && result) __defProp(target, key, result);
25
+ return result;
26
+ };
27
+
28
+ // src/databases/tables/msExecutiveActing.ts
29
+ var msExecutiveActing_exports = {};
30
+ __export(msExecutiveActing_exports, {
31
+ msExecutiveActing: () => msExecutiveActing
32
+ });
33
+ module.exports = __toCommonJS(msExecutiveActing_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msExecutiveActing = class extends import_sequelize_typescript.Model {
36
+ };
37
+ __decorateClass([
38
+ (0, import_sequelize_typescript.Column)({
39
+ primaryKey: true,
40
+ autoIncrement: true,
41
+ type: import_sequelize_typescript.DataType.INTEGER
42
+ })
43
+ ], msExecutiveActing.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ allowNull: true,
47
+ type: import_sequelize_typescript.DataType.STRING(255)
48
+ })
49
+ ], msExecutiveActing.prototype, "name", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ allowNull: true,
53
+ type: import_sequelize_typescript.DataType.JSON
54
+ })
55
+ ], msExecutiveActing.prototype, "info", 2);
56
+ __decorateClass([
57
+ (0, import_sequelize_typescript.Column)({
58
+ allowNull: true,
59
+ type: import_sequelize_typescript.DataType.INTEGER
60
+ })
61
+ ], msExecutiveActing.prototype, "status", 2);
62
+ __decorateClass([
63
+ (0, import_sequelize_typescript.Column)({
64
+ field: "created_by",
65
+ allowNull: true,
66
+ type: import_sequelize_typescript.DataType.STRING(60)
67
+ })
68
+ ], msExecutiveActing.prototype, "createdBy", 2);
69
+ __decorateClass([
70
+ (0, import_sequelize_typescript.Column)({
71
+ field: "created_date",
72
+ allowNull: true,
73
+ type: import_sequelize_typescript.DataType.DATE
74
+ })
75
+ ], msExecutiveActing.prototype, "createdDate", 2);
76
+ __decorateClass([
77
+ (0, import_sequelize_typescript.Column)({
78
+ field: "updated_by",
79
+ allowNull: true,
80
+ type: import_sequelize_typescript.DataType.STRING(60)
81
+ })
82
+ ], msExecutiveActing.prototype, "updatedBy", 2);
83
+ __decorateClass([
84
+ (0, import_sequelize_typescript.Column)({
85
+ field: "updated_date",
86
+ allowNull: true,
87
+ type: import_sequelize_typescript.DataType.DATE
88
+ })
89
+ ], msExecutiveActing.prototype, "updatedDate", 2);
90
+ msExecutiveActing = __decorateClass([
91
+ (0, import_sequelize_typescript.Table)({
92
+ tableName: "ms_executive_acting",
93
+ timestamps: false
94
+ })
95
+ ], msExecutiveActing);
96
+ // Annotate the CommonJS export names for ESM import in node:
97
+ 0 && (module.exports = {
98
+ msExecutiveActing
99
+ });
@@ -0,0 +1,26 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msExecutiveBoardBkAttributes {
4
+ id?: number;
5
+ name?: string;
6
+ nameInfo?: object;
7
+ sort?: string;
8
+ status?: string;
9
+ createdBy?: string;
10
+ createdDate?: Date;
11
+ updatedBy?: string;
12
+ updatedDate?: Date;
13
+ }
14
+ declare class msExecutiveBoardBk extends Model<msExecutiveBoardBkAttributes, msExecutiveBoardBkAttributes> implements msExecutiveBoardBkAttributes {
15
+ id?: number;
16
+ name?: string;
17
+ nameInfo?: object;
18
+ sort?: string;
19
+ status?: string;
20
+ createdBy?: string;
21
+ createdDate?: Date;
22
+ updatedBy?: string;
23
+ updatedDate?: Date;
24
+ }
25
+
26
+ export { msExecutiveBoardBk, type msExecutiveBoardBkAttributes };
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __decorateClass = (decorators, target, key, kind) => {
20
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
21
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
22
+ if (decorator = decorators[i])
23
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
24
+ if (kind && result) __defProp(target, key, result);
25
+ return result;
26
+ };
27
+
28
+ // src/databases/tables/msExecutiveBoardBk.ts
29
+ var msExecutiveBoardBk_exports = {};
30
+ __export(msExecutiveBoardBk_exports, {
31
+ msExecutiveBoardBk: () => msExecutiveBoardBk
32
+ });
33
+ module.exports = __toCommonJS(msExecutiveBoardBk_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msExecutiveBoardBk = class extends import_sequelize_typescript.Model {
36
+ };
37
+ __decorateClass([
38
+ (0, import_sequelize_typescript.Column)({
39
+ primaryKey: true,
40
+ autoIncrement: true,
41
+ type: import_sequelize_typescript.DataType.INTEGER
42
+ })
43
+ ], msExecutiveBoardBk.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ allowNull: true,
47
+ type: import_sequelize_typescript.DataType.STRING(255)
48
+ })
49
+ ], msExecutiveBoardBk.prototype, "name", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ field: "name_info",
53
+ allowNull: true,
54
+ type: import_sequelize_typescript.DataType.JSON
55
+ })
56
+ ], msExecutiveBoardBk.prototype, "nameInfo", 2);
57
+ __decorateClass([
58
+ (0, import_sequelize_typescript.Column)({
59
+ allowNull: true,
60
+ type: import_sequelize_typescript.DataType.STRING(255)
61
+ })
62
+ ], msExecutiveBoardBk.prototype, "sort", 2);
63
+ __decorateClass([
64
+ (0, import_sequelize_typescript.Column)({
65
+ allowNull: true,
66
+ type: import_sequelize_typescript.DataType.STRING(255)
67
+ })
68
+ ], msExecutiveBoardBk.prototype, "status", 2);
69
+ __decorateClass([
70
+ (0, import_sequelize_typescript.Column)({
71
+ field: "created_by",
72
+ allowNull: true,
73
+ type: import_sequelize_typescript.DataType.STRING(60)
74
+ })
75
+ ], msExecutiveBoardBk.prototype, "createdBy", 2);
76
+ __decorateClass([
77
+ (0, import_sequelize_typescript.Column)({
78
+ field: "created_date",
79
+ allowNull: true,
80
+ type: import_sequelize_typescript.DataType.DATE
81
+ })
82
+ ], msExecutiveBoardBk.prototype, "createdDate", 2);
83
+ __decorateClass([
84
+ (0, import_sequelize_typescript.Column)({
85
+ field: "updated_by",
86
+ allowNull: true,
87
+ type: import_sequelize_typescript.DataType.STRING(60)
88
+ })
89
+ ], msExecutiveBoardBk.prototype, "updatedBy", 2);
90
+ __decorateClass([
91
+ (0, import_sequelize_typescript.Column)({
92
+ field: "updated_date",
93
+ allowNull: true,
94
+ type: import_sequelize_typescript.DataType.DATE
95
+ })
96
+ ], msExecutiveBoardBk.prototype, "updatedDate", 2);
97
+ msExecutiveBoardBk = __decorateClass([
98
+ (0, import_sequelize_typescript.Table)({
99
+ tableName: "ms_executive_board@bk",
100
+ timestamps: false
101
+ })
102
+ ], msExecutiveBoardBk);
103
+ // Annotate the CommonJS export names for ESM import in node:
104
+ 0 && (module.exports = {
105
+ msExecutiveBoardBk
106
+ });
@@ -0,0 +1,34 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msExecutivePositionBkAttributes {
4
+ id?: number;
5
+ groupId?: number;
6
+ name?: string;
7
+ description?: string;
8
+ updatedInfo?: string;
9
+ remark?: string;
10
+ sort?: number;
11
+ status?: number;
12
+ info?: object;
13
+ createdBy?: string;
14
+ createdDate?: Date;
15
+ updatedBy?: string;
16
+ updatedDate?: Date;
17
+ }
18
+ declare class msExecutivePositionBk extends Model<msExecutivePositionBkAttributes, msExecutivePositionBkAttributes> implements msExecutivePositionBkAttributes {
19
+ id?: number;
20
+ groupId?: number;
21
+ name?: string;
22
+ description?: string;
23
+ updatedInfo?: string;
24
+ remark?: string;
25
+ sort?: number;
26
+ status?: number;
27
+ info?: object;
28
+ createdBy?: string;
29
+ createdDate?: Date;
30
+ updatedBy?: string;
31
+ updatedDate?: Date;
32
+ }
33
+
34
+ export { msExecutivePositionBk, type msExecutivePositionBkAttributes };
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __decorateClass = (decorators, target, key, kind) => {
20
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
21
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
22
+ if (decorator = decorators[i])
23
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
24
+ if (kind && result) __defProp(target, key, result);
25
+ return result;
26
+ };
27
+
28
+ // src/databases/tables/msExecutivePositionBk.ts
29
+ var msExecutivePositionBk_exports = {};
30
+ __export(msExecutivePositionBk_exports, {
31
+ msExecutivePositionBk: () => msExecutivePositionBk
32
+ });
33
+ module.exports = __toCommonJS(msExecutivePositionBk_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msExecutivePositionBk = class extends import_sequelize_typescript.Model {
36
+ };
37
+ __decorateClass([
38
+ (0, import_sequelize_typescript.Column)({
39
+ primaryKey: true,
40
+ autoIncrement: true,
41
+ type: import_sequelize_typescript.DataType.INTEGER
42
+ })
43
+ ], msExecutivePositionBk.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ field: "group_id",
47
+ allowNull: true,
48
+ type: import_sequelize_typescript.DataType.INTEGER
49
+ })
50
+ ], msExecutivePositionBk.prototype, "groupId", 2);
51
+ __decorateClass([
52
+ (0, import_sequelize_typescript.Column)({
53
+ allowNull: true,
54
+ type: import_sequelize_typescript.DataType.STRING(255)
55
+ })
56
+ ], msExecutivePositionBk.prototype, "name", 2);
57
+ __decorateClass([
58
+ (0, import_sequelize_typescript.Column)({
59
+ allowNull: true,
60
+ type: import_sequelize_typescript.DataType.STRING(255)
61
+ })
62
+ ], msExecutivePositionBk.prototype, "description", 2);
63
+ __decorateClass([
64
+ (0, import_sequelize_typescript.Column)({
65
+ field: "updated_info",
66
+ allowNull: true,
67
+ type: import_sequelize_typescript.DataType.STRING(255)
68
+ })
69
+ ], msExecutivePositionBk.prototype, "updatedInfo", 2);
70
+ __decorateClass([
71
+ (0, import_sequelize_typescript.Column)({
72
+ allowNull: true,
73
+ type: import_sequelize_typescript.DataType.STRING
74
+ })
75
+ ], msExecutivePositionBk.prototype, "remark", 2);
76
+ __decorateClass([
77
+ (0, import_sequelize_typescript.Column)({
78
+ allowNull: true,
79
+ type: import_sequelize_typescript.DataType.INTEGER
80
+ })
81
+ ], msExecutivePositionBk.prototype, "sort", 2);
82
+ __decorateClass([
83
+ (0, import_sequelize_typescript.Column)({
84
+ allowNull: true,
85
+ type: import_sequelize_typescript.DataType.INTEGER
86
+ })
87
+ ], msExecutivePositionBk.prototype, "status", 2);
88
+ __decorateClass([
89
+ (0, import_sequelize_typescript.Column)({
90
+ allowNull: true,
91
+ type: import_sequelize_typescript.DataType.JSON
92
+ })
93
+ ], msExecutivePositionBk.prototype, "info", 2);
94
+ __decorateClass([
95
+ (0, import_sequelize_typescript.Column)({
96
+ field: "created_by",
97
+ allowNull: true,
98
+ type: import_sequelize_typescript.DataType.STRING(60)
99
+ })
100
+ ], msExecutivePositionBk.prototype, "createdBy", 2);
101
+ __decorateClass([
102
+ (0, import_sequelize_typescript.Column)({
103
+ field: "created_date",
104
+ allowNull: true,
105
+ type: import_sequelize_typescript.DataType.DATE
106
+ })
107
+ ], msExecutivePositionBk.prototype, "createdDate", 2);
108
+ __decorateClass([
109
+ (0, import_sequelize_typescript.Column)({
110
+ field: "updated_by",
111
+ allowNull: true,
112
+ type: import_sequelize_typescript.DataType.STRING(60)
113
+ })
114
+ ], msExecutivePositionBk.prototype, "updatedBy", 2);
115
+ __decorateClass([
116
+ (0, import_sequelize_typescript.Column)({
117
+ field: "updated_date",
118
+ allowNull: true,
119
+ type: import_sequelize_typescript.DataType.DATE
120
+ })
121
+ ], msExecutivePositionBk.prototype, "updatedDate", 2);
122
+ msExecutivePositionBk = __decorateClass([
123
+ (0, import_sequelize_typescript.Table)({
124
+ tableName: "ms_executive_position@bk",
125
+ timestamps: false
126
+ })
127
+ ], msExecutivePositionBk);
128
+ // Annotate the CommonJS export names for ESM import in node:
129
+ 0 && (module.exports = {
130
+ msExecutivePositionBk
131
+ });
@@ -0,0 +1,40 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msOrganizationAttributes {
4
+ id?: number;
5
+ parentId?: number;
6
+ organizationId?: number;
7
+ organizationCode?: string;
8
+ name?: string;
9
+ nameShort?: string;
10
+ description?: string;
11
+ olCode?: string;
12
+ otCode?: string;
13
+ otName?: string;
14
+ status?: number;
15
+ sort?: number;
16
+ createdBy?: string;
17
+ createdDate?: Date;
18
+ updatedBy?: string;
19
+ updatedDate?: Date;
20
+ }
21
+ declare class msOrganization extends Model<msOrganizationAttributes, msOrganizationAttributes> implements msOrganizationAttributes {
22
+ id?: number;
23
+ parentId?: number;
24
+ organizationId?: number;
25
+ organizationCode?: string;
26
+ name?: string;
27
+ nameShort?: string;
28
+ description?: string;
29
+ olCode?: string;
30
+ otCode?: string;
31
+ otName?: string;
32
+ status?: number;
33
+ sort?: number;
34
+ createdBy?: string;
35
+ createdDate?: Date;
36
+ updatedBy?: string;
37
+ updatedDate?: Date;
38
+ }
39
+
40
+ export { msOrganization, type msOrganizationAttributes };