@admc-go-th/admc-library 1.0.134 → 1.0.136

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.
@@ -0,0 +1,75 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface appScoreTypeAttributes {
6
+ id?: number;
7
+ name?: string;
8
+ detail?: string;
9
+ status?: number;
10
+ createdBy?: string;
11
+ createdDate?: Date;
12
+ updatedBy?: string;
13
+ updatedDate?: Date;
14
+ }
15
+
16
+ @Table({
17
+ tableName: "app_score_type",
18
+ timestamps: false
19
+ })
20
+ export class appScoreType extends Model<appScoreTypeAttributes, appScoreTypeAttributes> implements appScoreTypeAttributes {
21
+
22
+ @Column({
23
+ primaryKey: true,
24
+ autoIncrement: true,
25
+ type: DataType.INTEGER
26
+ })
27
+ declare id?: number;
28
+
29
+ @Column({
30
+ allowNull: true,
31
+ type: DataType.STRING(255)
32
+ })
33
+ declare name?: string;
34
+
35
+ @Column({
36
+ allowNull: true,
37
+ type: DataType.STRING
38
+ })
39
+ declare detail?: string;
40
+
41
+ @Column({
42
+ allowNull: true,
43
+ type: DataType.INTEGER
44
+ })
45
+ declare status?: number;
46
+
47
+ @Column({
48
+ field: "created_by",
49
+ allowNull: true,
50
+ type: DataType.STRING(60)
51
+ })
52
+ declare createdBy?: string;
53
+
54
+ @Column({
55
+ field: "created_date",
56
+ allowNull: true,
57
+ type: DataType.DATE
58
+ })
59
+ declare createdDate?: Date;
60
+
61
+ @Column({
62
+ field: "updated_by",
63
+ allowNull: true,
64
+ type: DataType.STRING(60)
65
+ })
66
+ declare updatedBy?: string;
67
+
68
+ @Column({
69
+ field: "updated_date",
70
+ allowNull: true,
71
+ type: DataType.DATE
72
+ })
73
+ declare updatedDate?: Date;
74
+
75
+ }
@@ -8,6 +8,7 @@ export * from "./appReportCorruptionTransaction";
8
8
  export * from "./appScore";
9
9
  export * from "./appScoreData";
10
10
  export * from "./appScorePerson";
11
+ export * from "./appScoreType";
11
12
  export * from "./authAssignment";
12
13
  export * from "./authItem";
13
14
  export * from "./authItemChild";
@@ -52,6 +53,8 @@ export * from "./mdWords";
52
53
  export * from "./member";
53
54
  export * from "./menu";
54
55
  export * from "./msConsultCase";
56
+ export * from "./msConsultCaseSection";
57
+ export * from "./msConsultCaseType";
55
58
  export * from "./msConsultChannels";
56
59
  export * from "./msConsultInstructions";
57
60
  export * from "./msConsultService";
@@ -0,0 +1,82 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultCaseSectionAttributes {
6
+ id?: number;
7
+ name?: string;
8
+ detail?: string;
9
+ sort?: number;
10
+ status?: number;
11
+ createdBy?: string;
12
+ createdDate?: Date;
13
+ updatedBy?: string;
14
+ updatedDate?: Date;
15
+ }
16
+
17
+ @Table({
18
+ tableName: "ms_consult_case_section",
19
+ timestamps: false
20
+ })
21
+ export class msConsultCaseSection extends Model<msConsultCaseSectionAttributes, msConsultCaseSectionAttributes> implements msConsultCaseSectionAttributes {
22
+
23
+ @Column({
24
+ primaryKey: true,
25
+ autoIncrement: true,
26
+ type: DataType.INTEGER
27
+ })
28
+ declare id?: number;
29
+
30
+ @Column({
31
+ allowNull: true,
32
+ type: DataType.STRING(255)
33
+ })
34
+ declare name?: string;
35
+
36
+ @Column({
37
+ allowNull: true,
38
+ type: DataType.STRING
39
+ })
40
+ declare detail?: string;
41
+
42
+ @Column({
43
+ allowNull: true,
44
+ type: DataType.INTEGER
45
+ })
46
+ declare sort?: number;
47
+
48
+ @Column({
49
+ allowNull: true,
50
+ type: DataType.INTEGER
51
+ })
52
+ declare status?: number;
53
+
54
+ @Column({
55
+ field: "created_by",
56
+ allowNull: true,
57
+ type: DataType.STRING(60)
58
+ })
59
+ declare createdBy?: string;
60
+
61
+ @Column({
62
+ field: "created_date",
63
+ allowNull: true,
64
+ type: DataType.DATE
65
+ })
66
+ declare createdDate?: Date;
67
+
68
+ @Column({
69
+ field: "updated_by",
70
+ allowNull: true,
71
+ type: DataType.STRING(60)
72
+ })
73
+ declare updatedBy?: string;
74
+
75
+ @Column({
76
+ field: "updated_date",
77
+ allowNull: true,
78
+ type: DataType.DATE
79
+ })
80
+ declare updatedDate?: Date;
81
+
82
+ }
@@ -0,0 +1,82 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultCaseTypeAttributes {
6
+ id?: number;
7
+ name?: string;
8
+ detail?: string;
9
+ sort?: number;
10
+ status?: number;
11
+ createdBy?: string;
12
+ createdDate?: Date;
13
+ updatedBy?: string;
14
+ updatedDate?: Date;
15
+ }
16
+
17
+ @Table({
18
+ tableName: "ms_consult_case_type",
19
+ timestamps: false
20
+ })
21
+ export class msConsultCaseType extends Model<msConsultCaseTypeAttributes, msConsultCaseTypeAttributes> implements msConsultCaseTypeAttributes {
22
+
23
+ @Column({
24
+ primaryKey: true,
25
+ autoIncrement: true,
26
+ type: DataType.INTEGER
27
+ })
28
+ declare id?: number;
29
+
30
+ @Column({
31
+ allowNull: true,
32
+ type: DataType.STRING(255)
33
+ })
34
+ declare name?: string;
35
+
36
+ @Column({
37
+ allowNull: true,
38
+ type: DataType.STRING
39
+ })
40
+ declare detail?: string;
41
+
42
+ @Column({
43
+ allowNull: true,
44
+ type: DataType.INTEGER
45
+ })
46
+ declare sort?: number;
47
+
48
+ @Column({
49
+ allowNull: true,
50
+ type: DataType.INTEGER
51
+ })
52
+ declare status?: number;
53
+
54
+ @Column({
55
+ field: "created_by",
56
+ allowNull: true,
57
+ type: DataType.STRING(60)
58
+ })
59
+ declare createdBy?: string;
60
+
61
+ @Column({
62
+ field: "created_date",
63
+ allowNull: true,
64
+ type: DataType.DATE
65
+ })
66
+ declare createdDate?: Date;
67
+
68
+ @Column({
69
+ field: "updated_by",
70
+ allowNull: true,
71
+ type: DataType.STRING(60)
72
+ })
73
+ declare updatedBy?: string;
74
+
75
+ @Column({
76
+ field: "updated_date",
77
+ allowNull: true,
78
+ type: DataType.DATE
79
+ })
80
+ declare updatedDate?: Date;
81
+
82
+ }
@@ -0,0 +1,24 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface appScoreTypeAttributes {
4
+ id?: number;
5
+ name?: string;
6
+ detail?: string;
7
+ status?: number;
8
+ createdBy?: string;
9
+ createdDate?: Date;
10
+ updatedBy?: string;
11
+ updatedDate?: Date;
12
+ }
13
+ declare class appScoreType extends Model<appScoreTypeAttributes, appScoreTypeAttributes> implements appScoreTypeAttributes {
14
+ id?: number;
15
+ name?: string;
16
+ detail?: string;
17
+ status?: number;
18
+ createdBy?: string;
19
+ createdDate?: Date;
20
+ updatedBy?: string;
21
+ updatedDate?: Date;
22
+ }
23
+
24
+ export { appScoreType, type appScoreTypeAttributes };
@@ -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/appScoreType.ts
29
+ var appScoreType_exports = {};
30
+ __export(appScoreType_exports, {
31
+ appScoreType: () => appScoreType
32
+ });
33
+ module.exports = __toCommonJS(appScoreType_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var appScoreType = 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
+ ], appScoreType.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ allowNull: true,
47
+ type: import_sequelize_typescript.DataType.STRING(255)
48
+ })
49
+ ], appScoreType.prototype, "name", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ allowNull: true,
53
+ type: import_sequelize_typescript.DataType.STRING
54
+ })
55
+ ], appScoreType.prototype, "detail", 2);
56
+ __decorateClass([
57
+ (0, import_sequelize_typescript.Column)({
58
+ allowNull: true,
59
+ type: import_sequelize_typescript.DataType.INTEGER
60
+ })
61
+ ], appScoreType.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
+ ], appScoreType.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
+ ], appScoreType.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
+ ], appScoreType.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
+ ], appScoreType.prototype, "updatedDate", 2);
90
+ appScoreType = __decorateClass([
91
+ (0, import_sequelize_typescript.Table)({
92
+ tableName: "app_score_type",
93
+ timestamps: false
94
+ })
95
+ ], appScoreType);
96
+ // Annotate the CommonJS export names for ESM import in node:
97
+ 0 && (module.exports = {
98
+ appScoreType
99
+ });
@@ -6,6 +6,7 @@ export { b as appReportCorruption, a as appReportCorruptionAttributes, d as appR
6
6
  export { appScore, appScoreAttributes } from './appScore.js';
7
7
  export { appScoreData, appScoreDataAttributes } from './appScoreData.js';
8
8
  export { appScorePerson, appScorePersonAttributes } from './appScorePerson.js';
9
+ export { appScoreType, appScoreTypeAttributes } from './appScoreType.js';
9
10
  export { b as authAssignment, a as authAssignmentAttributes, d as authRole, c as authRoleAttributes, f as authRoleChild, e as authRoleChildAttributes, g as mdContent, m as mdContentAttributes, i as mdContentGroup, h as mdContentGroupAttributes, k as mdQuestionnaire, j as mdQuestionnaireAttributes, n as mdQuestionnaireData, l as mdQuestionnaireDataAttributes, o as users, u as usersAttributes, q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-De3034JH.js';
10
11
  export { b as authItem, a as authItemAttributes, d as authItemChild, c as authItemChildAttributes, e as menu, m as menuAttributes, g as msModule, f as msModuleAttributes } from '../../authItem-DBSkCaSi.js';
11
12
  export { contactUs, contactUsAttributes } from './contactUs.js';
@@ -34,6 +35,8 @@ export { mdVideo, mdVideoAttributes } from './mdVideo.js';
34
35
  export { mdWords, mdWordsAttributes } from './mdWords.js';
35
36
  export { member, memberAttributes } from './member.js';
36
37
  export { msConsultCase, msConsultCaseAttributes } from './msConsultCase.js';
38
+ export { msConsultCaseSection, msConsultCaseSectionAttributes } from './msConsultCaseSection.js';
39
+ export { msConsultCaseType, msConsultCaseTypeAttributes } from './msConsultCaseType.js';
37
40
  export { msConsultInstructions, msConsultInstructionsAttributes } from './msConsultInstructions.js';
38
41
  export { msConsultService, msConsultServiceAttributes } from './msConsultService.js';
39
42
  export { msConsultSiteCase, msConsultSiteCaseAttributes } from './msConsultSiteCase.js';