@admc-go-th/admc-library 1.0.123 → 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.
Files changed (45) hide show
  1. package/{appReportCorruption-CWG66n6V.d.ts → appReportCorruption-BsdsQQ1q.d.ts} +8 -0
  2. package/databases/schema/appFaq.ts +31 -0
  3. package/databases/schema/appQueue.ts +15 -0
  4. package/databases/schema/appQueueTour.ts +7 -0
  5. package/databases/schema/appReportCorruption.ts +17 -1
  6. package/databases/schema/appReportCorruptionTransaction.ts +16 -0
  7. package/databases/schema/index.ts +9 -0
  8. package/databases/schema/mdEgp.ts +113 -113
  9. package/databases/schema/msConsultCase.ts +83 -0
  10. package/databases/schema/msConsultChannels.ts +75 -0
  11. package/databases/schema/msConsultInstructions.ts +82 -0
  12. package/databases/schema/msConsultService.ts +108 -0
  13. package/databases/schema/msConsultSiteChannel.ts +77 -0
  14. package/databases/schema/msConsultSiteHoliday.ts +99 -0
  15. package/databases/schema/msConsultSiteStaff.ts +76 -0
  16. package/databases/schema/msVariable.ts +68 -0
  17. package/databases/tables/appFaq.d.ts +8 -0
  18. package/databases/tables/appFaq.js +27 -0
  19. package/databases/tables/appQueue.d.ts +4 -0
  20. package/databases/tables/appQueue.js +13 -0
  21. package/databases/tables/appQueueTour.d.ts +2 -0
  22. package/databases/tables/appQueueTour.js +6 -0
  23. package/databases/tables/appReportCorruption.d.ts +1 -1
  24. package/databases/tables/appReportCorruption.js +29 -1
  25. package/databases/tables/appReportCorruptionTransaction.d.ts +1 -1
  26. package/databases/tables/appReportCorruptionTransaction.js +29 -1
  27. package/databases/tables/index.d.ts +10 -1
  28. package/databases/tables/index.js +2023 -1261
  29. package/databases/tables/msConsultCase.d.ts +26 -0
  30. package/databases/tables/msConsultCase.js +106 -0
  31. package/databases/tables/msConsultChannels.d.ts +24 -0
  32. package/databases/tables/msConsultChannels.js +99 -0
  33. package/databases/tables/msConsultInstructions.d.ts +26 -0
  34. package/databases/tables/msConsultInstructions.js +105 -0
  35. package/databases/tables/msConsultService.d.ts +32 -0
  36. package/databases/tables/msConsultService.js +128 -0
  37. package/databases/tables/msConsultSiteChannel.d.ts +24 -0
  38. package/databases/tables/msConsultSiteChannel.js +101 -0
  39. package/databases/tables/msConsultSiteHoliday.d.ts +30 -0
  40. package/databases/tables/msConsultSiteHoliday.js +120 -0
  41. package/databases/tables/msConsultSiteStaff.d.ts +24 -0
  42. package/databases/tables/msConsultSiteStaff.js +100 -0
  43. package/databases/tables/msVariable.d.ts +22 -0
  44. package/databases/tables/msVariable.js +93 -0
  45. package/package.json +1 -1
@@ -0,0 +1,26 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msConsultCaseAttributes {
4
+ id?: number;
5
+ siteId?: number;
6
+ name?: string;
7
+ sort?: number;
8
+ status?: number;
9
+ createdBy?: string;
10
+ createdDate?: Date;
11
+ updatedBy?: string;
12
+ updatedDate?: Date;
13
+ }
14
+ declare class msConsultCase extends Model<msConsultCaseAttributes, msConsultCaseAttributes> implements msConsultCaseAttributes {
15
+ id?: number;
16
+ siteId?: number;
17
+ name?: string;
18
+ sort?: number;
19
+ status?: number;
20
+ createdBy?: string;
21
+ createdDate?: Date;
22
+ updatedBy?: string;
23
+ updatedDate?: Date;
24
+ }
25
+
26
+ export { msConsultCase, type msConsultCaseAttributes };
@@ -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/msConsultCase.ts
29
+ var msConsultCase_exports = {};
30
+ __export(msConsultCase_exports, {
31
+ msConsultCase: () => msConsultCase
32
+ });
33
+ module.exports = __toCommonJS(msConsultCase_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msConsultCase = 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
+ ], msConsultCase.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
+ ], msConsultCase.prototype, "siteId", 2);
51
+ __decorateClass([
52
+ (0, import_sequelize_typescript.Column)({
53
+ allowNull: true,
54
+ type: import_sequelize_typescript.DataType.STRING(255)
55
+ })
56
+ ], msConsultCase.prototype, "name", 2);
57
+ __decorateClass([
58
+ (0, import_sequelize_typescript.Column)({
59
+ allowNull: true,
60
+ type: import_sequelize_typescript.DataType.INTEGER
61
+ })
62
+ ], msConsultCase.prototype, "sort", 2);
63
+ __decorateClass([
64
+ (0, import_sequelize_typescript.Column)({
65
+ allowNull: true,
66
+ type: import_sequelize_typescript.DataType.INTEGER
67
+ })
68
+ ], msConsultCase.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
+ ], msConsultCase.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
+ ], msConsultCase.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
+ ], msConsultCase.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
+ ], msConsultCase.prototype, "updatedDate", 2);
97
+ msConsultCase = __decorateClass([
98
+ (0, import_sequelize_typescript.Table)({
99
+ tableName: "ms_consult_case",
100
+ timestamps: false
101
+ })
102
+ ], msConsultCase);
103
+ // Annotate the CommonJS export names for ESM import in node:
104
+ 0 && (module.exports = {
105
+ msConsultCase
106
+ });
@@ -0,0 +1,24 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msConsultChannelsAttributes {
4
+ id?: number;
5
+ name?: string;
6
+ sort?: number;
7
+ status?: number;
8
+ createdBy?: string;
9
+ createdDate?: Date;
10
+ updatedBy?: string;
11
+ updatedDate?: Date;
12
+ }
13
+ declare class msConsultChannels extends Model<msConsultChannelsAttributes, msConsultChannelsAttributes> implements msConsultChannelsAttributes {
14
+ id?: number;
15
+ name?: string;
16
+ sort?: number;
17
+ status?: number;
18
+ createdBy?: string;
19
+ createdDate?: Date;
20
+ updatedBy?: string;
21
+ updatedDate?: Date;
22
+ }
23
+
24
+ export { msConsultChannels, type msConsultChannelsAttributes };
@@ -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/msConsultChannels.ts
29
+ var msConsultChannels_exports = {};
30
+ __export(msConsultChannels_exports, {
31
+ msConsultChannels: () => msConsultChannels
32
+ });
33
+ module.exports = __toCommonJS(msConsultChannels_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msConsultChannels = 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
+ ], msConsultChannels.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ allowNull: true,
47
+ type: import_sequelize_typescript.DataType.STRING(255)
48
+ })
49
+ ], msConsultChannels.prototype, "name", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ allowNull: true,
53
+ type: import_sequelize_typescript.DataType.INTEGER
54
+ })
55
+ ], msConsultChannels.prototype, "sort", 2);
56
+ __decorateClass([
57
+ (0, import_sequelize_typescript.Column)({
58
+ allowNull: true,
59
+ type: import_sequelize_typescript.DataType.INTEGER
60
+ })
61
+ ], msConsultChannels.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
+ ], msConsultChannels.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
+ ], msConsultChannels.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
+ ], msConsultChannels.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
+ ], msConsultChannels.prototype, "updatedDate", 2);
90
+ msConsultChannels = __decorateClass([
91
+ (0, import_sequelize_typescript.Table)({
92
+ tableName: "ms_consult_channels",
93
+ timestamps: false
94
+ })
95
+ ], msConsultChannels);
96
+ // Annotate the CommonJS export names for ESM import in node:
97
+ 0 && (module.exports = {
98
+ msConsultChannels
99
+ });
@@ -0,0 +1,26 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msConsultInstructionsAttributes {
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 msConsultInstructions extends Model<msConsultInstructionsAttributes, msConsultInstructionsAttributes> implements msConsultInstructionsAttributes {
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 { msConsultInstructions, type msConsultInstructionsAttributes };
@@ -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/msConsultInstructions.ts
29
+ var msConsultInstructions_exports = {};
30
+ __export(msConsultInstructions_exports, {
31
+ msConsultInstructions: () => msConsultInstructions
32
+ });
33
+ module.exports = __toCommonJS(msConsultInstructions_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msConsultInstructions = 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
+ ], msConsultInstructions.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ allowNull: true,
47
+ type: import_sequelize_typescript.DataType.STRING(255)
48
+ })
49
+ ], msConsultInstructions.prototype, "name", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ allowNull: true,
53
+ type: import_sequelize_typescript.DataType.STRING
54
+ })
55
+ ], msConsultInstructions.prototype, "detail", 2);
56
+ __decorateClass([
57
+ (0, import_sequelize_typescript.Column)({
58
+ allowNull: true,
59
+ type: import_sequelize_typescript.DataType.INTEGER
60
+ })
61
+ ], msConsultInstructions.prototype, "sort", 2);
62
+ __decorateClass([
63
+ (0, import_sequelize_typescript.Column)({
64
+ allowNull: true,
65
+ type: import_sequelize_typescript.DataType.INTEGER
66
+ })
67
+ ], msConsultInstructions.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
+ ], msConsultInstructions.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
+ ], msConsultInstructions.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
+ ], msConsultInstructions.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
+ ], msConsultInstructions.prototype, "updatedDate", 2);
96
+ msConsultInstructions = __decorateClass([
97
+ (0, import_sequelize_typescript.Table)({
98
+ tableName: "ms_consult_instructions",
99
+ timestamps: false
100
+ })
101
+ ], msConsultInstructions);
102
+ // Annotate the CommonJS export names for ESM import in node:
103
+ 0 && (module.exports = {
104
+ msConsultInstructions
105
+ });
@@ -0,0 +1,32 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msConsultServiceAttributes {
4
+ id?: number;
5
+ siteId?: number;
6
+ serviceDay?: object;
7
+ serviceStaff?: number;
8
+ roundsTotal?: number;
9
+ roundsInfo?: object;
10
+ sort?: number;
11
+ status?: number;
12
+ createdBy?: string;
13
+ createdDate?: Date;
14
+ updatedBy?: string;
15
+ updatedDate?: Date;
16
+ }
17
+ declare class msConsultService extends Model<msConsultServiceAttributes, msConsultServiceAttributes> implements msConsultServiceAttributes {
18
+ id?: number;
19
+ siteId?: number;
20
+ serviceDay?: object;
21
+ serviceStaff?: number;
22
+ roundsTotal?: number;
23
+ roundsInfo?: object;
24
+ sort?: number;
25
+ status?: number;
26
+ createdBy?: string;
27
+ createdDate?: Date;
28
+ updatedBy?: string;
29
+ updatedDate?: Date;
30
+ }
31
+
32
+ export { msConsultService, type msConsultServiceAttributes };
@@ -0,0 +1,128 @@
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/msConsultService.ts
29
+ var msConsultService_exports = {};
30
+ __export(msConsultService_exports, {
31
+ msConsultService: () => msConsultService
32
+ });
33
+ module.exports = __toCommonJS(msConsultService_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msConsultService = 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
+ ], msConsultService.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
+ ], msConsultService.prototype, "siteId", 2);
51
+ __decorateClass([
52
+ (0, import_sequelize_typescript.Column)({
53
+ field: "service_day",
54
+ allowNull: true,
55
+ type: import_sequelize_typescript.DataType.JSON
56
+ })
57
+ ], msConsultService.prototype, "serviceDay", 2);
58
+ __decorateClass([
59
+ (0, import_sequelize_typescript.Column)({
60
+ field: "service_staff",
61
+ allowNull: true,
62
+ type: import_sequelize_typescript.DataType.INTEGER
63
+ })
64
+ ], msConsultService.prototype, "serviceStaff", 2);
65
+ __decorateClass([
66
+ (0, import_sequelize_typescript.Column)({
67
+ field: "rounds_total",
68
+ allowNull: true,
69
+ type: import_sequelize_typescript.DataType.INTEGER
70
+ })
71
+ ], msConsultService.prototype, "roundsTotal", 2);
72
+ __decorateClass([
73
+ (0, import_sequelize_typescript.Column)({
74
+ field: "rounds_info",
75
+ allowNull: true,
76
+ type: import_sequelize_typescript.DataType.JSON
77
+ })
78
+ ], msConsultService.prototype, "roundsInfo", 2);
79
+ __decorateClass([
80
+ (0, import_sequelize_typescript.Column)({
81
+ allowNull: true,
82
+ type: import_sequelize_typescript.DataType.INTEGER
83
+ })
84
+ ], msConsultService.prototype, "sort", 2);
85
+ __decorateClass([
86
+ (0, import_sequelize_typescript.Column)({
87
+ allowNull: true,
88
+ type: import_sequelize_typescript.DataType.INTEGER
89
+ })
90
+ ], msConsultService.prototype, "status", 2);
91
+ __decorateClass([
92
+ (0, import_sequelize_typescript.Column)({
93
+ field: "created_by",
94
+ allowNull: true,
95
+ type: import_sequelize_typescript.DataType.STRING(60)
96
+ })
97
+ ], msConsultService.prototype, "createdBy", 2);
98
+ __decorateClass([
99
+ (0, import_sequelize_typescript.Column)({
100
+ field: "created_date",
101
+ allowNull: true,
102
+ type: import_sequelize_typescript.DataType.DATE
103
+ })
104
+ ], msConsultService.prototype, "createdDate", 2);
105
+ __decorateClass([
106
+ (0, import_sequelize_typescript.Column)({
107
+ field: "updated_by",
108
+ allowNull: true,
109
+ type: import_sequelize_typescript.DataType.STRING(60)
110
+ })
111
+ ], msConsultService.prototype, "updatedBy", 2);
112
+ __decorateClass([
113
+ (0, import_sequelize_typescript.Column)({
114
+ field: "updated_date",
115
+ allowNull: true,
116
+ type: import_sequelize_typescript.DataType.DATE
117
+ })
118
+ ], msConsultService.prototype, "updatedDate", 2);
119
+ msConsultService = __decorateClass([
120
+ (0, import_sequelize_typescript.Table)({
121
+ tableName: "ms_consult_service",
122
+ timestamps: false
123
+ })
124
+ ], msConsultService);
125
+ // Annotate the CommonJS export names for ESM import in node:
126
+ 0 && (module.exports = {
127
+ msConsultService
128
+ });
@@ -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
+ });