@admc-go-th/admc-library 1.0.93 → 1.0.94
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.
- package/appReportCorruption-CWG66n6V.d.ts +77 -0
- package/databases/schema/appReportCorruption.ts +7 -1
- package/databases/schema/appReportCorruptionTransaction.ts +88 -0
- package/databases/schema/index.ts +1 -0
- package/databases/tables/appReportCorruption.d.ts +2 -52
- package/databases/tables/appReportCorruption.js +125 -43
- package/databases/tables/appReportCorruptionTransaction.d.ts +2 -0
- package/databases/tables/appReportCorruptionTransaction.js +272 -0
- package/databases/tables/index.d.ts +1 -1
- package/databases/tables/index.js +1629 -1545
- package/package.json +1 -1
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface appReportCorruptionTransactionAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
corruptionId?: number;
|
|
6
|
+
process?: number;
|
|
7
|
+
note?: string;
|
|
8
|
+
status?: number;
|
|
9
|
+
createdBy?: string;
|
|
10
|
+
createdDate?: Date;
|
|
11
|
+
updatedBy?: string;
|
|
12
|
+
updatedDate?: Date;
|
|
13
|
+
}
|
|
14
|
+
declare class appReportCorruptionTransaction extends Model<appReportCorruptionTransactionAttributes, appReportCorruptionTransactionAttributes> implements appReportCorruptionTransactionAttributes {
|
|
15
|
+
id?: number;
|
|
16
|
+
corruptionId?: number;
|
|
17
|
+
process?: number;
|
|
18
|
+
note?: string;
|
|
19
|
+
status?: number;
|
|
20
|
+
createdBy?: string;
|
|
21
|
+
createdDate?: Date;
|
|
22
|
+
updatedBy?: string;
|
|
23
|
+
updatedDate?: Date;
|
|
24
|
+
appReportCorruption?: appReportCorruption;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface appReportCorruptionAttributes {
|
|
28
|
+
id?: number;
|
|
29
|
+
uuid?: string;
|
|
30
|
+
code?: string;
|
|
31
|
+
title?: string;
|
|
32
|
+
detail?: string;
|
|
33
|
+
prefix?: string;
|
|
34
|
+
firstName?: string;
|
|
35
|
+
lastName?: string;
|
|
36
|
+
idCard?: string;
|
|
37
|
+
address?: string;
|
|
38
|
+
provinceId?: number;
|
|
39
|
+
phoneNumber?: string;
|
|
40
|
+
email?: string;
|
|
41
|
+
occupation?: string;
|
|
42
|
+
attachments?: object;
|
|
43
|
+
isRequestPostOffice?: number;
|
|
44
|
+
ipAddress?: string;
|
|
45
|
+
status?: number;
|
|
46
|
+
createdBy?: string;
|
|
47
|
+
createdDate?: Date;
|
|
48
|
+
updatedBy?: string;
|
|
49
|
+
updatedDate?: Date;
|
|
50
|
+
}
|
|
51
|
+
declare class appReportCorruption extends Model<appReportCorruptionAttributes, appReportCorruptionAttributes> implements appReportCorruptionAttributes {
|
|
52
|
+
id?: number;
|
|
53
|
+
uuid?: string;
|
|
54
|
+
code?: string;
|
|
55
|
+
title?: string;
|
|
56
|
+
detail?: string;
|
|
57
|
+
prefix?: string;
|
|
58
|
+
firstName?: string;
|
|
59
|
+
lastName?: string;
|
|
60
|
+
idCard?: string;
|
|
61
|
+
address?: string;
|
|
62
|
+
provinceId?: number;
|
|
63
|
+
phoneNumber?: string;
|
|
64
|
+
email?: string;
|
|
65
|
+
occupation?: string;
|
|
66
|
+
attachments?: object;
|
|
67
|
+
isRequestPostOffice?: number;
|
|
68
|
+
ipAddress?: string;
|
|
69
|
+
status?: number;
|
|
70
|
+
createdBy?: string;
|
|
71
|
+
createdDate?: Date;
|
|
72
|
+
updatedBy?: string;
|
|
73
|
+
updatedDate?: Date;
|
|
74
|
+
appReportCorruptionTransactions?: appReportCorruptionTransaction[];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export { type appReportCorruptionAttributes as a, appReportCorruption as b, type appReportCorruptionTransactionAttributes as c, appReportCorruptionTransaction as d };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey, HasMany
|
|
3
3
|
} from "sequelize-typescript";
|
|
4
|
+
import { appReportCorruptionTransaction } from "./appReportCorruptionTransaction";
|
|
4
5
|
|
|
5
6
|
export interface appReportCorruptionAttributes {
|
|
6
7
|
id?: number;
|
|
@@ -177,4 +178,9 @@ export class appReportCorruption extends Model<appReportCorruptionAttributes, ap
|
|
|
177
178
|
})
|
|
178
179
|
declare updatedDate?: Date;
|
|
179
180
|
|
|
181
|
+
@HasMany(() => appReportCorruptionTransaction, {
|
|
182
|
+
sourceKey: "id"
|
|
183
|
+
})
|
|
184
|
+
declare appReportCorruptionTransactions?: appReportCorruptionTransaction[];
|
|
185
|
+
|
|
180
186
|
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey, BelongsTo
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
import { appReportCorruption } from "./appReportCorruption";
|
|
5
|
+
|
|
6
|
+
export interface appReportCorruptionTransactionAttributes {
|
|
7
|
+
id?: number;
|
|
8
|
+
corruptionId?: number;
|
|
9
|
+
process?: number;
|
|
10
|
+
note?: string;
|
|
11
|
+
status?: number;
|
|
12
|
+
createdBy?: string;
|
|
13
|
+
createdDate?: Date;
|
|
14
|
+
updatedBy?: string;
|
|
15
|
+
updatedDate?: Date;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@Table({
|
|
19
|
+
tableName: "app_report_corruption_transaction",
|
|
20
|
+
timestamps: false
|
|
21
|
+
})
|
|
22
|
+
export class appReportCorruptionTransaction extends Model<appReportCorruptionTransactionAttributes, appReportCorruptionTransactionAttributes> implements appReportCorruptionTransactionAttributes {
|
|
23
|
+
|
|
24
|
+
@Column({
|
|
25
|
+
primaryKey: true,
|
|
26
|
+
autoIncrement: true,
|
|
27
|
+
type: DataType.INTEGER
|
|
28
|
+
})
|
|
29
|
+
declare id?: number;
|
|
30
|
+
|
|
31
|
+
@ForeignKey(() => appReportCorruption)
|
|
32
|
+
@Column({
|
|
33
|
+
field: "corruption_id",
|
|
34
|
+
allowNull: true,
|
|
35
|
+
type: DataType.INTEGER
|
|
36
|
+
})
|
|
37
|
+
declare corruptionId?: number;
|
|
38
|
+
|
|
39
|
+
@Column({
|
|
40
|
+
allowNull: true,
|
|
41
|
+
type: DataType.INTEGER
|
|
42
|
+
})
|
|
43
|
+
declare process?: number;
|
|
44
|
+
|
|
45
|
+
@Column({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: DataType.STRING
|
|
48
|
+
})
|
|
49
|
+
declare note?: string;
|
|
50
|
+
|
|
51
|
+
@Column({
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: DataType.INTEGER
|
|
54
|
+
})
|
|
55
|
+
declare status?: number;
|
|
56
|
+
|
|
57
|
+
@Column({
|
|
58
|
+
field: "created_by",
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: DataType.STRING(60)
|
|
61
|
+
})
|
|
62
|
+
declare createdBy?: string;
|
|
63
|
+
|
|
64
|
+
@Column({
|
|
65
|
+
field: "created_date",
|
|
66
|
+
allowNull: true,
|
|
67
|
+
type: DataType.DATE
|
|
68
|
+
})
|
|
69
|
+
declare createdDate?: Date;
|
|
70
|
+
|
|
71
|
+
@Column({
|
|
72
|
+
field: "updated_by",
|
|
73
|
+
allowNull: true,
|
|
74
|
+
type: DataType.STRING(60)
|
|
75
|
+
})
|
|
76
|
+
declare updatedBy?: string;
|
|
77
|
+
|
|
78
|
+
@Column({
|
|
79
|
+
field: "updated_date",
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: DataType.DATE
|
|
82
|
+
})
|
|
83
|
+
declare updatedDate?: Date;
|
|
84
|
+
|
|
85
|
+
@BelongsTo(() => appReportCorruption)
|
|
86
|
+
declare appReportCorruption?: appReportCorruption;
|
|
87
|
+
|
|
88
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./appFaq";
|
|
|
4
4
|
export * from "./appQueue";
|
|
5
5
|
export * from "./appQueueTour";
|
|
6
6
|
export * from "./appReportCorruption";
|
|
7
|
+
export * from "./appReportCorruptionTransaction";
|
|
7
8
|
export * from "./authAssignment";
|
|
8
9
|
export * from "./authItem";
|
|
9
10
|
export * from "./authItemChild";
|
|
@@ -1,52 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
interface appReportCorruptionAttributes {
|
|
4
|
-
id?: number;
|
|
5
|
-
uuid?: string;
|
|
6
|
-
code?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
detail?: string;
|
|
9
|
-
prefix?: string;
|
|
10
|
-
firstName?: string;
|
|
11
|
-
lastName?: string;
|
|
12
|
-
idCard?: string;
|
|
13
|
-
address?: string;
|
|
14
|
-
provinceId?: number;
|
|
15
|
-
phoneNumber?: string;
|
|
16
|
-
email?: string;
|
|
17
|
-
occupation?: string;
|
|
18
|
-
attachments?: object;
|
|
19
|
-
isRequestPostOffice?: number;
|
|
20
|
-
ipAddress?: string;
|
|
21
|
-
status?: number;
|
|
22
|
-
createdBy?: string;
|
|
23
|
-
createdDate?: Date;
|
|
24
|
-
updatedBy?: string;
|
|
25
|
-
updatedDate?: Date;
|
|
26
|
-
}
|
|
27
|
-
declare class appReportCorruption extends Model<appReportCorruptionAttributes, appReportCorruptionAttributes> implements appReportCorruptionAttributes {
|
|
28
|
-
id?: number;
|
|
29
|
-
uuid?: string;
|
|
30
|
-
code?: string;
|
|
31
|
-
title?: string;
|
|
32
|
-
detail?: string;
|
|
33
|
-
prefix?: string;
|
|
34
|
-
firstName?: string;
|
|
35
|
-
lastName?: string;
|
|
36
|
-
idCard?: string;
|
|
37
|
-
address?: string;
|
|
38
|
-
provinceId?: number;
|
|
39
|
-
phoneNumber?: string;
|
|
40
|
-
email?: string;
|
|
41
|
-
occupation?: string;
|
|
42
|
-
attachments?: object;
|
|
43
|
-
isRequestPostOffice?: number;
|
|
44
|
-
ipAddress?: string;
|
|
45
|
-
status?: number;
|
|
46
|
-
createdBy?: string;
|
|
47
|
-
createdDate?: Date;
|
|
48
|
-
updatedBy?: string;
|
|
49
|
-
updatedDate?: Date;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export { appReportCorruption, type appReportCorruptionAttributes };
|
|
1
|
+
import 'sequelize-typescript';
|
|
2
|
+
export { b as appReportCorruption, a as appReportCorruptionAttributes } from '../../appReportCorruption-CWG66n6V.js';
|
|
@@ -31,8 +31,11 @@ __export(appReportCorruption_exports, {
|
|
|
31
31
|
appReportCorruption: () => appReportCorruption
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(appReportCorruption_exports);
|
|
34
|
+
var import_sequelize_typescript2 = require("sequelize-typescript");
|
|
35
|
+
|
|
36
|
+
// src/databases/tables/appReportCorruptionTransaction.ts
|
|
34
37
|
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
-
var
|
|
38
|
+
var appReportCorruptionTransaction = class extends import_sequelize_typescript.Model {
|
|
36
39
|
};
|
|
37
40
|
__decorateClass([
|
|
38
41
|
(0, import_sequelize_typescript.Column)({
|
|
@@ -40,146 +43,225 @@ __decorateClass([
|
|
|
40
43
|
autoIncrement: true,
|
|
41
44
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
45
|
})
|
|
43
|
-
],
|
|
46
|
+
], appReportCorruptionTransaction.prototype, "id", 2);
|
|
47
|
+
__decorateClass([
|
|
48
|
+
(0, import_sequelize_typescript.ForeignKey)(() => appReportCorruption),
|
|
49
|
+
(0, import_sequelize_typescript.Column)({
|
|
50
|
+
field: "corruption_id",
|
|
51
|
+
allowNull: true,
|
|
52
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
53
|
+
})
|
|
54
|
+
], appReportCorruptionTransaction.prototype, "corruptionId", 2);
|
|
55
|
+
__decorateClass([
|
|
56
|
+
(0, import_sequelize_typescript.Column)({
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
59
|
+
})
|
|
60
|
+
], appReportCorruptionTransaction.prototype, "process", 2);
|
|
61
|
+
__decorateClass([
|
|
62
|
+
(0, import_sequelize_typescript.Column)({
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
65
|
+
})
|
|
66
|
+
], appReportCorruptionTransaction.prototype, "note", 2);
|
|
67
|
+
__decorateClass([
|
|
68
|
+
(0, import_sequelize_typescript.Column)({
|
|
69
|
+
allowNull: true,
|
|
70
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
71
|
+
})
|
|
72
|
+
], appReportCorruptionTransaction.prototype, "status", 2);
|
|
44
73
|
__decorateClass([
|
|
45
74
|
(0, import_sequelize_typescript.Column)({
|
|
75
|
+
field: "created_by",
|
|
46
76
|
allowNull: true,
|
|
47
77
|
type: import_sequelize_typescript.DataType.STRING(60)
|
|
48
78
|
})
|
|
49
|
-
],
|
|
79
|
+
], appReportCorruptionTransaction.prototype, "createdBy", 2);
|
|
50
80
|
__decorateClass([
|
|
51
81
|
(0, import_sequelize_typescript.Column)({
|
|
82
|
+
field: "created_date",
|
|
52
83
|
allowNull: true,
|
|
53
|
-
type: import_sequelize_typescript.DataType.
|
|
84
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
54
85
|
})
|
|
55
|
-
],
|
|
86
|
+
], appReportCorruptionTransaction.prototype, "createdDate", 2);
|
|
56
87
|
__decorateClass([
|
|
57
88
|
(0, import_sequelize_typescript.Column)({
|
|
89
|
+
field: "updated_by",
|
|
58
90
|
allowNull: true,
|
|
59
|
-
type: import_sequelize_typescript.DataType.STRING(
|
|
91
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
60
92
|
})
|
|
61
|
-
],
|
|
93
|
+
], appReportCorruptionTransaction.prototype, "updatedBy", 2);
|
|
62
94
|
__decorateClass([
|
|
63
95
|
(0, import_sequelize_typescript.Column)({
|
|
96
|
+
field: "updated_date",
|
|
64
97
|
allowNull: true,
|
|
65
|
-
type: import_sequelize_typescript.DataType.
|
|
98
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
99
|
+
})
|
|
100
|
+
], appReportCorruptionTransaction.prototype, "updatedDate", 2);
|
|
101
|
+
__decorateClass([
|
|
102
|
+
(0, import_sequelize_typescript.BelongsTo)(() => appReportCorruption)
|
|
103
|
+
], appReportCorruptionTransaction.prototype, "appReportCorruption", 2);
|
|
104
|
+
appReportCorruptionTransaction = __decorateClass([
|
|
105
|
+
(0, import_sequelize_typescript.Table)({
|
|
106
|
+
tableName: "app_report_corruption_transaction",
|
|
107
|
+
timestamps: false
|
|
108
|
+
})
|
|
109
|
+
], appReportCorruptionTransaction);
|
|
110
|
+
|
|
111
|
+
// src/databases/tables/appReportCorruption.ts
|
|
112
|
+
var appReportCorruption = class extends import_sequelize_typescript2.Model {
|
|
113
|
+
};
|
|
114
|
+
__decorateClass([
|
|
115
|
+
(0, import_sequelize_typescript2.Column)({
|
|
116
|
+
primaryKey: true,
|
|
117
|
+
autoIncrement: true,
|
|
118
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
119
|
+
})
|
|
120
|
+
], appReportCorruption.prototype, "id", 2);
|
|
121
|
+
__decorateClass([
|
|
122
|
+
(0, import_sequelize_typescript2.Column)({
|
|
123
|
+
allowNull: true,
|
|
124
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
125
|
+
})
|
|
126
|
+
], appReportCorruption.prototype, "uuid", 2);
|
|
127
|
+
__decorateClass([
|
|
128
|
+
(0, import_sequelize_typescript2.Column)({
|
|
129
|
+
allowNull: true,
|
|
130
|
+
type: import_sequelize_typescript2.DataType.STRING(10)
|
|
131
|
+
})
|
|
132
|
+
], appReportCorruption.prototype, "code", 2);
|
|
133
|
+
__decorateClass([
|
|
134
|
+
(0, import_sequelize_typescript2.Column)({
|
|
135
|
+
allowNull: true,
|
|
136
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
137
|
+
})
|
|
138
|
+
], appReportCorruption.prototype, "title", 2);
|
|
139
|
+
__decorateClass([
|
|
140
|
+
(0, import_sequelize_typescript2.Column)({
|
|
141
|
+
allowNull: true,
|
|
142
|
+
type: import_sequelize_typescript2.DataType.STRING
|
|
66
143
|
})
|
|
67
144
|
], appReportCorruption.prototype, "detail", 2);
|
|
68
145
|
__decorateClass([
|
|
69
|
-
(0,
|
|
146
|
+
(0, import_sequelize_typescript2.Column)({
|
|
70
147
|
allowNull: true,
|
|
71
|
-
type:
|
|
148
|
+
type: import_sequelize_typescript2.DataType.STRING(10)
|
|
72
149
|
})
|
|
73
150
|
], appReportCorruption.prototype, "prefix", 2);
|
|
74
151
|
__decorateClass([
|
|
75
|
-
(0,
|
|
152
|
+
(0, import_sequelize_typescript2.Column)({
|
|
76
153
|
field: "first_name",
|
|
77
154
|
allowNull: true,
|
|
78
|
-
type:
|
|
155
|
+
type: import_sequelize_typescript2.DataType.STRING(100)
|
|
79
156
|
})
|
|
80
157
|
], appReportCorruption.prototype, "firstName", 2);
|
|
81
158
|
__decorateClass([
|
|
82
|
-
(0,
|
|
159
|
+
(0, import_sequelize_typescript2.Column)({
|
|
83
160
|
field: "last_name",
|
|
84
161
|
allowNull: true,
|
|
85
|
-
type:
|
|
162
|
+
type: import_sequelize_typescript2.DataType.STRING(100)
|
|
86
163
|
})
|
|
87
164
|
], appReportCorruption.prototype, "lastName", 2);
|
|
88
165
|
__decorateClass([
|
|
89
|
-
(0,
|
|
166
|
+
(0, import_sequelize_typescript2.Column)({
|
|
90
167
|
field: "id_card",
|
|
91
168
|
allowNull: true,
|
|
92
|
-
type:
|
|
169
|
+
type: import_sequelize_typescript2.DataType.STRING(20)
|
|
93
170
|
})
|
|
94
171
|
], appReportCorruption.prototype, "idCard", 2);
|
|
95
172
|
__decorateClass([
|
|
96
|
-
(0,
|
|
173
|
+
(0, import_sequelize_typescript2.Column)({
|
|
97
174
|
allowNull: true,
|
|
98
|
-
type:
|
|
175
|
+
type: import_sequelize_typescript2.DataType.STRING
|
|
99
176
|
})
|
|
100
177
|
], appReportCorruption.prototype, "address", 2);
|
|
101
178
|
__decorateClass([
|
|
102
|
-
(0,
|
|
179
|
+
(0, import_sequelize_typescript2.Column)({
|
|
103
180
|
field: "province_id",
|
|
104
181
|
allowNull: true,
|
|
105
|
-
type:
|
|
182
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
106
183
|
})
|
|
107
184
|
], appReportCorruption.prototype, "provinceId", 2);
|
|
108
185
|
__decorateClass([
|
|
109
|
-
(0,
|
|
186
|
+
(0, import_sequelize_typescript2.Column)({
|
|
110
187
|
field: "phone_number",
|
|
111
188
|
allowNull: true,
|
|
112
|
-
type:
|
|
189
|
+
type: import_sequelize_typescript2.DataType.STRING(20)
|
|
113
190
|
})
|
|
114
191
|
], appReportCorruption.prototype, "phoneNumber", 2);
|
|
115
192
|
__decorateClass([
|
|
116
|
-
(0,
|
|
193
|
+
(0, import_sequelize_typescript2.Column)({
|
|
117
194
|
allowNull: true,
|
|
118
|
-
type:
|
|
195
|
+
type: import_sequelize_typescript2.DataType.STRING(150)
|
|
119
196
|
})
|
|
120
197
|
], appReportCorruption.prototype, "email", 2);
|
|
121
198
|
__decorateClass([
|
|
122
|
-
(0,
|
|
199
|
+
(0, import_sequelize_typescript2.Column)({
|
|
123
200
|
allowNull: true,
|
|
124
|
-
type:
|
|
201
|
+
type: import_sequelize_typescript2.DataType.STRING(100)
|
|
125
202
|
})
|
|
126
203
|
], appReportCorruption.prototype, "occupation", 2);
|
|
127
204
|
__decorateClass([
|
|
128
|
-
(0,
|
|
205
|
+
(0, import_sequelize_typescript2.Column)({
|
|
129
206
|
allowNull: true,
|
|
130
|
-
type:
|
|
207
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
131
208
|
})
|
|
132
209
|
], appReportCorruption.prototype, "attachments", 2);
|
|
133
210
|
__decorateClass([
|
|
134
|
-
(0,
|
|
211
|
+
(0, import_sequelize_typescript2.Column)({
|
|
135
212
|
field: "is_request_post_office",
|
|
136
213
|
allowNull: true,
|
|
137
|
-
type:
|
|
214
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
138
215
|
})
|
|
139
216
|
], appReportCorruption.prototype, "isRequestPostOffice", 2);
|
|
140
217
|
__decorateClass([
|
|
141
|
-
(0,
|
|
218
|
+
(0, import_sequelize_typescript2.Column)({
|
|
142
219
|
field: "ip_address",
|
|
143
220
|
allowNull: true,
|
|
144
|
-
type:
|
|
221
|
+
type: import_sequelize_typescript2.DataType.STRING(30)
|
|
145
222
|
})
|
|
146
223
|
], appReportCorruption.prototype, "ipAddress", 2);
|
|
147
224
|
__decorateClass([
|
|
148
|
-
(0,
|
|
225
|
+
(0, import_sequelize_typescript2.Column)({
|
|
149
226
|
allowNull: true,
|
|
150
|
-
type:
|
|
227
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
151
228
|
})
|
|
152
229
|
], appReportCorruption.prototype, "status", 2);
|
|
153
230
|
__decorateClass([
|
|
154
|
-
(0,
|
|
231
|
+
(0, import_sequelize_typescript2.Column)({
|
|
155
232
|
field: "created_by",
|
|
156
233
|
allowNull: true,
|
|
157
|
-
type:
|
|
234
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
158
235
|
})
|
|
159
236
|
], appReportCorruption.prototype, "createdBy", 2);
|
|
160
237
|
__decorateClass([
|
|
161
|
-
(0,
|
|
238
|
+
(0, import_sequelize_typescript2.Column)({
|
|
162
239
|
field: "created_date",
|
|
163
240
|
allowNull: true,
|
|
164
|
-
type:
|
|
241
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
165
242
|
})
|
|
166
243
|
], appReportCorruption.prototype, "createdDate", 2);
|
|
167
244
|
__decorateClass([
|
|
168
|
-
(0,
|
|
245
|
+
(0, import_sequelize_typescript2.Column)({
|
|
169
246
|
field: "updated_by",
|
|
170
247
|
allowNull: true,
|
|
171
|
-
type:
|
|
248
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
172
249
|
})
|
|
173
250
|
], appReportCorruption.prototype, "updatedBy", 2);
|
|
174
251
|
__decorateClass([
|
|
175
|
-
(0,
|
|
252
|
+
(0, import_sequelize_typescript2.Column)({
|
|
176
253
|
field: "updated_date",
|
|
177
254
|
allowNull: true,
|
|
178
|
-
type:
|
|
255
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
179
256
|
})
|
|
180
257
|
], appReportCorruption.prototype, "updatedDate", 2);
|
|
258
|
+
__decorateClass([
|
|
259
|
+
(0, import_sequelize_typescript2.HasMany)(() => appReportCorruptionTransaction, {
|
|
260
|
+
sourceKey: "id"
|
|
261
|
+
})
|
|
262
|
+
], appReportCorruption.prototype, "appReportCorruptionTransactions", 2);
|
|
181
263
|
appReportCorruption = __decorateClass([
|
|
182
|
-
(0,
|
|
264
|
+
(0, import_sequelize_typescript2.Table)({
|
|
183
265
|
tableName: "app_report_corruption",
|
|
184
266
|
timestamps: false
|
|
185
267
|
})
|