@admc-go-th/admc-library 1.0.119 → 1.0.121

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.
@@ -15,6 +15,7 @@ export * from "./contentGuidelinesTour";
15
15
  export * from "./files";
16
16
  export * from "./helper";
17
17
  export * from "./logs";
18
+ export * from "./mdApplication";
18
19
  export * from "./mdBanner";
19
20
  export * from "./mdCmsSingle";
20
21
  export * from "./mdConfiguration";
@@ -47,6 +48,7 @@ export * from "./menu";
47
48
  export * from "./msExecutive";
48
49
  export * from "./msExecutiveBoard";
49
50
  export * from "./msExecutiveGroup";
51
+ export * from "./msExecutiveLevel";
50
52
  export * from "./msExecutivePosition";
51
53
  export * from "./msGuidelines";
52
54
  export * from "./msHoliday";
@@ -0,0 +1,209 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface mdApplicationAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ keyName?: string;
9
+ title?: string;
10
+ description?: string;
11
+ imageCover?: string;
12
+ fileUuid?: string;
13
+ attachments?: object;
14
+ url1?: string;
15
+ target1?: string;
16
+ url2?: string;
17
+ target2?: string;
18
+ url3?: string;
19
+ target3?: string;
20
+ url4?: string;
21
+ target4?: string;
22
+ sort?: number;
23
+ status?: number;
24
+ view?: number;
25
+ hasExpire?: number;
26
+ startDate?: Date;
27
+ expireDate?: Date;
28
+ createdBy?: string;
29
+ createdDate?: Date;
30
+ updatedBy?: string;
31
+ updatedDate?: Date;
32
+ }
33
+
34
+ @Table({
35
+ tableName: "md_application",
36
+ timestamps: false
37
+ })
38
+ export class mdApplication extends Model<mdApplicationAttributes, mdApplicationAttributes> implements mdApplicationAttributes {
39
+
40
+ @Column({
41
+ primaryKey: true,
42
+ autoIncrement: true,
43
+ type: DataType.INTEGER
44
+ })
45
+ declare id?: number;
46
+
47
+ @Column({
48
+ allowNull: true,
49
+ type: DataType.STRING(60)
50
+ })
51
+ declare uuid?: string;
52
+
53
+ @Column({
54
+ field: "key_name",
55
+ allowNull: true,
56
+ type: DataType.STRING(100)
57
+ })
58
+ declare keyName?: string;
59
+
60
+ @Column({
61
+ allowNull: true,
62
+ type: DataType.STRING(255)
63
+ })
64
+ declare title?: string;
65
+
66
+ @Column({
67
+ allowNull: true,
68
+ type: DataType.STRING
69
+ })
70
+ declare description?: string;
71
+
72
+ @Column({
73
+ field: "image_cover",
74
+ allowNull: true,
75
+ type: DataType.STRING(255)
76
+ })
77
+ declare imageCover?: string;
78
+
79
+ @Column({
80
+ field: "file_uuid",
81
+ allowNull: true,
82
+ type: DataType.STRING(60)
83
+ })
84
+ declare fileUuid?: string;
85
+
86
+ @Column({
87
+ allowNull: true,
88
+ type: DataType.JSON
89
+ })
90
+ declare attachments?: object;
91
+
92
+ @Column({
93
+ allowNull: true,
94
+ type: DataType.STRING(255),
95
+ comment: "google play"
96
+ })
97
+ declare url1?: string;
98
+
99
+ @Column({
100
+ allowNull: true,
101
+ type: DataType.STRING(10)
102
+ })
103
+ declare target1?: string;
104
+
105
+ @Column({
106
+ allowNull: true,
107
+ type: DataType.STRING(255),
108
+ comment: "app store"
109
+ })
110
+ declare url2?: string;
111
+
112
+ @Column({
113
+ allowNull: true,
114
+ type: DataType.STRING(10)
115
+ })
116
+ declare target2?: string;
117
+
118
+ @Column({
119
+ allowNull: true,
120
+ type: DataType.STRING(255)
121
+ })
122
+ declare url3?: string;
123
+
124
+ @Column({
125
+ allowNull: true,
126
+ type: DataType.STRING(10)
127
+ })
128
+ declare target3?: string;
129
+
130
+ @Column({
131
+ allowNull: true,
132
+ type: DataType.STRING(255)
133
+ })
134
+ declare url4?: string;
135
+
136
+ @Column({
137
+ allowNull: true,
138
+ type: DataType.STRING(10)
139
+ })
140
+ declare target4?: string;
141
+
142
+ @Column({
143
+ allowNull: true,
144
+ type: DataType.INTEGER
145
+ })
146
+ declare sort?: number;
147
+
148
+ @Column({
149
+ allowNull: true,
150
+ type: DataType.INTEGER
151
+ })
152
+ declare status?: number;
153
+
154
+ @Column({
155
+ allowNull: true,
156
+ type: DataType.INTEGER
157
+ })
158
+ declare view?: number;
159
+
160
+ @Column({
161
+ field: "has_expire",
162
+ allowNull: true,
163
+ type: DataType.INTEGER
164
+ })
165
+ declare hasExpire?: number;
166
+
167
+ @Column({
168
+ field: "start_date",
169
+ allowNull: true,
170
+ type: DataType.DATE
171
+ })
172
+ declare startDate?: Date;
173
+
174
+ @Column({
175
+ field: "expire_date",
176
+ allowNull: true,
177
+ type: DataType.DATE
178
+ })
179
+ declare expireDate?: Date;
180
+
181
+ @Column({
182
+ field: "created_by",
183
+ allowNull: true,
184
+ type: DataType.STRING(60)
185
+ })
186
+ declare createdBy?: string;
187
+
188
+ @Column({
189
+ field: "created_date",
190
+ allowNull: true,
191
+ type: DataType.DATE
192
+ })
193
+ declare createdDate?: Date;
194
+
195
+ @Column({
196
+ field: "updated_by",
197
+ allowNull: true,
198
+ type: DataType.STRING(60)
199
+ })
200
+ declare updatedBy?: string;
201
+
202
+ @Column({
203
+ field: "updated_date",
204
+ allowNull: true,
205
+ type: DataType.DATE
206
+ })
207
+ declare updatedDate?: Date;
208
+
209
+ }
@@ -0,0 +1,119 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msExecutiveLevelAttributes {
6
+ id?: number;
7
+ groupId?: number;
8
+ level?: number;
9
+ name?: string;
10
+ description?: string;
11
+ sort?: number;
12
+ status?: number;
13
+ updatedInfo?: string;
14
+ remark?: string;
15
+ info?: object;
16
+ createdBy?: string;
17
+ createdDate?: Date;
18
+ updatedBy?: string;
19
+ updatedDate?: Date;
20
+ }
21
+
22
+ @Table({
23
+ tableName: "ms_executive_level",
24
+ timestamps: false
25
+ })
26
+ export class msExecutiveLevel extends Model<msExecutiveLevelAttributes, msExecutiveLevelAttributes> implements msExecutiveLevelAttributes {
27
+
28
+ @Column({
29
+ primaryKey: true,
30
+ autoIncrement: true,
31
+ type: DataType.INTEGER
32
+ })
33
+ declare id?: number;
34
+
35
+ @Column({
36
+ field: "group_id",
37
+ allowNull: true,
38
+ type: DataType.INTEGER
39
+ })
40
+ declare groupId?: number;
41
+
42
+ @Column({
43
+ allowNull: true,
44
+ type: DataType.INTEGER
45
+ })
46
+ declare level?: number;
47
+
48
+ @Column({
49
+ allowNull: true,
50
+ type: DataType.STRING(255)
51
+ })
52
+ declare name?: string;
53
+
54
+ @Column({
55
+ allowNull: true,
56
+ type: DataType.STRING(255)
57
+ })
58
+ declare description?: string;
59
+
60
+ @Column({
61
+ allowNull: true,
62
+ type: DataType.INTEGER
63
+ })
64
+ declare sort?: number;
65
+
66
+ @Column({
67
+ allowNull: true,
68
+ type: DataType.INTEGER
69
+ })
70
+ declare status?: number;
71
+
72
+ @Column({
73
+ field: "updated_info",
74
+ allowNull: true,
75
+ type: DataType.STRING(255)
76
+ })
77
+ declare updatedInfo?: string;
78
+
79
+ @Column({
80
+ allowNull: true,
81
+ type: DataType.STRING
82
+ })
83
+ declare remark?: string;
84
+
85
+ @Column({
86
+ allowNull: true,
87
+ type: DataType.JSON
88
+ })
89
+ declare info?: object;
90
+
91
+ @Column({
92
+ field: "created_by",
93
+ allowNull: true,
94
+ type: DataType.STRING(60)
95
+ })
96
+ declare createdBy?: string;
97
+
98
+ @Column({
99
+ field: "created_date",
100
+ allowNull: true,
101
+ type: DataType.DATE
102
+ })
103
+ declare createdDate?: Date;
104
+
105
+ @Column({
106
+ field: "updated_by",
107
+ allowNull: true,
108
+ type: DataType.STRING(60)
109
+ })
110
+ declare updatedBy?: string;
111
+
112
+ @Column({
113
+ field: "updated_date",
114
+ allowNull: true,
115
+ type: DataType.DATE
116
+ })
117
+ declare updatedDate?: Date;
118
+
119
+ }
@@ -10,6 +10,7 @@ export { contentGuidelinesTour, contentGuidelinesTourAttributes } from './conten
10
10
  export { a as files, f as filesAttributes, b as mdBanner, m as mdBannerAttributes } from '../../files-Dp2zDQAj.js';
11
11
  export { helper, helperAttributes } from './helper.js';
12
12
  export { logs, logsAttributes } from './logs.js';
13
+ export { mdApplication, mdApplicationAttributes } from './mdApplication.js';
13
14
  export { mdCmsSingle, mdCmsSingleAttributes } from './mdCmsSingle.js';
14
15
  export { mdConfiguration, mdConfigurationAttributes } from './mdConfiguration.js';
15
16
  export { mdDocumentPdf, mdDocumentPdfAttributes } from './mdDocumentPdf.js';
@@ -29,6 +30,7 @@ export { mdWords, mdWordsAttributes } from './mdWords.js';
29
30
  export { member, memberAttributes } from './member.js';
30
31
  export { a as msExecutive, m as msExecutiveAttributes, c as msExecutiveGroup, b as msExecutiveGroupAttributes, e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-B7lTHxSZ.js';
31
32
  export { msExecutiveBoard, msExecutiveBoardAttributes } from './msExecutiveBoard.js';
33
+ export { msExecutiveLevel, msExecutiveLevelAttributes } from './msExecutiveLevel.js';
32
34
  export { msGuidelines, msGuidelinesAttributes } from './msGuidelines.js';
33
35
  export { msHoliday, msHolidayAttributes } from './msHoliday.js';
34
36
  export { msProvince, msProvinceAttributes } from './msProvince.js';