@admc-go-th/admc-library 1.0.99 → 1.0.100

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,111 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface contactUsAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ title?: string;
9
+ topic?: string;
10
+ detail?: string;
11
+ fullName?: string;
12
+ email?: string;
13
+ phone?: string;
14
+ status?: number;
15
+ createdBy?: string;
16
+ createdDate?: Date;
17
+ updatedBy?: string;
18
+ updatedDate?: Date;
19
+ }
20
+
21
+ @Table({
22
+ tableName: "contact_us",
23
+ timestamps: false
24
+ })
25
+ export class contactUs extends Model<contactUsAttributes, contactUsAttributes> implements contactUsAttributes {
26
+
27
+ @Column({
28
+ primaryKey: true,
29
+ autoIncrement: true,
30
+ type: DataType.INTEGER
31
+ })
32
+ declare id?: number;
33
+
34
+ @Column({
35
+ allowNull: true,
36
+ type: DataType.STRING(60)
37
+ })
38
+ declare uuid?: string;
39
+
40
+ @Column({
41
+ allowNull: true,
42
+ type: DataType.STRING(255)
43
+ })
44
+ declare title?: string;
45
+
46
+ @Column({
47
+ allowNull: true,
48
+ type: DataType.STRING(255)
49
+ })
50
+ declare topic?: string;
51
+
52
+ @Column({
53
+ allowNull: true,
54
+ type: DataType.STRING
55
+ })
56
+ declare detail?: string;
57
+
58
+ @Column({
59
+ field: "full_name",
60
+ allowNull: true,
61
+ type: DataType.STRING(255)
62
+ })
63
+ declare fullName?: string;
64
+
65
+ @Column({
66
+ allowNull: true,
67
+ type: DataType.STRING(100)
68
+ })
69
+ declare email?: string;
70
+
71
+ @Column({
72
+ allowNull: true,
73
+ type: DataType.STRING(100)
74
+ })
75
+ declare phone?: string;
76
+
77
+ @Column({
78
+ allowNull: true,
79
+ type: DataType.INTEGER
80
+ })
81
+ declare status?: number;
82
+
83
+ @Column({
84
+ field: "created_by",
85
+ allowNull: true,
86
+ type: DataType.STRING(60)
87
+ })
88
+ declare createdBy?: string;
89
+
90
+ @Column({
91
+ field: "created_date",
92
+ allowNull: true,
93
+ type: DataType.DATE
94
+ })
95
+ declare createdDate?: Date;
96
+
97
+ @Column({
98
+ field: "updated_by",
99
+ allowNull: true,
100
+ type: DataType.STRING(60)
101
+ })
102
+ declare updatedBy?: string;
103
+
104
+ @Column({
105
+ field: "updated_date",
106
+ allowNull: true,
107
+ type: DataType.DATE
108
+ })
109
+ declare updatedDate?: Date;
110
+
111
+ }
@@ -10,6 +10,7 @@ export * from "./authItem";
10
10
  export * from "./authItemChild";
11
11
  export * from "./authRole";
12
12
  export * from "./authRoleChild";
13
+ export * from "./contactUs";
13
14
  export * from "./files";
14
15
  export * from "./helper";
15
16
  export * from "./logs";
@@ -41,9 +42,12 @@ export * from "./mdTranslateGroup";
41
42
  export * from "./mdWords";
42
43
  export * from "./member";
43
44
  export * from "./menu";
45
+ export * from "./msExecutive";
46
+ export * from "./msExecutiveBoard";
44
47
  export * from "./msHoliday";
45
48
  export * from "./msModule";
46
49
  export * from "./msProvince";
50
+ export * from "./msTitle";
47
51
  export * from "./oauthAccessToken";
48
52
  export * from "./oauthRefreshToken";
49
53
  export * from "./recruitment";
@@ -0,0 +1,108 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msExecutiveAttributes {
6
+ id?: number;
7
+ titleId?: number;
8
+ firstName?: string;
9
+ lastName?: string;
10
+ firstNameEn?: string;
11
+ lastNameEn?: string;
12
+ email?: string;
13
+ status?: string;
14
+ createdBy?: string;
15
+ createdDate?: Date;
16
+ updatedBy?: string;
17
+ updatedDate?: Date;
18
+ }
19
+
20
+ @Table({
21
+ tableName: "ms_executive",
22
+ timestamps: false
23
+ })
24
+ export class msExecutive extends Model<msExecutiveAttributes, msExecutiveAttributes> implements msExecutiveAttributes {
25
+
26
+ @Column({
27
+ primaryKey: true,
28
+ autoIncrement: true,
29
+ type: DataType.INTEGER
30
+ })
31
+ declare id?: number;
32
+
33
+ @Column({
34
+ field: "title_id",
35
+ allowNull: true,
36
+ type: DataType.INTEGER
37
+ })
38
+ declare titleId?: number;
39
+
40
+ @Column({
41
+ field: "first_name",
42
+ allowNull: true,
43
+ type: DataType.STRING(255)
44
+ })
45
+ declare firstName?: string;
46
+
47
+ @Column({
48
+ field: "last_name",
49
+ allowNull: true,
50
+ type: DataType.STRING(255)
51
+ })
52
+ declare lastName?: string;
53
+
54
+ @Column({
55
+ field: "first_name_en",
56
+ allowNull: true,
57
+ type: DataType.STRING(255)
58
+ })
59
+ declare firstNameEn?: string;
60
+
61
+ @Column({
62
+ field: "last_name_en",
63
+ allowNull: true,
64
+ type: DataType.STRING(255)
65
+ })
66
+ declare lastNameEn?: string;
67
+
68
+ @Column({
69
+ allowNull: true,
70
+ type: DataType.STRING(255)
71
+ })
72
+ declare email?: string;
73
+
74
+ @Column({
75
+ allowNull: true,
76
+ type: DataType.STRING(255)
77
+ })
78
+ declare status?: string;
79
+
80
+ @Column({
81
+ field: "created_by",
82
+ allowNull: true,
83
+ type: DataType.STRING(60)
84
+ })
85
+ declare createdBy?: string;
86
+
87
+ @Column({
88
+ field: "created_date",
89
+ allowNull: true,
90
+ type: DataType.DATE
91
+ })
92
+ declare createdDate?: Date;
93
+
94
+ @Column({
95
+ field: "updated_by",
96
+ allowNull: true,
97
+ type: DataType.STRING(60)
98
+ })
99
+ declare updatedBy?: string;
100
+
101
+ @Column({
102
+ field: "updated_date",
103
+ allowNull: true,
104
+ type: DataType.DATE
105
+ })
106
+ declare updatedDate?: Date;
107
+
108
+ }
@@ -0,0 +1,83 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msExecutiveBoardAttributes {
6
+ id?: number;
7
+ name?: string;
8
+ nameInfo?: object;
9
+ sort?: string;
10
+ status?: string;
11
+ createdBy?: string;
12
+ createdDate?: Date;
13
+ updatedBy?: string;
14
+ updatedDate?: Date;
15
+ }
16
+
17
+ @Table({
18
+ tableName: "ms_executive_board",
19
+ timestamps: false
20
+ })
21
+ export class msExecutiveBoard extends Model<msExecutiveBoardAttributes, msExecutiveBoardAttributes> implements msExecutiveBoardAttributes {
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
+ field: "name_info",
38
+ allowNull: true,
39
+ type: DataType.JSON
40
+ })
41
+ declare nameInfo?: object;
42
+
43
+ @Column({
44
+ allowNull: true,
45
+ type: DataType.STRING(255)
46
+ })
47
+ declare sort?: string;
48
+
49
+ @Column({
50
+ allowNull: true,
51
+ type: DataType.STRING(255)
52
+ })
53
+ declare status?: string;
54
+
55
+ @Column({
56
+ field: "created_by",
57
+ allowNull: true,
58
+ type: DataType.STRING(60)
59
+ })
60
+ declare createdBy?: string;
61
+
62
+ @Column({
63
+ field: "created_date",
64
+ allowNull: true,
65
+ type: DataType.DATE
66
+ })
67
+ declare createdDate?: Date;
68
+
69
+ @Column({
70
+ field: "updated_by",
71
+ allowNull: true,
72
+ type: DataType.STRING(60)
73
+ })
74
+ declare updatedBy?: string;
75
+
76
+ @Column({
77
+ field: "updated_date",
78
+ allowNull: true,
79
+ type: DataType.DATE
80
+ })
81
+ declare updatedDate?: Date;
82
+
83
+ }
@@ -0,0 +1,76 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msTitleAttributes {
6
+ id?: number;
7
+ name?: string;
8
+ nameInfo?: object;
9
+ status?: number;
10
+ createdBy?: string;
11
+ createdDate?: Date;
12
+ updatedBy?: string;
13
+ updatedDate?: Date;
14
+ }
15
+
16
+ @Table({
17
+ tableName: "ms_title",
18
+ timestamps: false
19
+ })
20
+ export class msTitle extends Model<msTitleAttributes, msTitleAttributes> implements msTitleAttributes {
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
+ field: "name_info",
37
+ allowNull: true,
38
+ type: DataType.JSON
39
+ })
40
+ declare nameInfo?: object;
41
+
42
+ @Column({
43
+ allowNull: true,
44
+ type: DataType.INTEGER
45
+ })
46
+ declare status?: number;
47
+
48
+ @Column({
49
+ field: "created_by",
50
+ allowNull: true,
51
+ type: DataType.STRING(60)
52
+ })
53
+ declare createdBy?: string;
54
+
55
+ @Column({
56
+ field: "created_date",
57
+ allowNull: true,
58
+ type: DataType.DATE
59
+ })
60
+ declare createdDate?: Date;
61
+
62
+ @Column({
63
+ field: "updated_by",
64
+ allowNull: true,
65
+ type: DataType.STRING(60)
66
+ })
67
+ declare updatedBy?: string;
68
+
69
+ @Column({
70
+ field: "updated_date",
71
+ allowNull: true,
72
+ type: DataType.DATE
73
+ })
74
+ declare updatedDate?: Date;
75
+
76
+ }
@@ -0,0 +1,34 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface contactUsAttributes {
4
+ id?: number;
5
+ uuid?: string;
6
+ title?: string;
7
+ topic?: string;
8
+ detail?: string;
9
+ fullName?: string;
10
+ email?: string;
11
+ phone?: string;
12
+ status?: number;
13
+ createdBy?: string;
14
+ createdDate?: Date;
15
+ updatedBy?: string;
16
+ updatedDate?: Date;
17
+ }
18
+ declare class contactUs extends Model<contactUsAttributes, contactUsAttributes> implements contactUsAttributes {
19
+ id?: number;
20
+ uuid?: string;
21
+ title?: string;
22
+ topic?: string;
23
+ detail?: string;
24
+ fullName?: string;
25
+ email?: string;
26
+ phone?: string;
27
+ status?: number;
28
+ createdBy?: string;
29
+ createdDate?: Date;
30
+ updatedBy?: string;
31
+ updatedDate?: Date;
32
+ }
33
+
34
+ export { contactUs, type contactUsAttributes };
@@ -0,0 +1,130 @@
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/contactUs.ts
29
+ var contactUs_exports = {};
30
+ __export(contactUs_exports, {
31
+ contactUs: () => contactUs
32
+ });
33
+ module.exports = __toCommonJS(contactUs_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var contactUs = 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
+ ], contactUs.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ allowNull: true,
47
+ type: import_sequelize_typescript.DataType.STRING(60)
48
+ })
49
+ ], contactUs.prototype, "uuid", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ allowNull: true,
53
+ type: import_sequelize_typescript.DataType.STRING(255)
54
+ })
55
+ ], contactUs.prototype, "title", 2);
56
+ __decorateClass([
57
+ (0, import_sequelize_typescript.Column)({
58
+ allowNull: true,
59
+ type: import_sequelize_typescript.DataType.STRING(255)
60
+ })
61
+ ], contactUs.prototype, "topic", 2);
62
+ __decorateClass([
63
+ (0, import_sequelize_typescript.Column)({
64
+ allowNull: true,
65
+ type: import_sequelize_typescript.DataType.STRING
66
+ })
67
+ ], contactUs.prototype, "detail", 2);
68
+ __decorateClass([
69
+ (0, import_sequelize_typescript.Column)({
70
+ field: "full_name",
71
+ allowNull: true,
72
+ type: import_sequelize_typescript.DataType.STRING(255)
73
+ })
74
+ ], contactUs.prototype, "fullName", 2);
75
+ __decorateClass([
76
+ (0, import_sequelize_typescript.Column)({
77
+ allowNull: true,
78
+ type: import_sequelize_typescript.DataType.STRING(100)
79
+ })
80
+ ], contactUs.prototype, "email", 2);
81
+ __decorateClass([
82
+ (0, import_sequelize_typescript.Column)({
83
+ allowNull: true,
84
+ type: import_sequelize_typescript.DataType.STRING(100)
85
+ })
86
+ ], contactUs.prototype, "phone", 2);
87
+ __decorateClass([
88
+ (0, import_sequelize_typescript.Column)({
89
+ allowNull: true,
90
+ type: import_sequelize_typescript.DataType.INTEGER
91
+ })
92
+ ], contactUs.prototype, "status", 2);
93
+ __decorateClass([
94
+ (0, import_sequelize_typescript.Column)({
95
+ field: "created_by",
96
+ allowNull: true,
97
+ type: import_sequelize_typescript.DataType.STRING(60)
98
+ })
99
+ ], contactUs.prototype, "createdBy", 2);
100
+ __decorateClass([
101
+ (0, import_sequelize_typescript.Column)({
102
+ field: "created_date",
103
+ allowNull: true,
104
+ type: import_sequelize_typescript.DataType.DATE
105
+ })
106
+ ], contactUs.prototype, "createdDate", 2);
107
+ __decorateClass([
108
+ (0, import_sequelize_typescript.Column)({
109
+ field: "updated_by",
110
+ allowNull: true,
111
+ type: import_sequelize_typescript.DataType.STRING(60)
112
+ })
113
+ ], contactUs.prototype, "updatedBy", 2);
114
+ __decorateClass([
115
+ (0, import_sequelize_typescript.Column)({
116
+ field: "updated_date",
117
+ allowNull: true,
118
+ type: import_sequelize_typescript.DataType.DATE
119
+ })
120
+ ], contactUs.prototype, "updatedDate", 2);
121
+ contactUs = __decorateClass([
122
+ (0, import_sequelize_typescript.Table)({
123
+ tableName: "contact_us",
124
+ timestamps: false
125
+ })
126
+ ], contactUs);
127
+ // Annotate the CommonJS export names for ESM import in node:
128
+ 0 && (module.exports = {
129
+ contactUs
130
+ });
@@ -5,6 +5,7 @@ export { appQueueTour, appQueueTourAttributes } from './appQueueTour.js';
5
5
  export { b as appReportCorruption, a as appReportCorruptionAttributes, d as appReportCorruptionTransaction, c as appReportCorruptionTransactionAttributes } from '../../appReportCorruption-CWG66n6V.js';
6
6
  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, l as users, u as usersAttributes, o as usersVerify, n as usersVerifyAttributes } from '../../authAssignment-CcMPKnNv.js';
7
7
  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';
8
+ export { contactUs, contactUsAttributes } from './contactUs.js';
8
9
  export { a as files, f as filesAttributes, b as mdBanner, m as mdBannerAttributes } from '../../files-C1bgSUjy.js';
9
10
  export { helper, helperAttributes } from './helper.js';
10
11
  export { logs, logsAttributes } from './logs.js';
@@ -24,8 +25,11 @@ export { mdSetting, mdSettingAttributes } from './mdSetting.js';
24
25
  export { a as mdTranslate, m as mdTranslateAttributes, c as mdTranslateGroup, b as mdTranslateGroupAttributes } from '../../mdTranslate-OuC5tJKe.js';
25
26
  export { mdWords, mdWordsAttributes } from './mdWords.js';
26
27
  export { member, memberAttributes } from './member.js';
28
+ export { msExecutive, msExecutiveAttributes } from './msExecutive.js';
29
+ export { msExecutiveBoard, msExecutiveBoardAttributes } from './msExecutiveBoard.js';
27
30
  export { msHoliday, msHolidayAttributes } from './msHoliday.js';
28
31
  export { msProvince, msProvinceAttributes } from './msProvince.js';
32
+ export { msTitle, msTitleAttributes } from './msTitle.js';
29
33
  export { oauthAccessToken, oauthAccessTokenAttributes } from './oauthAccessToken.js';
30
34
  export { oauthRefreshToken, oauthRefreshTokenAttributes } from './oauthRefreshToken.js';
31
35
  export { a as recruitment, r as recruitmentAttributes, c as recruitmentGroup, b as recruitmentGroupAttributes } from '../../recruitment-DmJeINPg.js';