@admc-go-th/admc-library 1.0.120 → 1.0.121
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/databases/schema/index.ts +1 -0
- package/databases/schema/mdApplication.ts +4 -3
- package/databases/schema/msExecutiveLevel.ts +119 -0
- package/databases/tables/index.d.ts +1 -0
- package/databases/tables/index.js +390 -285
- package/databases/tables/mdApplication.d.ts +2 -2
- package/databases/tables/mdApplication.js +2 -1
- package/databases/tables/msExecutiveLevel.d.ts +36 -0
- package/databases/tables/msExecutiveLevel.js +137 -0
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ interface mdApplicationAttributes {
|
|
|
12
12
|
url1?: string;
|
|
13
13
|
target1?: string;
|
|
14
14
|
url2?: string;
|
|
15
|
-
target2?:
|
|
15
|
+
target2?: string;
|
|
16
16
|
url3?: string;
|
|
17
17
|
target3?: string;
|
|
18
18
|
url4?: string;
|
|
@@ -40,7 +40,7 @@ declare class mdApplication extends Model<mdApplicationAttributes, mdApplication
|
|
|
40
40
|
url1?: string;
|
|
41
41
|
target1?: string;
|
|
42
42
|
url2?: string;
|
|
43
|
-
target2?:
|
|
43
|
+
target2?: string;
|
|
44
44
|
url3?: string;
|
|
45
45
|
target3?: string;
|
|
46
46
|
url4?: string;
|
|
@@ -108,7 +108,8 @@ __decorateClass([
|
|
|
108
108
|
], mdApplication.prototype, "url2", 2);
|
|
109
109
|
__decorateClass([
|
|
110
110
|
(0, import_sequelize_typescript.Column)({
|
|
111
|
-
allowNull: true
|
|
111
|
+
allowNull: true,
|
|
112
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
112
113
|
})
|
|
113
114
|
], mdApplication.prototype, "target2", 2);
|
|
114
115
|
__decorateClass([
|
|
@@ -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
|
+
});
|