@admc-go-th/admc-library 1.0.86 → 1.0.88

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,127 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface appFaqAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ titleName?: string;
9
+ firstName?: string;
10
+ lastName?: string;
11
+ phone?: string;
12
+ email?: string;
13
+ question?: string;
14
+ detail?: string;
15
+ attachments?: object;
16
+ status?: number;
17
+ createdBy?: string;
18
+ createdDate?: Date;
19
+ updatedBy?: string;
20
+ updatedDate?: Date;
21
+ }
22
+
23
+ @Table({
24
+ tableName: "app_faq",
25
+ timestamps: false
26
+ })
27
+ export class appFaq extends Model<appFaqAttributes, appFaqAttributes> implements appFaqAttributes {
28
+
29
+ @Column({
30
+ primaryKey: true,
31
+ autoIncrement: true,
32
+ type: DataType.INTEGER
33
+ })
34
+ declare id?: number;
35
+
36
+ @Column({
37
+ allowNull: true,
38
+ type: DataType.STRING(60)
39
+ })
40
+ declare uuid?: string;
41
+
42
+ @Column({
43
+ field: "title_name",
44
+ allowNull: true,
45
+ type: DataType.STRING(50)
46
+ })
47
+ declare titleName?: string;
48
+
49
+ @Column({
50
+ field: "first_name",
51
+ allowNull: true,
52
+ type: DataType.STRING(255)
53
+ })
54
+ declare firstName?: string;
55
+
56
+ @Column({
57
+ field: "last_name",
58
+ allowNull: true,
59
+ type: DataType.STRING(255)
60
+ })
61
+ declare lastName?: string;
62
+
63
+ @Column({
64
+ allowNull: true,
65
+ type: DataType.STRING(255)
66
+ })
67
+ declare phone?: string;
68
+
69
+ @Column({
70
+ allowNull: true,
71
+ type: DataType.STRING(255)
72
+ })
73
+ declare email?: string;
74
+
75
+ @Column({
76
+ allowNull: true,
77
+ type: DataType.STRING(255)
78
+ })
79
+ declare question?: string;
80
+
81
+ @Column({
82
+ allowNull: true,
83
+ type: DataType.STRING
84
+ })
85
+ declare detail?: string;
86
+
87
+ @Column({
88
+ allowNull: true,
89
+ type: DataType.JSON
90
+ })
91
+ declare attachments?: object;
92
+
93
+ @Column({
94
+ allowNull: true,
95
+ type: DataType.INTEGER
96
+ })
97
+ declare status?: number;
98
+
99
+ @Column({
100
+ field: "created_by",
101
+ allowNull: true,
102
+ type: DataType.STRING(60)
103
+ })
104
+ declare createdBy?: string;
105
+
106
+ @Column({
107
+ field: "created_date",
108
+ allowNull: true,
109
+ type: DataType.DATE
110
+ })
111
+ declare createdDate?: Date;
112
+
113
+ @Column({
114
+ field: "updated_by",
115
+ allowNull: true,
116
+ type: DataType.STRING(60)
117
+ })
118
+ declare updatedBy?: string;
119
+
120
+ @Column({
121
+ field: "updated_date",
122
+ allowNull: true,
123
+ type: DataType.DATE
124
+ })
125
+ declare updatedDate?: Date;
126
+
127
+ }
@@ -1,12 +1,12 @@
1
1
  export * from "./appBlessings";
2
2
  export * from "./appBlessingsTransaction";
3
+ export * from "./appFaq";
3
4
  export * from "./authAssignment";
4
5
  export * from "./authItem";
5
6
  export * from "./authItemChild";
6
7
  export * from "./authRole";
7
8
  export * from "./authRoleChild";
8
9
  export * from "./files";
9
- export * from "./formFaq";
10
10
  export * from "./helper";
11
11
  export * from "./logs";
12
12
  export * from "./mdBanner";
@@ -12,7 +12,7 @@ export interface recruitmentAttributes {
12
12
  accountAge?: number;
13
13
  accountExpires?: string;
14
14
  calledPosition?: number;
15
- status?: string;
15
+ status?: number;
16
16
  createdBy?: string;
17
17
  createdDate?: Date;
18
18
  updatedBy?: string;
@@ -83,9 +83,9 @@ export class recruitment extends Model<recruitmentAttributes, recruitmentAttribu
83
83
 
84
84
  @Column({
85
85
  allowNull: true,
86
- type: DataType.STRING(255)
86
+ type: DataType.INTEGER
87
87
  })
88
- declare status?: string;
88
+ declare status?: number;
89
89
 
90
90
  @Column({
91
91
  field: "created_by",
@@ -0,0 +1,38 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface appFaqAttributes {
4
+ id?: number;
5
+ uuid?: string;
6
+ titleName?: string;
7
+ firstName?: string;
8
+ lastName?: string;
9
+ phone?: string;
10
+ email?: string;
11
+ question?: string;
12
+ detail?: string;
13
+ attachments?: object;
14
+ status?: number;
15
+ createdBy?: string;
16
+ createdDate?: Date;
17
+ updatedBy?: string;
18
+ updatedDate?: Date;
19
+ }
20
+ declare class appFaq extends Model<appFaqAttributes, appFaqAttributes> implements appFaqAttributes {
21
+ id?: number;
22
+ uuid?: string;
23
+ titleName?: string;
24
+ firstName?: string;
25
+ lastName?: string;
26
+ phone?: string;
27
+ email?: string;
28
+ question?: string;
29
+ detail?: string;
30
+ attachments?: object;
31
+ status?: number;
32
+ createdBy?: string;
33
+ createdDate?: Date;
34
+ updatedBy?: string;
35
+ updatedDate?: Date;
36
+ }
37
+
38
+ export { appFaq, type appFaqAttributes };
@@ -0,0 +1,144 @@
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/appFaq.ts
29
+ var appFaq_exports = {};
30
+ __export(appFaq_exports, {
31
+ appFaq: () => appFaq
32
+ });
33
+ module.exports = __toCommonJS(appFaq_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var appFaq = 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
+ ], appFaq.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ allowNull: true,
47
+ type: import_sequelize_typescript.DataType.STRING(60)
48
+ })
49
+ ], appFaq.prototype, "uuid", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ field: "title_name",
53
+ allowNull: true,
54
+ type: import_sequelize_typescript.DataType.STRING(50)
55
+ })
56
+ ], appFaq.prototype, "titleName", 2);
57
+ __decorateClass([
58
+ (0, import_sequelize_typescript.Column)({
59
+ field: "first_name",
60
+ allowNull: true,
61
+ type: import_sequelize_typescript.DataType.STRING(255)
62
+ })
63
+ ], appFaq.prototype, "firstName", 2);
64
+ __decorateClass([
65
+ (0, import_sequelize_typescript.Column)({
66
+ field: "last_name",
67
+ allowNull: true,
68
+ type: import_sequelize_typescript.DataType.STRING(255)
69
+ })
70
+ ], appFaq.prototype, "lastName", 2);
71
+ __decorateClass([
72
+ (0, import_sequelize_typescript.Column)({
73
+ allowNull: true,
74
+ type: import_sequelize_typescript.DataType.STRING(255)
75
+ })
76
+ ], appFaq.prototype, "phone", 2);
77
+ __decorateClass([
78
+ (0, import_sequelize_typescript.Column)({
79
+ allowNull: true,
80
+ type: import_sequelize_typescript.DataType.STRING(255)
81
+ })
82
+ ], appFaq.prototype, "email", 2);
83
+ __decorateClass([
84
+ (0, import_sequelize_typescript.Column)({
85
+ allowNull: true,
86
+ type: import_sequelize_typescript.DataType.STRING(255)
87
+ })
88
+ ], appFaq.prototype, "question", 2);
89
+ __decorateClass([
90
+ (0, import_sequelize_typescript.Column)({
91
+ allowNull: true,
92
+ type: import_sequelize_typescript.DataType.STRING
93
+ })
94
+ ], appFaq.prototype, "detail", 2);
95
+ __decorateClass([
96
+ (0, import_sequelize_typescript.Column)({
97
+ allowNull: true,
98
+ type: import_sequelize_typescript.DataType.JSON
99
+ })
100
+ ], appFaq.prototype, "attachments", 2);
101
+ __decorateClass([
102
+ (0, import_sequelize_typescript.Column)({
103
+ allowNull: true,
104
+ type: import_sequelize_typescript.DataType.INTEGER
105
+ })
106
+ ], appFaq.prototype, "status", 2);
107
+ __decorateClass([
108
+ (0, import_sequelize_typescript.Column)({
109
+ field: "created_by",
110
+ allowNull: true,
111
+ type: import_sequelize_typescript.DataType.STRING(60)
112
+ })
113
+ ], appFaq.prototype, "createdBy", 2);
114
+ __decorateClass([
115
+ (0, import_sequelize_typescript.Column)({
116
+ field: "created_date",
117
+ allowNull: true,
118
+ type: import_sequelize_typescript.DataType.DATE
119
+ })
120
+ ], appFaq.prototype, "createdDate", 2);
121
+ __decorateClass([
122
+ (0, import_sequelize_typescript.Column)({
123
+ field: "updated_by",
124
+ allowNull: true,
125
+ type: import_sequelize_typescript.DataType.STRING(60)
126
+ })
127
+ ], appFaq.prototype, "updatedBy", 2);
128
+ __decorateClass([
129
+ (0, import_sequelize_typescript.Column)({
130
+ field: "updated_date",
131
+ allowNull: true,
132
+ type: import_sequelize_typescript.DataType.DATE
133
+ })
134
+ ], appFaq.prototype, "updatedDate", 2);
135
+ appFaq = __decorateClass([
136
+ (0, import_sequelize_typescript.Table)({
137
+ tableName: "app_faq",
138
+ timestamps: false
139
+ })
140
+ ], appFaq);
141
+ // Annotate the CommonJS export names for ESM import in node:
142
+ 0 && (module.exports = {
143
+ appFaq
144
+ });
@@ -1,8 +1,8 @@
1
1
  export { b as appBlessings, a as appBlessingsAttributes, d as appBlessingsTransaction, c as appBlessingsTransactionAttributes } from '../../appBlessings-peNBIrhQ.js';
2
+ export { appFaq, appFaqAttributes } from './appFaq.js';
2
3
  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';
3
4
  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';
4
5
  export { a as files, f as filesAttributes, b as mdBanner, m as mdBannerAttributes } from '../../files-C1bgSUjy.js';
5
- export { formFaq, formFaqAttributes } from './formFaq.js';
6
6
  export { helper, helperAttributes } from './helper.js';
7
7
  export { logs, logsAttributes } from './logs.js';
8
8
  export { mdCmsSingle, mdCmsSingleAttributes } from './mdCmsSingle.js';
@@ -23,7 +23,7 @@ export { mdWords, mdWordsAttributes } from './mdWords.js';
23
23
  export { member, memberAttributes } from './member.js';
24
24
  export { oauthAccessToken, oauthAccessTokenAttributes } from './oauthAccessToken.js';
25
25
  export { oauthRefreshToken, oauthRefreshTokenAttributes } from './oauthRefreshToken.js';
26
- export { a as recruitment, r as recruitmentAttributes, c as recruitmentGroup, b as recruitmentGroupAttributes } from '../../recruitment-9nA7hl-E.js';
26
+ export { a as recruitment, r as recruitmentAttributes, c as recruitmentGroup, b as recruitmentGroupAttributes } from '../../recruitment-DmJeINPg.js';
27
27
  export { settings, settingsAttributes } from './settings.js';
28
28
  export { userCenterV, userCenterVAttributes } from './userCenterV.js';
29
29
  export { userRoleV, userRoleVAttributes } from './userRoleV.js';