@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.
Files changed (76) hide show
  1. package/{appQueue-QJ9ECucz.d.ts → appQueue-HW5J6Gb9.d.ts} +6 -2
  2. package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
  3. package/databases/schema/appQueue.ts +24 -8
  4. package/databases/schema/appScore.ts +8 -0
  5. package/databases/schema/formFaq.ts +126 -126
  6. package/databases/schema/index.ts +10 -5
  7. package/databases/schema/informationIndex.ts +211 -211
  8. package/databases/schema/informationIndexGroup.ts +103 -103
  9. package/databases/schema/mdDownloadBk.ts +136 -136
  10. package/databases/schema/msConsultCase.ts +0 -8
  11. package/databases/schema/msConsultSiteCase.ts +91 -0
  12. package/databases/schema/msConsultSiteIssue.ts +84 -0
  13. package/databases/schema/msExecutiveActing.ts +75 -0
  14. package/databases/schema/msExecutiveBoard.ts +82 -82
  15. package/databases/schema/msExecutiveBoardBk.ts +83 -0
  16. package/databases/schema/msExecutivePosition.ts +117 -117
  17. package/databases/schema/msExecutivePositionBk.ts +112 -0
  18. package/databases/schema/msGuidelines.ts +88 -88
  19. package/databases/schema/msOrganization.ts +139 -0
  20. package/databases/schema/msPosition.ts +76 -0
  21. package/databases/schema/msQueueTourFaq.ts +90 -0
  22. package/databases/schema/msQueueTourGuidelines.ts +90 -0
  23. package/databases/schema/setting.ts +73 -73
  24. package/databases/schema/userPermissionV.ts +78 -0
  25. package/databases/schema/users.ts +62 -0
  26. package/databases/tables/appQueue.d.ts +1 -1
  27. package/databases/tables/appQueue.js +21 -7
  28. package/databases/tables/appScore.d.ts +2 -0
  29. package/databases/tables/appScore.js +7 -0
  30. package/databases/tables/authAssignment.d.ts +1 -1
  31. package/databases/tables/authAssignment.js +54 -0
  32. package/databases/tables/authRole.d.ts +1 -1
  33. package/databases/tables/authRole.js +54 -0
  34. package/databases/tables/authRoleChild.d.ts +1 -1
  35. package/databases/tables/authRoleChild.js +54 -0
  36. package/databases/tables/index.d.ts +13 -7
  37. package/databases/tables/index.js +1236 -708
  38. package/databases/tables/mdContent.d.ts +1 -1
  39. package/databases/tables/mdContent.js +54 -0
  40. package/databases/tables/mdContentGroup.d.ts +1 -1
  41. package/databases/tables/mdContentGroup.js +54 -0
  42. package/databases/tables/mdQuestionnaire.d.ts +1 -1
  43. package/databases/tables/mdQuestionnaire.js +54 -0
  44. package/databases/tables/mdQuestionnaireData.d.ts +1 -1
  45. package/databases/tables/mdQuestionnaireData.js +54 -0
  46. package/databases/tables/msConsultCase.d.ts +0 -2
  47. package/databases/tables/msConsultCase.js +0 -7
  48. package/databases/tables/msConsultChannels.d.ts +1 -1
  49. package/databases/tables/msConsultChannels.js +21 -7
  50. package/databases/tables/msConsultSiteCase.d.ts +28 -0
  51. package/databases/tables/msConsultSiteCase.js +113 -0
  52. package/databases/tables/msConsultSiteIssue.d.ts +26 -0
  53. package/databases/tables/msConsultSiteIssue.js +107 -0
  54. package/databases/tables/msExecutiveActing.d.ts +24 -0
  55. package/databases/tables/msExecutiveActing.js +99 -0
  56. package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
  57. package/databases/tables/msExecutiveBoardBk.js +106 -0
  58. package/databases/tables/msExecutivePositionBk.d.ts +34 -0
  59. package/databases/tables/msExecutivePositionBk.js +131 -0
  60. package/databases/tables/msOrganization.d.ts +40 -0
  61. package/databases/tables/msOrganization.js +155 -0
  62. package/databases/tables/msPosition.d.ts +24 -0
  63. package/databases/tables/msPosition.js +100 -0
  64. package/databases/tables/msQueueTourFaq.d.ts +28 -0
  65. package/databases/tables/msQueueTourFaq.js +112 -0
  66. package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
  67. package/databases/tables/msQueueTourGuidelines.js +112 -0
  68. package/databases/tables/msWebsite.d.ts +1 -1
  69. package/databases/tables/msWebsite.js +21 -7
  70. package/databases/tables/userPermissionV.d.ts +26 -0
  71. package/databases/tables/userPermissionV.js +101 -0
  72. package/databases/tables/users.d.ts +1 -1
  73. package/databases/tables/users.js +54 -0
  74. package/databases/tables/usersVerify.d.ts +1 -1
  75. package/databases/tables/usersVerify.js +54 -0
  76. package/package.json +1 -1
@@ -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 };
@@ -0,0 +1,155 @@
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/msOrganization.ts
29
+ var msOrganization_exports = {};
30
+ __export(msOrganization_exports, {
31
+ msOrganization: () => msOrganization
32
+ });
33
+ module.exports = __toCommonJS(msOrganization_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msOrganization = 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
+ ], msOrganization.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ field: "parent_id",
47
+ allowNull: true,
48
+ type: import_sequelize_typescript.DataType.INTEGER
49
+ })
50
+ ], msOrganization.prototype, "parentId", 2);
51
+ __decorateClass([
52
+ (0, import_sequelize_typescript.Column)({
53
+ field: "organization_id",
54
+ allowNull: true,
55
+ type: import_sequelize_typescript.DataType.INTEGER
56
+ })
57
+ ], msOrganization.prototype, "organizationId", 2);
58
+ __decorateClass([
59
+ (0, import_sequelize_typescript.Column)({
60
+ field: "organization_code",
61
+ allowNull: true,
62
+ type: import_sequelize_typescript.DataType.STRING(10)
63
+ })
64
+ ], msOrganization.prototype, "organizationCode", 2);
65
+ __decorateClass([
66
+ (0, import_sequelize_typescript.Column)({
67
+ allowNull: true,
68
+ type: import_sequelize_typescript.DataType.STRING(255)
69
+ })
70
+ ], msOrganization.prototype, "name", 2);
71
+ __decorateClass([
72
+ (0, import_sequelize_typescript.Column)({
73
+ field: "name_short",
74
+ allowNull: true,
75
+ type: import_sequelize_typescript.DataType.STRING(30)
76
+ })
77
+ ], msOrganization.prototype, "nameShort", 2);
78
+ __decorateClass([
79
+ (0, import_sequelize_typescript.Column)({
80
+ allowNull: true,
81
+ type: import_sequelize_typescript.DataType.STRING(255)
82
+ })
83
+ ], msOrganization.prototype, "description", 2);
84
+ __decorateClass([
85
+ (0, import_sequelize_typescript.Column)({
86
+ field: "ol_code",
87
+ allowNull: true,
88
+ type: import_sequelize_typescript.DataType.STRING(10)
89
+ })
90
+ ], msOrganization.prototype, "olCode", 2);
91
+ __decorateClass([
92
+ (0, import_sequelize_typescript.Column)({
93
+ field: "ot_code",
94
+ allowNull: true,
95
+ type: import_sequelize_typescript.DataType.STRING(10)
96
+ })
97
+ ], msOrganization.prototype, "otCode", 2);
98
+ __decorateClass([
99
+ (0, import_sequelize_typescript.Column)({
100
+ field: "ot_name",
101
+ allowNull: true,
102
+ type: import_sequelize_typescript.DataType.STRING(255)
103
+ })
104
+ ], msOrganization.prototype, "otName", 2);
105
+ __decorateClass([
106
+ (0, import_sequelize_typescript.Column)({
107
+ allowNull: true,
108
+ type: import_sequelize_typescript.DataType.INTEGER,
109
+ defaultValue: "1"
110
+ })
111
+ ], msOrganization.prototype, "status", 2);
112
+ __decorateClass([
113
+ (0, import_sequelize_typescript.Column)({
114
+ allowNull: true,
115
+ type: import_sequelize_typescript.DataType.INTEGER
116
+ })
117
+ ], msOrganization.prototype, "sort", 2);
118
+ __decorateClass([
119
+ (0, import_sequelize_typescript.Column)({
120
+ field: "created_by",
121
+ allowNull: true,
122
+ type: import_sequelize_typescript.DataType.STRING(60)
123
+ })
124
+ ], msOrganization.prototype, "createdBy", 2);
125
+ __decorateClass([
126
+ (0, import_sequelize_typescript.Column)({
127
+ field: "created_date",
128
+ allowNull: true,
129
+ type: import_sequelize_typescript.DataType.DATE
130
+ })
131
+ ], msOrganization.prototype, "createdDate", 2);
132
+ __decorateClass([
133
+ (0, import_sequelize_typescript.Column)({
134
+ field: "updated_by",
135
+ allowNull: true,
136
+ type: import_sequelize_typescript.DataType.STRING(60)
137
+ })
138
+ ], msOrganization.prototype, "updatedBy", 2);
139
+ __decorateClass([
140
+ (0, import_sequelize_typescript.Column)({
141
+ field: "updated_date",
142
+ allowNull: true,
143
+ type: import_sequelize_typescript.DataType.DATE
144
+ })
145
+ ], msOrganization.prototype, "updatedDate", 2);
146
+ msOrganization = __decorateClass([
147
+ (0, import_sequelize_typescript.Table)({
148
+ tableName: "ms_organization",
149
+ timestamps: false
150
+ })
151
+ ], msOrganization);
152
+ // Annotate the CommonJS export names for ESM import in node:
153
+ 0 && (module.exports = {
154
+ msOrganization
155
+ });
@@ -0,0 +1,24 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msPositionAttributes {
4
+ id?: number;
5
+ name?: string;
6
+ description?: string;
7
+ status?: number;
8
+ createdBy?: string;
9
+ createdDate?: Date;
10
+ updatedBy?: string;
11
+ updatedDate?: Date;
12
+ }
13
+ declare class msPosition extends Model<msPositionAttributes, msPositionAttributes> implements msPositionAttributes {
14
+ id?: number;
15
+ name?: string;
16
+ description?: string;
17
+ status?: number;
18
+ createdBy?: string;
19
+ createdDate?: Date;
20
+ updatedBy?: string;
21
+ updatedDate?: Date;
22
+ }
23
+
24
+ export { msPosition, type msPositionAttributes };