@admc-go-th/admc-library 1.0.135 → 1.0.137
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/appScoreType.ts +82 -0
- package/databases/schema/index.ts +3 -0
- package/databases/schema/msConsultCaseSection.ts +82 -0
- package/databases/schema/msConsultCaseType.ts +82 -0
- package/databases/tables/appScoreType.d.ts +26 -0
- package/databases/tables/appScoreType.js +105 -0
- package/databases/tables/index.d.ts +3 -0
- package/databases/tables/index.js +2542 -2326
- package/databases/tables/msConsultCaseSection.d.ts +26 -0
- package/databases/tables/msConsultCaseSection.js +105 -0
- package/databases/tables/msConsultCaseType.d.ts +26 -0
- package/databases/tables/msConsultCaseType.js +105 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msConsultCaseSectionAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
detail?: string;
|
|
7
|
+
sort?: number;
|
|
8
|
+
status?: number;
|
|
9
|
+
createdBy?: string;
|
|
10
|
+
createdDate?: Date;
|
|
11
|
+
updatedBy?: string;
|
|
12
|
+
updatedDate?: Date;
|
|
13
|
+
}
|
|
14
|
+
declare class msConsultCaseSection extends Model<msConsultCaseSectionAttributes, msConsultCaseSectionAttributes> implements msConsultCaseSectionAttributes {
|
|
15
|
+
id?: number;
|
|
16
|
+
name?: string;
|
|
17
|
+
detail?: string;
|
|
18
|
+
sort?: number;
|
|
19
|
+
status?: number;
|
|
20
|
+
createdBy?: string;
|
|
21
|
+
createdDate?: Date;
|
|
22
|
+
updatedBy?: string;
|
|
23
|
+
updatedDate?: Date;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { msConsultCaseSection, type msConsultCaseSectionAttributes };
|
|
@@ -0,0 +1,105 @@
|
|
|
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/msConsultCaseSection.ts
|
|
29
|
+
var msConsultCaseSection_exports = {};
|
|
30
|
+
__export(msConsultCaseSection_exports, {
|
|
31
|
+
msConsultCaseSection: () => msConsultCaseSection
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msConsultCaseSection_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msConsultCaseSection = 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
|
+
], msConsultCaseSection.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
48
|
+
})
|
|
49
|
+
], msConsultCaseSection.prototype, "name", 2);
|
|
50
|
+
__decorateClass([
|
|
51
|
+
(0, import_sequelize_typescript.Column)({
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
54
|
+
})
|
|
55
|
+
], msConsultCaseSection.prototype, "detail", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
60
|
+
})
|
|
61
|
+
], msConsultCaseSection.prototype, "sort", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
66
|
+
})
|
|
67
|
+
], msConsultCaseSection.prototype, "status", 2);
|
|
68
|
+
__decorateClass([
|
|
69
|
+
(0, import_sequelize_typescript.Column)({
|
|
70
|
+
field: "created_by",
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
73
|
+
})
|
|
74
|
+
], msConsultCaseSection.prototype, "createdBy", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
field: "created_date",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
80
|
+
})
|
|
81
|
+
], msConsultCaseSection.prototype, "createdDate", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
(0, import_sequelize_typescript.Column)({
|
|
84
|
+
field: "updated_by",
|
|
85
|
+
allowNull: true,
|
|
86
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
87
|
+
})
|
|
88
|
+
], msConsultCaseSection.prototype, "updatedBy", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
(0, import_sequelize_typescript.Column)({
|
|
91
|
+
field: "updated_date",
|
|
92
|
+
allowNull: true,
|
|
93
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
94
|
+
})
|
|
95
|
+
], msConsultCaseSection.prototype, "updatedDate", 2);
|
|
96
|
+
msConsultCaseSection = __decorateClass([
|
|
97
|
+
(0, import_sequelize_typescript.Table)({
|
|
98
|
+
tableName: "ms_consult_case_section",
|
|
99
|
+
timestamps: false
|
|
100
|
+
})
|
|
101
|
+
], msConsultCaseSection);
|
|
102
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
103
|
+
0 && (module.exports = {
|
|
104
|
+
msConsultCaseSection
|
|
105
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msConsultCaseTypeAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
detail?: string;
|
|
7
|
+
sort?: number;
|
|
8
|
+
status?: number;
|
|
9
|
+
createdBy?: string;
|
|
10
|
+
createdDate?: Date;
|
|
11
|
+
updatedBy?: string;
|
|
12
|
+
updatedDate?: Date;
|
|
13
|
+
}
|
|
14
|
+
declare class msConsultCaseType extends Model<msConsultCaseTypeAttributes, msConsultCaseTypeAttributes> implements msConsultCaseTypeAttributes {
|
|
15
|
+
id?: number;
|
|
16
|
+
name?: string;
|
|
17
|
+
detail?: string;
|
|
18
|
+
sort?: number;
|
|
19
|
+
status?: number;
|
|
20
|
+
createdBy?: string;
|
|
21
|
+
createdDate?: Date;
|
|
22
|
+
updatedBy?: string;
|
|
23
|
+
updatedDate?: Date;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { msConsultCaseType, type msConsultCaseTypeAttributes };
|
|
@@ -0,0 +1,105 @@
|
|
|
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/msConsultCaseType.ts
|
|
29
|
+
var msConsultCaseType_exports = {};
|
|
30
|
+
__export(msConsultCaseType_exports, {
|
|
31
|
+
msConsultCaseType: () => msConsultCaseType
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msConsultCaseType_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msConsultCaseType = 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
|
+
], msConsultCaseType.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
48
|
+
})
|
|
49
|
+
], msConsultCaseType.prototype, "name", 2);
|
|
50
|
+
__decorateClass([
|
|
51
|
+
(0, import_sequelize_typescript.Column)({
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
54
|
+
})
|
|
55
|
+
], msConsultCaseType.prototype, "detail", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
60
|
+
})
|
|
61
|
+
], msConsultCaseType.prototype, "sort", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
66
|
+
})
|
|
67
|
+
], msConsultCaseType.prototype, "status", 2);
|
|
68
|
+
__decorateClass([
|
|
69
|
+
(0, import_sequelize_typescript.Column)({
|
|
70
|
+
field: "created_by",
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
73
|
+
})
|
|
74
|
+
], msConsultCaseType.prototype, "createdBy", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
field: "created_date",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
80
|
+
})
|
|
81
|
+
], msConsultCaseType.prototype, "createdDate", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
(0, import_sequelize_typescript.Column)({
|
|
84
|
+
field: "updated_by",
|
|
85
|
+
allowNull: true,
|
|
86
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
87
|
+
})
|
|
88
|
+
], msConsultCaseType.prototype, "updatedBy", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
(0, import_sequelize_typescript.Column)({
|
|
91
|
+
field: "updated_date",
|
|
92
|
+
allowNull: true,
|
|
93
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
94
|
+
})
|
|
95
|
+
], msConsultCaseType.prototype, "updatedDate", 2);
|
|
96
|
+
msConsultCaseType = __decorateClass([
|
|
97
|
+
(0, import_sequelize_typescript.Table)({
|
|
98
|
+
tableName: "ms_consult_case_type",
|
|
99
|
+
timestamps: false
|
|
100
|
+
})
|
|
101
|
+
], msConsultCaseType);
|
|
102
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
103
|
+
0 && (module.exports = {
|
|
104
|
+
msConsultCaseType
|
|
105
|
+
});
|