@admc-go-th/admc-library 1.0.124 → 1.0.125
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/{appReportCorruption-4BY0wm49.d.ts → appReportCorruption-BsdsQQ1q.d.ts} +2 -0
- package/databases/schema/appQueue.ts +15 -0
- package/databases/schema/appQueueTour.ts +7 -0
- package/databases/schema/appReportCorruption.ts +9 -1
- package/databases/schema/index.ts +4 -0
- package/databases/schema/msConsultSiteChannel.ts +77 -0
- package/databases/schema/msConsultSiteHoliday.ts +99 -0
- package/databases/schema/msConsultSiteStaff.ts +76 -0
- package/databases/schema/msVariable.ts +68 -0
- package/databases/tables/appQueue.d.ts +4 -0
- package/databases/tables/appQueue.js +13 -0
- package/databases/tables/appQueueTour.d.ts +2 -0
- package/databases/tables/appQueueTour.js +6 -0
- package/databases/tables/appReportCorruption.d.ts +1 -1
- package/databases/tables/appReportCorruption.js +8 -1
- package/databases/tables/appReportCorruptionTransaction.d.ts +1 -1
- package/databases/tables/appReportCorruptionTransaction.js +8 -1
- package/databases/tables/index.d.ts +5 -1
- package/databases/tables/index.js +883 -575
- package/databases/tables/msConsultSiteChannel.d.ts +24 -0
- package/databases/tables/msConsultSiteChannel.js +101 -0
- package/databases/tables/msConsultSiteHoliday.d.ts +30 -0
- package/databases/tables/msConsultSiteHoliday.js +120 -0
- package/databases/tables/msConsultSiteStaff.d.ts +24 -0
- package/databases/tables/msConsultSiteStaff.js +100 -0
- package/databases/tables/msVariable.d.ts +22 -0
- package/databases/tables/msVariable.js +93 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msConsultSiteChannelAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
siteId?: number;
|
|
6
|
+
channelId?: number;
|
|
7
|
+
status?: number;
|
|
8
|
+
createdBy?: string;
|
|
9
|
+
createdDate?: Date;
|
|
10
|
+
updatedBy?: string;
|
|
11
|
+
updatedDate?: Date;
|
|
12
|
+
}
|
|
13
|
+
declare class msConsultSiteChannel extends Model<msConsultSiteChannelAttributes, msConsultSiteChannelAttributes> implements msConsultSiteChannelAttributes {
|
|
14
|
+
id?: number;
|
|
15
|
+
siteId?: number;
|
|
16
|
+
channelId?: number;
|
|
17
|
+
status?: number;
|
|
18
|
+
createdBy?: string;
|
|
19
|
+
createdDate?: Date;
|
|
20
|
+
updatedBy?: string;
|
|
21
|
+
updatedDate?: Date;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { msConsultSiteChannel, type msConsultSiteChannelAttributes };
|
|
@@ -0,0 +1,101 @@
|
|
|
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/msConsultSiteChannel.ts
|
|
29
|
+
var msConsultSiteChannel_exports = {};
|
|
30
|
+
__export(msConsultSiteChannel_exports, {
|
|
31
|
+
msConsultSiteChannel: () => msConsultSiteChannel
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msConsultSiteChannel_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msConsultSiteChannel = 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
|
+
], msConsultSiteChannel.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
|
+
], msConsultSiteChannel.prototype, "siteId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
field: "channel_id",
|
|
54
|
+
allowNull: true,
|
|
55
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
56
|
+
})
|
|
57
|
+
], msConsultSiteChannel.prototype, "channelId", 2);
|
|
58
|
+
__decorateClass([
|
|
59
|
+
(0, import_sequelize_typescript.Column)({
|
|
60
|
+
allowNull: true,
|
|
61
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
62
|
+
})
|
|
63
|
+
], msConsultSiteChannel.prototype, "status", 2);
|
|
64
|
+
__decorateClass([
|
|
65
|
+
(0, import_sequelize_typescript.Column)({
|
|
66
|
+
field: "created_by",
|
|
67
|
+
allowNull: true,
|
|
68
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
69
|
+
})
|
|
70
|
+
], msConsultSiteChannel.prototype, "createdBy", 2);
|
|
71
|
+
__decorateClass([
|
|
72
|
+
(0, import_sequelize_typescript.Column)({
|
|
73
|
+
field: "created_date",
|
|
74
|
+
allowNull: true,
|
|
75
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
76
|
+
})
|
|
77
|
+
], msConsultSiteChannel.prototype, "createdDate", 2);
|
|
78
|
+
__decorateClass([
|
|
79
|
+
(0, import_sequelize_typescript.Column)({
|
|
80
|
+
field: "updated_by",
|
|
81
|
+
allowNull: true,
|
|
82
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
83
|
+
})
|
|
84
|
+
], msConsultSiteChannel.prototype, "updatedBy", 2);
|
|
85
|
+
__decorateClass([
|
|
86
|
+
(0, import_sequelize_typescript.Column)({
|
|
87
|
+
field: "updated_date",
|
|
88
|
+
allowNull: true,
|
|
89
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
90
|
+
})
|
|
91
|
+
], msConsultSiteChannel.prototype, "updatedDate", 2);
|
|
92
|
+
msConsultSiteChannel = __decorateClass([
|
|
93
|
+
(0, import_sequelize_typescript.Table)({
|
|
94
|
+
tableName: "ms_consult_site_channel",
|
|
95
|
+
timestamps: false
|
|
96
|
+
})
|
|
97
|
+
], msConsultSiteChannel);
|
|
98
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
99
|
+
0 && (module.exports = {
|
|
100
|
+
msConsultSiteChannel
|
|
101
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msConsultSiteHolidayAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
siteId?: number;
|
|
6
|
+
typeId?: number;
|
|
7
|
+
year?: number;
|
|
8
|
+
name?: string;
|
|
9
|
+
atDate?: string;
|
|
10
|
+
status?: number;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
createdDate?: Date;
|
|
13
|
+
updatedBy?: string;
|
|
14
|
+
updatedDate?: Date;
|
|
15
|
+
}
|
|
16
|
+
declare class msConsultSiteHoliday extends Model<msConsultSiteHolidayAttributes, msConsultSiteHolidayAttributes> implements msConsultSiteHolidayAttributes {
|
|
17
|
+
id?: number;
|
|
18
|
+
siteId?: number;
|
|
19
|
+
typeId?: number;
|
|
20
|
+
year?: number;
|
|
21
|
+
name?: string;
|
|
22
|
+
atDate?: string;
|
|
23
|
+
status?: number;
|
|
24
|
+
createdBy?: string;
|
|
25
|
+
createdDate?: Date;
|
|
26
|
+
updatedBy?: string;
|
|
27
|
+
updatedDate?: Date;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { msConsultSiteHoliday, type msConsultSiteHolidayAttributes };
|
|
@@ -0,0 +1,120 @@
|
|
|
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/msConsultSiteHoliday.ts
|
|
29
|
+
var msConsultSiteHoliday_exports = {};
|
|
30
|
+
__export(msConsultSiteHoliday_exports, {
|
|
31
|
+
msConsultSiteHoliday: () => msConsultSiteHoliday
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msConsultSiteHoliday_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msConsultSiteHoliday = 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
|
+
], msConsultSiteHoliday.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
|
+
], msConsultSiteHoliday.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
|
+
], msConsultSiteHoliday.prototype, "typeId", 2);
|
|
58
|
+
__decorateClass([
|
|
59
|
+
(0, import_sequelize_typescript.Column)({
|
|
60
|
+
allowNull: true,
|
|
61
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
62
|
+
})
|
|
63
|
+
], msConsultSiteHoliday.prototype, "year", 2);
|
|
64
|
+
__decorateClass([
|
|
65
|
+
(0, import_sequelize_typescript.Column)({
|
|
66
|
+
allowNull: true,
|
|
67
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
68
|
+
})
|
|
69
|
+
], msConsultSiteHoliday.prototype, "name", 2);
|
|
70
|
+
__decorateClass([
|
|
71
|
+
(0, import_sequelize_typescript.Column)({
|
|
72
|
+
field: "at_date",
|
|
73
|
+
allowNull: true,
|
|
74
|
+
type: import_sequelize_typescript.DataType.DATEONLY
|
|
75
|
+
})
|
|
76
|
+
], msConsultSiteHoliday.prototype, "atDate", 2);
|
|
77
|
+
__decorateClass([
|
|
78
|
+
(0, import_sequelize_typescript.Column)({
|
|
79
|
+
allowNull: true,
|
|
80
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
81
|
+
})
|
|
82
|
+
], msConsultSiteHoliday.prototype, "status", 2);
|
|
83
|
+
__decorateClass([
|
|
84
|
+
(0, import_sequelize_typescript.Column)({
|
|
85
|
+
field: "created_by",
|
|
86
|
+
allowNull: true,
|
|
87
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
88
|
+
})
|
|
89
|
+
], msConsultSiteHoliday.prototype, "createdBy", 2);
|
|
90
|
+
__decorateClass([
|
|
91
|
+
(0, import_sequelize_typescript.Column)({
|
|
92
|
+
field: "created_date",
|
|
93
|
+
allowNull: true,
|
|
94
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
95
|
+
})
|
|
96
|
+
], msConsultSiteHoliday.prototype, "createdDate", 2);
|
|
97
|
+
__decorateClass([
|
|
98
|
+
(0, import_sequelize_typescript.Column)({
|
|
99
|
+
field: "updated_by",
|
|
100
|
+
allowNull: true,
|
|
101
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
102
|
+
})
|
|
103
|
+
], msConsultSiteHoliday.prototype, "updatedBy", 2);
|
|
104
|
+
__decorateClass([
|
|
105
|
+
(0, import_sequelize_typescript.Column)({
|
|
106
|
+
field: "updated_date",
|
|
107
|
+
allowNull: true,
|
|
108
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
109
|
+
})
|
|
110
|
+
], msConsultSiteHoliday.prototype, "updatedDate", 2);
|
|
111
|
+
msConsultSiteHoliday = __decorateClass([
|
|
112
|
+
(0, import_sequelize_typescript.Table)({
|
|
113
|
+
tableName: "ms_consult_site_holiday",
|
|
114
|
+
timestamps: false
|
|
115
|
+
})
|
|
116
|
+
], msConsultSiteHoliday);
|
|
117
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
118
|
+
0 && (module.exports = {
|
|
119
|
+
msConsultSiteHoliday
|
|
120
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msConsultSiteStaffAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
siteId?: number;
|
|
6
|
+
name?: string;
|
|
7
|
+
status?: number;
|
|
8
|
+
createdBy?: string;
|
|
9
|
+
createdDate?: Date;
|
|
10
|
+
updatedBy?: string;
|
|
11
|
+
updatedDate?: Date;
|
|
12
|
+
}
|
|
13
|
+
declare class msConsultSiteStaff extends Model<msConsultSiteStaffAttributes, msConsultSiteStaffAttributes> implements msConsultSiteStaffAttributes {
|
|
14
|
+
id?: number;
|
|
15
|
+
siteId?: number;
|
|
16
|
+
name?: string;
|
|
17
|
+
status?: number;
|
|
18
|
+
createdBy?: string;
|
|
19
|
+
createdDate?: Date;
|
|
20
|
+
updatedBy?: string;
|
|
21
|
+
updatedDate?: Date;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { msConsultSiteStaff, type msConsultSiteStaffAttributes };
|
|
@@ -0,0 +1,100 @@
|
|
|
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/msConsultSiteStaff.ts
|
|
29
|
+
var msConsultSiteStaff_exports = {};
|
|
30
|
+
__export(msConsultSiteStaff_exports, {
|
|
31
|
+
msConsultSiteStaff: () => msConsultSiteStaff
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msConsultSiteStaff_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msConsultSiteStaff = 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
|
+
], msConsultSiteStaff.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
|
+
], msConsultSiteStaff.prototype, "siteId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
55
|
+
})
|
|
56
|
+
], msConsultSiteStaff.prototype, "name", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
61
|
+
})
|
|
62
|
+
], msConsultSiteStaff.prototype, "status", 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
|
+
], msConsultSiteStaff.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
|
+
], msConsultSiteStaff.prototype, "createdDate", 2);
|
|
77
|
+
__decorateClass([
|
|
78
|
+
(0, import_sequelize_typescript.Column)({
|
|
79
|
+
field: "updated_by",
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
82
|
+
})
|
|
83
|
+
], msConsultSiteStaff.prototype, "updatedBy", 2);
|
|
84
|
+
__decorateClass([
|
|
85
|
+
(0, import_sequelize_typescript.Column)({
|
|
86
|
+
field: "updated_date",
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
89
|
+
})
|
|
90
|
+
], msConsultSiteStaff.prototype, "updatedDate", 2);
|
|
91
|
+
msConsultSiteStaff = __decorateClass([
|
|
92
|
+
(0, import_sequelize_typescript.Table)({
|
|
93
|
+
tableName: "ms_consult_site_staff",
|
|
94
|
+
timestamps: false
|
|
95
|
+
})
|
|
96
|
+
], msConsultSiteStaff);
|
|
97
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
98
|
+
0 && (module.exports = {
|
|
99
|
+
msConsultSiteStaff
|
|
100
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msVariableAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
data?: object;
|
|
7
|
+
createdBy?: string;
|
|
8
|
+
createdDate?: Date;
|
|
9
|
+
updatedBy?: string;
|
|
10
|
+
updatedDate?: Date;
|
|
11
|
+
}
|
|
12
|
+
declare class msVariable extends Model<msVariableAttributes, msVariableAttributes> implements msVariableAttributes {
|
|
13
|
+
id?: number;
|
|
14
|
+
name?: string;
|
|
15
|
+
data?: object;
|
|
16
|
+
createdBy?: string;
|
|
17
|
+
createdDate?: Date;
|
|
18
|
+
updatedBy?: string;
|
|
19
|
+
updatedDate?: Date;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { msVariable, type msVariableAttributes };
|
|
@@ -0,0 +1,93 @@
|
|
|
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/msVariable.ts
|
|
29
|
+
var msVariable_exports = {};
|
|
30
|
+
__export(msVariable_exports, {
|
|
31
|
+
msVariable: () => msVariable
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msVariable_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msVariable = 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
|
+
], msVariable.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
48
|
+
})
|
|
49
|
+
], msVariable.prototype, "name", 2);
|
|
50
|
+
__decorateClass([
|
|
51
|
+
(0, import_sequelize_typescript.Column)({
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: import_sequelize_typescript.DataType.JSON
|
|
54
|
+
})
|
|
55
|
+
], msVariable.prototype, "data", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
field: "created_by",
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
61
|
+
})
|
|
62
|
+
], msVariable.prototype, "createdBy", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
field: "created_date",
|
|
66
|
+
allowNull: true,
|
|
67
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
68
|
+
})
|
|
69
|
+
], msVariable.prototype, "createdDate", 2);
|
|
70
|
+
__decorateClass([
|
|
71
|
+
(0, import_sequelize_typescript.Column)({
|
|
72
|
+
field: "updated_by",
|
|
73
|
+
allowNull: true,
|
|
74
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
75
|
+
})
|
|
76
|
+
], msVariable.prototype, "updatedBy", 2);
|
|
77
|
+
__decorateClass([
|
|
78
|
+
(0, import_sequelize_typescript.Column)({
|
|
79
|
+
field: "updated_date",
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
82
|
+
})
|
|
83
|
+
], msVariable.prototype, "updatedDate", 2);
|
|
84
|
+
msVariable = __decorateClass([
|
|
85
|
+
(0, import_sequelize_typescript.Table)({
|
|
86
|
+
tableName: "ms_variable",
|
|
87
|
+
timestamps: false
|
|
88
|
+
})
|
|
89
|
+
], msVariable);
|
|
90
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
91
|
+
0 && (module.exports = {
|
|
92
|
+
msVariable
|
|
93
|
+
});
|