@admc-go-th/admc-library 1.0.120 → 1.0.122
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/{appBlessings-peNBIrhQ.d.ts → appBlessings-DcXFhNjP.d.ts} +4 -2
- package/databases/schema/appBlessings.ts +11 -3
- package/databases/schema/appScore.ts +154 -0
- package/databases/schema/appScoreData.ts +101 -0
- package/databases/schema/appScorePerson.ts +101 -0
- package/databases/schema/index.ts +5 -0
- package/databases/schema/logsMember.ts +60 -0
- package/databases/schema/mdApplication.ts +12 -3
- package/databases/schema/mdEgp.ts +114 -0
- package/databases/schema/msExecutiveGroup.ts +7 -0
- package/databases/schema/msExecutiveLevel.ts +119 -0
- package/databases/schema/msHoliday.ts +29 -6
- package/databases/tables/appBlessings.d.ts +1 -1
- package/databases/tables/appBlessings.js +8 -1
- package/databases/tables/appBlessingsTransaction.d.ts +1 -1
- package/databases/tables/appBlessingsTransaction.js +8 -1
- package/databases/tables/appScore.d.ts +44 -0
- package/databases/tables/appScore.js +168 -0
- package/databases/tables/appScoreData.d.ts +30 -0
- package/databases/tables/appScoreData.js +122 -0
- package/databases/tables/appScorePerson.d.ts +30 -0
- package/databases/tables/appScorePerson.js +122 -0
- package/databases/tables/index.d.ts +7 -2
- package/databases/tables/index.js +2632 -2121
- package/databases/tables/logsMember.d.ts +20 -0
- package/databases/tables/logsMember.js +86 -0
- package/databases/tables/mdApplication.d.ts +4 -2
- package/databases/tables/mdApplication.js +9 -1
- package/databases/tables/mdEgp.d.ts +34 -0
- package/databases/tables/mdEgp.js +133 -0
- package/databases/tables/msExecutive.d.ts +1 -1
- package/databases/tables/msExecutive.js +6 -0
- package/databases/tables/msExecutiveGroup.d.ts +1 -1
- package/databases/tables/msExecutiveGroup.js +6 -0
- package/databases/tables/msExecutiveLevel.d.ts +36 -0
- package/databases/tables/msExecutiveLevel.js +137 -0
- package/databases/tables/msExecutivePosition.d.ts +1 -1
- package/databases/tables/msExecutivePosition.js +6 -0
- package/databases/tables/msHoliday.d.ts +10 -4
- package/databases/tables/msHoliday.js +23 -3
- package/{msExecutive-B7lTHxSZ.d.ts → msExecutive-BFeU4P0-.d.ts} +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface logsMemberAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
memberUuid?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
data?: object;
|
|
8
|
+
createdBy?: string;
|
|
9
|
+
createdDate?: Date;
|
|
10
|
+
}
|
|
11
|
+
declare class logsMember extends Model<logsMemberAttributes, logsMemberAttributes> implements logsMemberAttributes {
|
|
12
|
+
id?: number;
|
|
13
|
+
memberUuid?: string;
|
|
14
|
+
type?: string;
|
|
15
|
+
data?: object;
|
|
16
|
+
createdBy?: string;
|
|
17
|
+
createdDate?: Date;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { logsMember, type logsMemberAttributes };
|
|
@@ -0,0 +1,86 @@
|
|
|
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/logsMember.ts
|
|
29
|
+
var logsMember_exports = {};
|
|
30
|
+
__export(logsMember_exports, {
|
|
31
|
+
logsMember: () => logsMember
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(logsMember_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var logsMember = 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
|
+
], logsMember.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
field: "member_uuid",
|
|
47
|
+
allowNull: true,
|
|
48
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
49
|
+
})
|
|
50
|
+
], logsMember.prototype, "memberUuid", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: import_sequelize_typescript.DataType.STRING(50)
|
|
55
|
+
})
|
|
56
|
+
], logsMember.prototype, "type", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.JSON
|
|
61
|
+
})
|
|
62
|
+
], logsMember.prototype, "data", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
field: "created_by",
|
|
66
|
+
allowNull: true,
|
|
67
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
68
|
+
})
|
|
69
|
+
], logsMember.prototype, "createdBy", 2);
|
|
70
|
+
__decorateClass([
|
|
71
|
+
(0, import_sequelize_typescript.Column)({
|
|
72
|
+
field: "created_date",
|
|
73
|
+
allowNull: true,
|
|
74
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
75
|
+
})
|
|
76
|
+
], logsMember.prototype, "createdDate", 2);
|
|
77
|
+
logsMember = __decorateClass([
|
|
78
|
+
(0, import_sequelize_typescript.Table)({
|
|
79
|
+
tableName: "logs_member",
|
|
80
|
+
timestamps: false
|
|
81
|
+
})
|
|
82
|
+
], logsMember);
|
|
83
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
84
|
+
0 && (module.exports = {
|
|
85
|
+
logsMember
|
|
86
|
+
});
|
|
@@ -6,13 +6,14 @@ interface mdApplicationAttributes {
|
|
|
6
6
|
keyName?: string;
|
|
7
7
|
title?: string;
|
|
8
8
|
description?: string;
|
|
9
|
+
textHeader?: string;
|
|
9
10
|
imageCover?: string;
|
|
10
11
|
fileUuid?: string;
|
|
11
12
|
attachments?: object;
|
|
12
13
|
url1?: string;
|
|
13
14
|
target1?: string;
|
|
14
15
|
url2?: string;
|
|
15
|
-
target2?:
|
|
16
|
+
target2?: string;
|
|
16
17
|
url3?: string;
|
|
17
18
|
target3?: string;
|
|
18
19
|
url4?: string;
|
|
@@ -34,13 +35,14 @@ declare class mdApplication extends Model<mdApplicationAttributes, mdApplication
|
|
|
34
35
|
keyName?: string;
|
|
35
36
|
title?: string;
|
|
36
37
|
description?: string;
|
|
38
|
+
textHeader?: string;
|
|
37
39
|
imageCover?: string;
|
|
38
40
|
fileUuid?: string;
|
|
39
41
|
attachments?: object;
|
|
40
42
|
url1?: string;
|
|
41
43
|
target1?: string;
|
|
42
44
|
url2?: string;
|
|
43
|
-
target2?:
|
|
45
|
+
target2?: string;
|
|
44
46
|
url3?: string;
|
|
45
47
|
target3?: string;
|
|
46
48
|
url4?: string;
|
|
@@ -66,6 +66,13 @@ __decorateClass([
|
|
|
66
66
|
type: import_sequelize_typescript.DataType.STRING
|
|
67
67
|
})
|
|
68
68
|
], mdApplication.prototype, "description", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
field: "text_header",
|
|
72
|
+
allowNull: true,
|
|
73
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
74
|
+
})
|
|
75
|
+
], mdApplication.prototype, "textHeader", 2);
|
|
69
76
|
__decorateClass([
|
|
70
77
|
(0, import_sequelize_typescript.Column)({
|
|
71
78
|
field: "image_cover",
|
|
@@ -108,7 +115,8 @@ __decorateClass([
|
|
|
108
115
|
], mdApplication.prototype, "url2", 2);
|
|
109
116
|
__decorateClass([
|
|
110
117
|
(0, import_sequelize_typescript.Column)({
|
|
111
|
-
allowNull: true
|
|
118
|
+
allowNull: true,
|
|
119
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
112
120
|
})
|
|
113
121
|
], mdApplication.prototype, "target2", 2);
|
|
114
122
|
__decorateClass([
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface mdEgpAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
uuid: string;
|
|
6
|
+
agencyCode?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
projectCode?: string;
|
|
10
|
+
publishedDate?: Date;
|
|
11
|
+
attachmentLink?: string;
|
|
12
|
+
fileUuid?: string;
|
|
13
|
+
methodId?: string;
|
|
14
|
+
announceType?: string;
|
|
15
|
+
createdDate?: Date;
|
|
16
|
+
updatedDate?: Date;
|
|
17
|
+
}
|
|
18
|
+
declare class mdEgp extends Model<mdEgpAttributes, mdEgpAttributes> implements mdEgpAttributes {
|
|
19
|
+
id?: number;
|
|
20
|
+
uuid: string;
|
|
21
|
+
agencyCode?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
projectCode?: string;
|
|
25
|
+
publishedDate?: Date;
|
|
26
|
+
attachmentLink?: string;
|
|
27
|
+
fileUuid?: string;
|
|
28
|
+
methodId?: string;
|
|
29
|
+
announceType?: string;
|
|
30
|
+
createdDate?: Date;
|
|
31
|
+
updatedDate?: Date;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { mdEgp, type mdEgpAttributes };
|
|
@@ -0,0 +1,133 @@
|
|
|
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/mdEgp.ts
|
|
29
|
+
var mdEgp_exports = {};
|
|
30
|
+
__export(mdEgp_exports, {
|
|
31
|
+
mdEgp: () => mdEgp
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(mdEgp_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var mdEgp = 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
|
+
], mdEgp.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
47
|
+
})
|
|
48
|
+
], mdEgp.prototype, "uuid", 2);
|
|
49
|
+
__decorateClass([
|
|
50
|
+
(0, import_sequelize_typescript.Column)({
|
|
51
|
+
field: "agency_code",
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
54
|
+
})
|
|
55
|
+
], mdEgp.prototype, "agencyCode", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
60
|
+
})
|
|
61
|
+
], mdEgp.prototype, "title", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
66
|
+
})
|
|
67
|
+
], mdEgp.prototype, "description", 2);
|
|
68
|
+
__decorateClass([
|
|
69
|
+
(0, import_sequelize_typescript.Column)({
|
|
70
|
+
field: "project_code",
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
73
|
+
})
|
|
74
|
+
], mdEgp.prototype, "projectCode", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
field: "published_date",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
80
|
+
})
|
|
81
|
+
], mdEgp.prototype, "publishedDate", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
(0, import_sequelize_typescript.Column)({
|
|
84
|
+
field: "attachment_link",
|
|
85
|
+
allowNull: true,
|
|
86
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
87
|
+
})
|
|
88
|
+
], mdEgp.prototype, "attachmentLink", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
(0, import_sequelize_typescript.Column)({
|
|
91
|
+
field: "file_uuid",
|
|
92
|
+
allowNull: true,
|
|
93
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
94
|
+
})
|
|
95
|
+
], mdEgp.prototype, "fileUuid", 2);
|
|
96
|
+
__decorateClass([
|
|
97
|
+
(0, import_sequelize_typescript.Column)({
|
|
98
|
+
field: "method_id",
|
|
99
|
+
allowNull: true,
|
|
100
|
+
type: import_sequelize_typescript.DataType.STRING(20)
|
|
101
|
+
})
|
|
102
|
+
], mdEgp.prototype, "methodId", 2);
|
|
103
|
+
__decorateClass([
|
|
104
|
+
(0, import_sequelize_typescript.Column)({
|
|
105
|
+
field: "announce_type",
|
|
106
|
+
allowNull: true,
|
|
107
|
+
type: import_sequelize_typescript.DataType.STRING(20)
|
|
108
|
+
})
|
|
109
|
+
], mdEgp.prototype, "announceType", 2);
|
|
110
|
+
__decorateClass([
|
|
111
|
+
(0, import_sequelize_typescript.Column)({
|
|
112
|
+
field: "created_date",
|
|
113
|
+
allowNull: true,
|
|
114
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
115
|
+
})
|
|
116
|
+
], mdEgp.prototype, "createdDate", 2);
|
|
117
|
+
__decorateClass([
|
|
118
|
+
(0, import_sequelize_typescript.Column)({
|
|
119
|
+
field: "updated_date",
|
|
120
|
+
allowNull: true,
|
|
121
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
122
|
+
})
|
|
123
|
+
], mdEgp.prototype, "updatedDate", 2);
|
|
124
|
+
mdEgp = __decorateClass([
|
|
125
|
+
(0, import_sequelize_typescript.Table)({
|
|
126
|
+
tableName: "md_egp",
|
|
127
|
+
timestamps: false
|
|
128
|
+
})
|
|
129
|
+
], mdEgp);
|
|
130
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
131
|
+
0 && (module.exports = {
|
|
132
|
+
mdEgp
|
|
133
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { a as msExecutive, m as msExecutiveAttributes } from '../../msExecutive-
|
|
2
|
+
export { a as msExecutive, m as msExecutiveAttributes } from '../../msExecutive-BFeU4P0-.js';
|
|
@@ -50,6 +50,12 @@ __decorateClass([
|
|
|
50
50
|
type: import_sequelize_typescript.DataType.STRING(60)
|
|
51
51
|
})
|
|
52
52
|
], msExecutiveGroup.prototype, "uuid", 2);
|
|
53
|
+
__decorateClass([
|
|
54
|
+
(0, import_sequelize_typescript.Column)({
|
|
55
|
+
allowNull: true,
|
|
56
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
57
|
+
})
|
|
58
|
+
], msExecutiveGroup.prototype, "type", 2);
|
|
53
59
|
__decorateClass([
|
|
54
60
|
(0, import_sequelize_typescript.Column)({
|
|
55
61
|
allowNull: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { c as msExecutiveGroup, b as msExecutiveGroupAttributes } from '../../msExecutive-
|
|
2
|
+
export { c as msExecutiveGroup, b as msExecutiveGroupAttributes } from '../../msExecutive-BFeU4P0-.js';
|
|
@@ -316,6 +316,12 @@ __decorateClass([
|
|
|
316
316
|
type: import_sequelize_typescript3.DataType.STRING(60)
|
|
317
317
|
})
|
|
318
318
|
], msExecutiveGroup.prototype, "uuid", 2);
|
|
319
|
+
__decorateClass([
|
|
320
|
+
(0, import_sequelize_typescript3.Column)({
|
|
321
|
+
allowNull: true,
|
|
322
|
+
type: import_sequelize_typescript3.DataType.INTEGER
|
|
323
|
+
})
|
|
324
|
+
], msExecutiveGroup.prototype, "type", 2);
|
|
319
325
|
__decorateClass([
|
|
320
326
|
(0, import_sequelize_typescript3.Column)({
|
|
321
327
|
allowNull: true,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msExecutiveLevelAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
groupId?: number;
|
|
6
|
+
level?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
sort?: number;
|
|
10
|
+
status?: number;
|
|
11
|
+
updatedInfo?: string;
|
|
12
|
+
remark?: string;
|
|
13
|
+
info?: object;
|
|
14
|
+
createdBy?: string;
|
|
15
|
+
createdDate?: Date;
|
|
16
|
+
updatedBy?: string;
|
|
17
|
+
updatedDate?: Date;
|
|
18
|
+
}
|
|
19
|
+
declare class msExecutiveLevel extends Model<msExecutiveLevelAttributes, msExecutiveLevelAttributes> implements msExecutiveLevelAttributes {
|
|
20
|
+
id?: number;
|
|
21
|
+
groupId?: number;
|
|
22
|
+
level?: number;
|
|
23
|
+
name?: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
sort?: number;
|
|
26
|
+
status?: number;
|
|
27
|
+
updatedInfo?: string;
|
|
28
|
+
remark?: string;
|
|
29
|
+
info?: object;
|
|
30
|
+
createdBy?: string;
|
|
31
|
+
createdDate?: Date;
|
|
32
|
+
updatedBy?: string;
|
|
33
|
+
updatedDate?: Date;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { msExecutiveLevel, type msExecutiveLevelAttributes };
|
|
@@ -0,0 +1,137 @@
|
|
|
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/msExecutiveLevel.ts
|
|
29
|
+
var msExecutiveLevel_exports = {};
|
|
30
|
+
__export(msExecutiveLevel_exports, {
|
|
31
|
+
msExecutiveLevel: () => msExecutiveLevel
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msExecutiveLevel_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msExecutiveLevel = 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
|
+
], msExecutiveLevel.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
|
+
], msExecutiveLevel.prototype, "groupId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
55
|
+
})
|
|
56
|
+
], msExecutiveLevel.prototype, "level", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
61
|
+
})
|
|
62
|
+
], msExecutiveLevel.prototype, "name", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
67
|
+
})
|
|
68
|
+
], msExecutiveLevel.prototype, "description", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
73
|
+
})
|
|
74
|
+
], msExecutiveLevel.prototype, "sort", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
allowNull: true,
|
|
78
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
79
|
+
})
|
|
80
|
+
], msExecutiveLevel.prototype, "status", 2);
|
|
81
|
+
__decorateClass([
|
|
82
|
+
(0, import_sequelize_typescript.Column)({
|
|
83
|
+
field: "updated_info",
|
|
84
|
+
allowNull: true,
|
|
85
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
86
|
+
})
|
|
87
|
+
], msExecutiveLevel.prototype, "updatedInfo", 2);
|
|
88
|
+
__decorateClass([
|
|
89
|
+
(0, import_sequelize_typescript.Column)({
|
|
90
|
+
allowNull: true,
|
|
91
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
92
|
+
})
|
|
93
|
+
], msExecutiveLevel.prototype, "remark", 2);
|
|
94
|
+
__decorateClass([
|
|
95
|
+
(0, import_sequelize_typescript.Column)({
|
|
96
|
+
allowNull: true,
|
|
97
|
+
type: import_sequelize_typescript.DataType.JSON
|
|
98
|
+
})
|
|
99
|
+
], msExecutiveLevel.prototype, "info", 2);
|
|
100
|
+
__decorateClass([
|
|
101
|
+
(0, import_sequelize_typescript.Column)({
|
|
102
|
+
field: "created_by",
|
|
103
|
+
allowNull: true,
|
|
104
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
105
|
+
})
|
|
106
|
+
], msExecutiveLevel.prototype, "createdBy", 2);
|
|
107
|
+
__decorateClass([
|
|
108
|
+
(0, import_sequelize_typescript.Column)({
|
|
109
|
+
field: "created_date",
|
|
110
|
+
allowNull: true,
|
|
111
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
112
|
+
})
|
|
113
|
+
], msExecutiveLevel.prototype, "createdDate", 2);
|
|
114
|
+
__decorateClass([
|
|
115
|
+
(0, import_sequelize_typescript.Column)({
|
|
116
|
+
field: "updated_by",
|
|
117
|
+
allowNull: true,
|
|
118
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
119
|
+
})
|
|
120
|
+
], msExecutiveLevel.prototype, "updatedBy", 2);
|
|
121
|
+
__decorateClass([
|
|
122
|
+
(0, import_sequelize_typescript.Column)({
|
|
123
|
+
field: "updated_date",
|
|
124
|
+
allowNull: true,
|
|
125
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
126
|
+
})
|
|
127
|
+
], msExecutiveLevel.prototype, "updatedDate", 2);
|
|
128
|
+
msExecutiveLevel = __decorateClass([
|
|
129
|
+
(0, import_sequelize_typescript.Table)({
|
|
130
|
+
tableName: "ms_executive_level",
|
|
131
|
+
timestamps: false
|
|
132
|
+
})
|
|
133
|
+
], msExecutiveLevel);
|
|
134
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
135
|
+
0 && (module.exports = {
|
|
136
|
+
msExecutiveLevel
|
|
137
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-
|
|
2
|
+
export { e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-BFeU4P0-.js';
|
|
@@ -53,6 +53,12 @@ __decorateClass([
|
|
|
53
53
|
type: import_sequelize_typescript.DataType.STRING(60)
|
|
54
54
|
})
|
|
55
55
|
], msExecutiveGroup.prototype, "uuid", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
60
|
+
})
|
|
61
|
+
], msExecutiveGroup.prototype, "type", 2);
|
|
56
62
|
__decorateClass([
|
|
57
63
|
(0, import_sequelize_typescript.Column)({
|
|
58
64
|
allowNull: true,
|
|
@@ -2,9 +2,12 @@ import { Model } from 'sequelize-typescript';
|
|
|
2
2
|
|
|
3
3
|
interface msHolidayAttributes {
|
|
4
4
|
id?: number;
|
|
5
|
+
siteId?: number;
|
|
6
|
+
typeId?: number;
|
|
7
|
+
year?: number;
|
|
5
8
|
name?: string;
|
|
6
|
-
|
|
7
|
-
status?:
|
|
9
|
+
atDate?: string;
|
|
10
|
+
status?: number;
|
|
8
11
|
createdBy?: string;
|
|
9
12
|
createdDate?: Date;
|
|
10
13
|
updatedBy?: string;
|
|
@@ -12,9 +15,12 @@ interface msHolidayAttributes {
|
|
|
12
15
|
}
|
|
13
16
|
declare class msHoliday extends Model<msHolidayAttributes, msHolidayAttributes> implements msHolidayAttributes {
|
|
14
17
|
id?: number;
|
|
18
|
+
siteId?: number;
|
|
19
|
+
typeId?: number;
|
|
20
|
+
year?: number;
|
|
15
21
|
name?: string;
|
|
16
|
-
|
|
17
|
-
status?:
|
|
22
|
+
atDate?: string;
|
|
23
|
+
status?: number;
|
|
18
24
|
createdBy?: string;
|
|
19
25
|
createdDate?: Date;
|
|
20
26
|
updatedBy?: string;
|
|
@@ -41,6 +41,26 @@ __decorateClass([
|
|
|
41
41
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
42
|
})
|
|
43
43
|
], msHoliday.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
|
+
], msHoliday.prototype, "siteId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
field: "type_id",
|
|
54
|
+
allowNull: true,
|
|
55
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
56
|
+
})
|
|
57
|
+
], msHoliday.prototype, "typeId", 2);
|
|
58
|
+
__decorateClass([
|
|
59
|
+
(0, import_sequelize_typescript.Column)({
|
|
60
|
+
allowNull: true,
|
|
61
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
62
|
+
})
|
|
63
|
+
], msHoliday.prototype, "year", 2);
|
|
44
64
|
__decorateClass([
|
|
45
65
|
(0, import_sequelize_typescript.Column)({
|
|
46
66
|
allowNull: true,
|
|
@@ -49,15 +69,15 @@ __decorateClass([
|
|
|
49
69
|
], msHoliday.prototype, "name", 2);
|
|
50
70
|
__decorateClass([
|
|
51
71
|
(0, import_sequelize_typescript.Column)({
|
|
52
|
-
field: "
|
|
72
|
+
field: "at_date",
|
|
53
73
|
allowNull: true,
|
|
54
74
|
type: import_sequelize_typescript.DataType.DATEONLY
|
|
55
75
|
})
|
|
56
|
-
], msHoliday.prototype, "
|
|
76
|
+
], msHoliday.prototype, "atDate", 2);
|
|
57
77
|
__decorateClass([
|
|
58
78
|
(0, import_sequelize_typescript.Column)({
|
|
59
79
|
allowNull: true,
|
|
60
|
-
type: import_sequelize_typescript.DataType.
|
|
80
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
61
81
|
})
|
|
62
82
|
], msHoliday.prototype, "status", 2);
|
|
63
83
|
__decorateClass([
|
|
@@ -3,6 +3,7 @@ import { Model } from 'sequelize-typescript';
|
|
|
3
3
|
interface msExecutiveGroupAttributes {
|
|
4
4
|
id?: number;
|
|
5
5
|
uuid?: string;
|
|
6
|
+
type?: number;
|
|
6
7
|
name?: string;
|
|
7
8
|
description?: string;
|
|
8
9
|
startDate?: string;
|
|
@@ -18,6 +19,7 @@ interface msExecutiveGroupAttributes {
|
|
|
18
19
|
declare class msExecutiveGroup extends Model<msExecutiveGroupAttributes, msExecutiveGroupAttributes> implements msExecutiveGroupAttributes {
|
|
19
20
|
id?: number;
|
|
20
21
|
uuid?: string;
|
|
22
|
+
type?: number;
|
|
21
23
|
name?: string;
|
|
22
24
|
description?: string;
|
|
23
25
|
startDate?: string;
|