@admc-go-th/admc-library 1.0.94 → 1.0.96
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/databases/schema/appQueueTour.ts +8 -0
- package/databases/schema/index.ts +1 -0
- package/databases/schema/msProvince.ts +83 -0
- package/databases/tables/appQueueTour.d.ts +2 -0
- package/databases/tables/appQueueTour.js +7 -0
- package/databases/tables/index.d.ts +1 -0
- package/databases/tables/index.js +243 -163
- package/databases/tables/msProvince.d.ts +26 -0
- package/databases/tables/msProvince.js +106 -0
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export interface appQueueTourAttributes {
|
|
|
9
9
|
approveDate?: Date;
|
|
10
10
|
timeSlot?: number;
|
|
11
11
|
organizationType?: number;
|
|
12
|
+
organizationTypeOther?: string;
|
|
12
13
|
organizationName?: string;
|
|
13
14
|
contactPerson?: string;
|
|
14
15
|
phoneNumber?: string;
|
|
@@ -70,6 +71,13 @@ export class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttr
|
|
|
70
71
|
})
|
|
71
72
|
declare organizationType?: number;
|
|
72
73
|
|
|
74
|
+
@Column({
|
|
75
|
+
field: "organization_type_other",
|
|
76
|
+
allowNull: true,
|
|
77
|
+
type: DataType.STRING(255)
|
|
78
|
+
})
|
|
79
|
+
declare organizationTypeOther?: string;
|
|
80
|
+
|
|
73
81
|
@Column({
|
|
74
82
|
field: "organization_name",
|
|
75
83
|
allowNull: true,
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msProvinceAttributes {
|
|
6
|
+
id: number;
|
|
7
|
+
code?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
geoId?: number;
|
|
10
|
+
courtId?: number;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
createdDate?: Date;
|
|
13
|
+
updatedBy?: string;
|
|
14
|
+
updatedDate?: Date;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@Table({
|
|
18
|
+
tableName: "ms_province",
|
|
19
|
+
timestamps: false
|
|
20
|
+
})
|
|
21
|
+
export class msProvince extends Model<msProvinceAttributes, msProvinceAttributes> implements msProvinceAttributes {
|
|
22
|
+
|
|
23
|
+
@Column({
|
|
24
|
+
primaryKey: true,
|
|
25
|
+
type: DataType.INTEGER
|
|
26
|
+
})
|
|
27
|
+
declare id: number;
|
|
28
|
+
|
|
29
|
+
@Column({
|
|
30
|
+
allowNull: true,
|
|
31
|
+
type: DataType.STRING(255)
|
|
32
|
+
})
|
|
33
|
+
declare code?: string;
|
|
34
|
+
|
|
35
|
+
@Column({
|
|
36
|
+
allowNull: true,
|
|
37
|
+
type: DataType.STRING(255)
|
|
38
|
+
})
|
|
39
|
+
declare name?: string;
|
|
40
|
+
|
|
41
|
+
@Column({
|
|
42
|
+
field: "geo_id",
|
|
43
|
+
allowNull: true,
|
|
44
|
+
type: DataType.INTEGER
|
|
45
|
+
})
|
|
46
|
+
declare geoId?: number;
|
|
47
|
+
|
|
48
|
+
@Column({
|
|
49
|
+
field: "court_id",
|
|
50
|
+
allowNull: true,
|
|
51
|
+
type: DataType.INTEGER
|
|
52
|
+
})
|
|
53
|
+
declare courtId?: number;
|
|
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
|
+
}
|
|
@@ -7,6 +7,7 @@ interface appQueueTourAttributes {
|
|
|
7
7
|
approveDate?: Date;
|
|
8
8
|
timeSlot?: number;
|
|
9
9
|
organizationType?: number;
|
|
10
|
+
organizationTypeOther?: string;
|
|
10
11
|
organizationName?: string;
|
|
11
12
|
contactPerson?: string;
|
|
12
13
|
phoneNumber?: string;
|
|
@@ -27,6 +28,7 @@ declare class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAtt
|
|
|
27
28
|
approveDate?: Date;
|
|
28
29
|
timeSlot?: number;
|
|
29
30
|
organizationType?: number;
|
|
31
|
+
organizationTypeOther?: string;
|
|
30
32
|
organizationName?: string;
|
|
31
33
|
contactPerson?: string;
|
|
32
34
|
phoneNumber?: string;
|
|
@@ -75,6 +75,13 @@ __decorateClass([
|
|
|
75
75
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
76
76
|
})
|
|
77
77
|
], appQueueTour.prototype, "organizationType", 2);
|
|
78
|
+
__decorateClass([
|
|
79
|
+
(0, import_sequelize_typescript.Column)({
|
|
80
|
+
field: "organization_type_other",
|
|
81
|
+
allowNull: true,
|
|
82
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
83
|
+
})
|
|
84
|
+
], appQueueTour.prototype, "organizationTypeOther", 2);
|
|
78
85
|
__decorateClass([
|
|
79
86
|
(0, import_sequelize_typescript.Column)({
|
|
80
87
|
field: "organization_name",
|
|
@@ -24,6 +24,7 @@ export { mdSetting, mdSettingAttributes } from './mdSetting.js';
|
|
|
24
24
|
export { a as mdTranslate, m as mdTranslateAttributes, c as mdTranslateGroup, b as mdTranslateGroupAttributes } from '../../mdTranslate-OuC5tJKe.js';
|
|
25
25
|
export { mdWords, mdWordsAttributes } from './mdWords.js';
|
|
26
26
|
export { member, memberAttributes } from './member.js';
|
|
27
|
+
export { msProvince, msProvinceAttributes } from './msProvince.js';
|
|
27
28
|
export { oauthAccessToken, oauthAccessTokenAttributes } from './oauthAccessToken.js';
|
|
28
29
|
export { oauthRefreshToken, oauthRefreshTokenAttributes } from './oauthRefreshToken.js';
|
|
29
30
|
export { a as recruitment, r as recruitmentAttributes, c as recruitmentGroup, b as recruitmentGroupAttributes } from '../../recruitment-DmJeINPg.js';
|
|
@@ -72,6 +72,7 @@ __export(tables_exports, {
|
|
|
72
72
|
member: () => member,
|
|
73
73
|
menu: () => menu,
|
|
74
74
|
msModule: () => msModule,
|
|
75
|
+
msProvince: () => msProvince,
|
|
75
76
|
oauthAccessToken: () => oauthAccessToken,
|
|
76
77
|
oauthRefreshToken: () => oauthRefreshToken,
|
|
77
78
|
recruitment: () => recruitment,
|
|
@@ -576,6 +577,13 @@ __decorateClass([
|
|
|
576
577
|
type: import_sequelize_typescript5.DataType.INTEGER
|
|
577
578
|
})
|
|
578
579
|
], appQueueTour.prototype, "organizationType", 2);
|
|
580
|
+
__decorateClass([
|
|
581
|
+
(0, import_sequelize_typescript5.Column)({
|
|
582
|
+
field: "organization_type_other",
|
|
583
|
+
allowNull: true,
|
|
584
|
+
type: import_sequelize_typescript5.DataType.STRING(255)
|
|
585
|
+
})
|
|
586
|
+
], appQueueTour.prototype, "organizationTypeOther", 2);
|
|
579
587
|
__decorateClass([
|
|
580
588
|
(0, import_sequelize_typescript5.Column)({
|
|
581
589
|
field: "organization_name",
|
|
@@ -5340,65 +5348,80 @@ member = __decorateClass([
|
|
|
5340
5348
|
})
|
|
5341
5349
|
], member);
|
|
5342
5350
|
|
|
5343
|
-
// src/databases/tables/
|
|
5351
|
+
// src/databases/tables/msProvince.ts
|
|
5344
5352
|
var import_sequelize_typescript47 = require("sequelize-typescript");
|
|
5345
|
-
var
|
|
5353
|
+
var msProvince = class extends import_sequelize_typescript47.Model {
|
|
5346
5354
|
};
|
|
5347
5355
|
__decorateClass([
|
|
5348
5356
|
(0, import_sequelize_typescript47.Column)({
|
|
5349
5357
|
primaryKey: true,
|
|
5350
|
-
autoIncrement: true,
|
|
5351
5358
|
type: import_sequelize_typescript47.DataType.INTEGER
|
|
5352
5359
|
})
|
|
5353
|
-
],
|
|
5360
|
+
], msProvince.prototype, "id", 2);
|
|
5354
5361
|
__decorateClass([
|
|
5355
5362
|
(0, import_sequelize_typescript47.Column)({
|
|
5356
|
-
|
|
5357
|
-
type: import_sequelize_typescript47.DataType.STRING
|
|
5363
|
+
allowNull: true,
|
|
5364
|
+
type: import_sequelize_typescript47.DataType.STRING(255)
|
|
5358
5365
|
})
|
|
5359
|
-
],
|
|
5366
|
+
], msProvince.prototype, "code", 2);
|
|
5360
5367
|
__decorateClass([
|
|
5361
5368
|
(0, import_sequelize_typescript47.Column)({
|
|
5362
|
-
|
|
5363
|
-
type: import_sequelize_typescript47.DataType.STRING(
|
|
5369
|
+
allowNull: true,
|
|
5370
|
+
type: import_sequelize_typescript47.DataType.STRING(255)
|
|
5364
5371
|
})
|
|
5365
|
-
],
|
|
5372
|
+
], msProvince.prototype, "name", 2);
|
|
5366
5373
|
__decorateClass([
|
|
5367
5374
|
(0, import_sequelize_typescript47.Column)({
|
|
5368
|
-
field: "
|
|
5375
|
+
field: "geo_id",
|
|
5369
5376
|
allowNull: true,
|
|
5370
5377
|
type: import_sequelize_typescript47.DataType.INTEGER
|
|
5371
5378
|
})
|
|
5372
|
-
],
|
|
5379
|
+
], msProvince.prototype, "geoId", 2);
|
|
5373
5380
|
__decorateClass([
|
|
5374
5381
|
(0, import_sequelize_typescript47.Column)({
|
|
5375
|
-
|
|
5376
|
-
|
|
5382
|
+
field: "court_id",
|
|
5383
|
+
allowNull: true,
|
|
5384
|
+
type: import_sequelize_typescript47.DataType.INTEGER
|
|
5377
5385
|
})
|
|
5378
|
-
],
|
|
5386
|
+
], msProvince.prototype, "courtId", 2);
|
|
5379
5387
|
__decorateClass([
|
|
5380
5388
|
(0, import_sequelize_typescript47.Column)({
|
|
5389
|
+
field: "created_by",
|
|
5381
5390
|
allowNull: true,
|
|
5382
|
-
type: import_sequelize_typescript47.DataType.STRING(
|
|
5391
|
+
type: import_sequelize_typescript47.DataType.STRING(60)
|
|
5383
5392
|
})
|
|
5384
|
-
],
|
|
5393
|
+
], msProvince.prototype, "createdBy", 2);
|
|
5385
5394
|
__decorateClass([
|
|
5386
5395
|
(0, import_sequelize_typescript47.Column)({
|
|
5387
5396
|
field: "created_date",
|
|
5388
|
-
|
|
5389
|
-
|
|
5397
|
+
allowNull: true,
|
|
5398
|
+
type: import_sequelize_typescript47.DataType.DATE
|
|
5390
5399
|
})
|
|
5391
|
-
],
|
|
5392
|
-
|
|
5400
|
+
], msProvince.prototype, "createdDate", 2);
|
|
5401
|
+
__decorateClass([
|
|
5402
|
+
(0, import_sequelize_typescript47.Column)({
|
|
5403
|
+
field: "updated_by",
|
|
5404
|
+
allowNull: true,
|
|
5405
|
+
type: import_sequelize_typescript47.DataType.STRING(60)
|
|
5406
|
+
})
|
|
5407
|
+
], msProvince.prototype, "updatedBy", 2);
|
|
5408
|
+
__decorateClass([
|
|
5409
|
+
(0, import_sequelize_typescript47.Column)({
|
|
5410
|
+
field: "updated_date",
|
|
5411
|
+
allowNull: true,
|
|
5412
|
+
type: import_sequelize_typescript47.DataType.DATE
|
|
5413
|
+
})
|
|
5414
|
+
], msProvince.prototype, "updatedDate", 2);
|
|
5415
|
+
msProvince = __decorateClass([
|
|
5393
5416
|
(0, import_sequelize_typescript47.Table)({
|
|
5394
|
-
tableName: "
|
|
5417
|
+
tableName: "ms_province",
|
|
5395
5418
|
timestamps: false
|
|
5396
5419
|
})
|
|
5397
|
-
],
|
|
5420
|
+
], msProvince);
|
|
5398
5421
|
|
|
5399
|
-
// src/databases/tables/
|
|
5422
|
+
// src/databases/tables/oauthAccessToken.ts
|
|
5400
5423
|
var import_sequelize_typescript48 = require("sequelize-typescript");
|
|
5401
|
-
var
|
|
5424
|
+
var oauthAccessToken = class extends import_sequelize_typescript48.Model {
|
|
5402
5425
|
};
|
|
5403
5426
|
__decorateClass([
|
|
5404
5427
|
(0, import_sequelize_typescript48.Column)({
|
|
@@ -5406,439 +5429,495 @@ __decorateClass([
|
|
|
5406
5429
|
autoIncrement: true,
|
|
5407
5430
|
type: import_sequelize_typescript48.DataType.INTEGER
|
|
5408
5431
|
})
|
|
5409
|
-
],
|
|
5432
|
+
], oauthAccessToken.prototype, "id", 2);
|
|
5410
5433
|
__decorateClass([
|
|
5411
5434
|
(0, import_sequelize_typescript48.Column)({
|
|
5412
|
-
field: "
|
|
5413
|
-
type: import_sequelize_typescript48.DataType.STRING
|
|
5435
|
+
field: "access_token",
|
|
5436
|
+
type: import_sequelize_typescript48.DataType.STRING
|
|
5414
5437
|
})
|
|
5415
|
-
],
|
|
5438
|
+
], oauthAccessToken.prototype, "accessToken", 2);
|
|
5416
5439
|
__decorateClass([
|
|
5417
5440
|
(0, import_sequelize_typescript48.Column)({
|
|
5418
5441
|
field: "client_id",
|
|
5419
5442
|
type: import_sequelize_typescript48.DataType.STRING(32)
|
|
5420
5443
|
})
|
|
5421
|
-
],
|
|
5444
|
+
], oauthAccessToken.prototype, "clientId", 2);
|
|
5422
5445
|
__decorateClass([
|
|
5423
5446
|
(0, import_sequelize_typescript48.Column)({
|
|
5424
5447
|
field: "user_id",
|
|
5425
5448
|
allowNull: true,
|
|
5426
5449
|
type: import_sequelize_typescript48.DataType.INTEGER
|
|
5427
5450
|
})
|
|
5428
|
-
],
|
|
5451
|
+
], oauthAccessToken.prototype, "userId", 2);
|
|
5429
5452
|
__decorateClass([
|
|
5430
5453
|
(0, import_sequelize_typescript48.Column)({
|
|
5431
5454
|
type: import_sequelize_typescript48.DataType.DATE,
|
|
5432
5455
|
defaultValue: import_sequelize_typescript48.DataType.NOW
|
|
5433
5456
|
})
|
|
5434
|
-
],
|
|
5457
|
+
], oauthAccessToken.prototype, "expires", 2);
|
|
5435
5458
|
__decorateClass([
|
|
5436
5459
|
(0, import_sequelize_typescript48.Column)({
|
|
5437
5460
|
allowNull: true,
|
|
5438
|
-
type: import_sequelize_typescript48.DataType.STRING(
|
|
5461
|
+
type: import_sequelize_typescript48.DataType.STRING(2e3)
|
|
5439
5462
|
})
|
|
5440
|
-
],
|
|
5463
|
+
], oauthAccessToken.prototype, "scope", 2);
|
|
5441
5464
|
__decorateClass([
|
|
5442
5465
|
(0, import_sequelize_typescript48.Column)({
|
|
5443
5466
|
field: "created_date",
|
|
5444
5467
|
type: import_sequelize_typescript48.DataType.DATE,
|
|
5445
5468
|
defaultValue: import_sequelize_typescript48.DataType.NOW
|
|
5446
5469
|
})
|
|
5470
|
+
], oauthAccessToken.prototype, "createdDate", 2);
|
|
5471
|
+
oauthAccessToken = __decorateClass([
|
|
5472
|
+
(0, import_sequelize_typescript48.Table)({
|
|
5473
|
+
tableName: "oauth_access_token",
|
|
5474
|
+
timestamps: false
|
|
5475
|
+
})
|
|
5476
|
+
], oauthAccessToken);
|
|
5477
|
+
|
|
5478
|
+
// src/databases/tables/oauthRefreshToken.ts
|
|
5479
|
+
var import_sequelize_typescript49 = require("sequelize-typescript");
|
|
5480
|
+
var oauthRefreshToken = class extends import_sequelize_typescript49.Model {
|
|
5481
|
+
};
|
|
5482
|
+
__decorateClass([
|
|
5483
|
+
(0, import_sequelize_typescript49.Column)({
|
|
5484
|
+
primaryKey: true,
|
|
5485
|
+
autoIncrement: true,
|
|
5486
|
+
type: import_sequelize_typescript49.DataType.INTEGER
|
|
5487
|
+
})
|
|
5488
|
+
], oauthRefreshToken.prototype, "id", 2);
|
|
5489
|
+
__decorateClass([
|
|
5490
|
+
(0, import_sequelize_typescript49.Column)({
|
|
5491
|
+
field: "refresh_token",
|
|
5492
|
+
type: import_sequelize_typescript49.DataType.STRING(1e3)
|
|
5493
|
+
})
|
|
5494
|
+
], oauthRefreshToken.prototype, "refreshToken", 2);
|
|
5495
|
+
__decorateClass([
|
|
5496
|
+
(0, import_sequelize_typescript49.Column)({
|
|
5497
|
+
field: "client_id",
|
|
5498
|
+
type: import_sequelize_typescript49.DataType.STRING(32)
|
|
5499
|
+
})
|
|
5500
|
+
], oauthRefreshToken.prototype, "clientId", 2);
|
|
5501
|
+
__decorateClass([
|
|
5502
|
+
(0, import_sequelize_typescript49.Column)({
|
|
5503
|
+
field: "user_id",
|
|
5504
|
+
allowNull: true,
|
|
5505
|
+
type: import_sequelize_typescript49.DataType.INTEGER
|
|
5506
|
+
})
|
|
5507
|
+
], oauthRefreshToken.prototype, "userId", 2);
|
|
5508
|
+
__decorateClass([
|
|
5509
|
+
(0, import_sequelize_typescript49.Column)({
|
|
5510
|
+
type: import_sequelize_typescript49.DataType.DATE,
|
|
5511
|
+
defaultValue: import_sequelize_typescript49.DataType.NOW
|
|
5512
|
+
})
|
|
5513
|
+
], oauthRefreshToken.prototype, "expires", 2);
|
|
5514
|
+
__decorateClass([
|
|
5515
|
+
(0, import_sequelize_typescript49.Column)({
|
|
5516
|
+
allowNull: true,
|
|
5517
|
+
type: import_sequelize_typescript49.DataType.STRING(1e3)
|
|
5518
|
+
})
|
|
5519
|
+
], oauthRefreshToken.prototype, "scope", 2);
|
|
5520
|
+
__decorateClass([
|
|
5521
|
+
(0, import_sequelize_typescript49.Column)({
|
|
5522
|
+
field: "created_date",
|
|
5523
|
+
type: import_sequelize_typescript49.DataType.DATE,
|
|
5524
|
+
defaultValue: import_sequelize_typescript49.DataType.NOW
|
|
5525
|
+
})
|
|
5447
5526
|
], oauthRefreshToken.prototype, "createdDate", 2);
|
|
5448
5527
|
oauthRefreshToken = __decorateClass([
|
|
5449
|
-
(0,
|
|
5528
|
+
(0, import_sequelize_typescript49.Table)({
|
|
5450
5529
|
tableName: "oauth_refresh_token",
|
|
5451
5530
|
timestamps: false
|
|
5452
5531
|
})
|
|
5453
5532
|
], oauthRefreshToken);
|
|
5454
5533
|
|
|
5455
5534
|
// src/databases/tables/recruitment.ts
|
|
5456
|
-
var
|
|
5535
|
+
var import_sequelize_typescript51 = require("sequelize-typescript");
|
|
5457
5536
|
|
|
5458
5537
|
// src/databases/tables/recruitmentGroup.ts
|
|
5459
|
-
var
|
|
5460
|
-
var recruitmentGroup = class extends
|
|
5538
|
+
var import_sequelize_typescript50 = require("sequelize-typescript");
|
|
5539
|
+
var recruitmentGroup = class extends import_sequelize_typescript50.Model {
|
|
5461
5540
|
};
|
|
5462
5541
|
__decorateClass([
|
|
5463
|
-
(0,
|
|
5542
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5464
5543
|
primaryKey: true,
|
|
5465
5544
|
autoIncrement: true,
|
|
5466
|
-
type:
|
|
5545
|
+
type: import_sequelize_typescript50.DataType.INTEGER
|
|
5467
5546
|
})
|
|
5468
5547
|
], recruitmentGroup.prototype, "id", 2);
|
|
5469
5548
|
__decorateClass([
|
|
5470
|
-
(0,
|
|
5549
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5471
5550
|
allowNull: true,
|
|
5472
|
-
type:
|
|
5551
|
+
type: import_sequelize_typescript50.DataType.STRING(60)
|
|
5473
5552
|
})
|
|
5474
5553
|
], recruitmentGroup.prototype, "uuid", 2);
|
|
5475
5554
|
__decorateClass([
|
|
5476
|
-
(0,
|
|
5555
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5477
5556
|
field: "user_id",
|
|
5478
5557
|
allowNull: true,
|
|
5479
|
-
type:
|
|
5558
|
+
type: import_sequelize_typescript50.DataType.INTEGER
|
|
5480
5559
|
})
|
|
5481
5560
|
], recruitmentGroup.prototype, "userId", 2);
|
|
5482
5561
|
__decorateClass([
|
|
5483
|
-
(0,
|
|
5484
|
-
type:
|
|
5562
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5563
|
+
type: import_sequelize_typescript50.DataType.STRING(255)
|
|
5485
5564
|
})
|
|
5486
5565
|
], recruitmentGroup.prototype, "name", 2);
|
|
5487
5566
|
__decorateClass([
|
|
5488
|
-
(0,
|
|
5567
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5489
5568
|
allowNull: true,
|
|
5490
|
-
type:
|
|
5569
|
+
type: import_sequelize_typescript50.DataType.STRING(255)
|
|
5491
5570
|
})
|
|
5492
5571
|
], recruitmentGroup.prototype, "description", 2);
|
|
5493
5572
|
__decorateClass([
|
|
5494
|
-
(0,
|
|
5573
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5495
5574
|
allowNull: true,
|
|
5496
|
-
type:
|
|
5575
|
+
type: import_sequelize_typescript50.DataType.INTEGER
|
|
5497
5576
|
})
|
|
5498
5577
|
], recruitmentGroup.prototype, "sort", 2);
|
|
5499
5578
|
__decorateClass([
|
|
5500
|
-
(0,
|
|
5579
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5501
5580
|
allowNull: true,
|
|
5502
|
-
type:
|
|
5581
|
+
type: import_sequelize_typescript50.DataType.INTEGER
|
|
5503
5582
|
})
|
|
5504
5583
|
], recruitmentGroup.prototype, "status", 2);
|
|
5505
5584
|
__decorateClass([
|
|
5506
|
-
(0,
|
|
5585
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5507
5586
|
field: "created_by",
|
|
5508
5587
|
allowNull: true,
|
|
5509
|
-
type:
|
|
5588
|
+
type: import_sequelize_typescript50.DataType.STRING(60)
|
|
5510
5589
|
})
|
|
5511
5590
|
], recruitmentGroup.prototype, "createdBy", 2);
|
|
5512
5591
|
__decorateClass([
|
|
5513
|
-
(0,
|
|
5592
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5514
5593
|
field: "created_date",
|
|
5515
5594
|
allowNull: true,
|
|
5516
|
-
type:
|
|
5595
|
+
type: import_sequelize_typescript50.DataType.DATE
|
|
5517
5596
|
})
|
|
5518
5597
|
], recruitmentGroup.prototype, "createdDate", 2);
|
|
5519
5598
|
__decorateClass([
|
|
5520
|
-
(0,
|
|
5599
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5521
5600
|
field: "updated_by",
|
|
5522
5601
|
allowNull: true,
|
|
5523
|
-
type:
|
|
5602
|
+
type: import_sequelize_typescript50.DataType.STRING(60)
|
|
5524
5603
|
})
|
|
5525
5604
|
], recruitmentGroup.prototype, "updatedBy", 2);
|
|
5526
5605
|
__decorateClass([
|
|
5527
|
-
(0,
|
|
5606
|
+
(0, import_sequelize_typescript50.Column)({
|
|
5528
5607
|
field: "updated_date",
|
|
5529
5608
|
allowNull: true,
|
|
5530
|
-
type:
|
|
5609
|
+
type: import_sequelize_typescript50.DataType.DATE
|
|
5531
5610
|
})
|
|
5532
5611
|
], recruitmentGroup.prototype, "updatedDate", 2);
|
|
5533
5612
|
__decorateClass([
|
|
5534
|
-
(0,
|
|
5613
|
+
(0, import_sequelize_typescript50.HasMany)(() => recruitment, {
|
|
5535
5614
|
sourceKey: "id"
|
|
5536
5615
|
})
|
|
5537
5616
|
], recruitmentGroup.prototype, "recruitments", 2);
|
|
5538
5617
|
recruitmentGroup = __decorateClass([
|
|
5539
|
-
(0,
|
|
5618
|
+
(0, import_sequelize_typescript50.Table)({
|
|
5540
5619
|
tableName: "recruitment_group",
|
|
5541
5620
|
timestamps: false
|
|
5542
5621
|
})
|
|
5543
5622
|
], recruitmentGroup);
|
|
5544
5623
|
|
|
5545
5624
|
// src/databases/tables/recruitment.ts
|
|
5546
|
-
var recruitment = class extends
|
|
5625
|
+
var recruitment = class extends import_sequelize_typescript51.Model {
|
|
5547
5626
|
};
|
|
5548
5627
|
__decorateClass([
|
|
5549
|
-
(0,
|
|
5628
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5550
5629
|
primaryKey: true,
|
|
5551
5630
|
autoIncrement: true,
|
|
5552
|
-
type:
|
|
5631
|
+
type: import_sequelize_typescript51.DataType.INTEGER
|
|
5553
5632
|
})
|
|
5554
5633
|
], recruitment.prototype, "id", 2);
|
|
5555
5634
|
__decorateClass([
|
|
5556
|
-
(0,
|
|
5635
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5557
5636
|
allowNull: true,
|
|
5558
|
-
type:
|
|
5637
|
+
type: import_sequelize_typescript51.DataType.STRING(60)
|
|
5559
5638
|
})
|
|
5560
5639
|
], recruitment.prototype, "uuid", 2);
|
|
5561
5640
|
__decorateClass([
|
|
5562
|
-
(0,
|
|
5563
|
-
(0,
|
|
5641
|
+
(0, import_sequelize_typescript51.ForeignKey)(() => recruitmentGroup),
|
|
5642
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5564
5643
|
field: "group_id",
|
|
5565
5644
|
allowNull: true,
|
|
5566
|
-
type:
|
|
5645
|
+
type: import_sequelize_typescript51.DataType.INTEGER
|
|
5567
5646
|
})
|
|
5568
5647
|
], recruitment.prototype, "groupId", 2);
|
|
5569
5648
|
__decorateClass([
|
|
5570
|
-
(0,
|
|
5649
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5571
5650
|
field: "position_name",
|
|
5572
5651
|
allowNull: true,
|
|
5573
|
-
type:
|
|
5652
|
+
type: import_sequelize_typescript51.DataType.STRING(255)
|
|
5574
5653
|
})
|
|
5575
5654
|
], recruitment.prototype, "positionName", 2);
|
|
5576
5655
|
__decorateClass([
|
|
5577
|
-
(0,
|
|
5656
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5578
5657
|
field: "account_listed",
|
|
5579
5658
|
allowNull: true,
|
|
5580
|
-
type:
|
|
5659
|
+
type: import_sequelize_typescript51.DataType.INTEGER
|
|
5581
5660
|
})
|
|
5582
5661
|
], recruitment.prototype, "accountListed", 2);
|
|
5583
5662
|
__decorateClass([
|
|
5584
|
-
(0,
|
|
5663
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5585
5664
|
field: "account_age",
|
|
5586
5665
|
allowNull: true,
|
|
5587
|
-
type:
|
|
5666
|
+
type: import_sequelize_typescript51.DataType.INTEGER
|
|
5588
5667
|
})
|
|
5589
5668
|
], recruitment.prototype, "accountAge", 2);
|
|
5590
5669
|
__decorateClass([
|
|
5591
|
-
(0,
|
|
5670
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5592
5671
|
field: "account_expires",
|
|
5593
5672
|
allowNull: true,
|
|
5594
|
-
type:
|
|
5673
|
+
type: import_sequelize_typescript51.DataType.DATEONLY
|
|
5595
5674
|
})
|
|
5596
5675
|
], recruitment.prototype, "accountExpires", 2);
|
|
5597
5676
|
__decorateClass([
|
|
5598
|
-
(0,
|
|
5677
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5599
5678
|
field: "called_position",
|
|
5600
5679
|
allowNull: true,
|
|
5601
|
-
type:
|
|
5680
|
+
type: import_sequelize_typescript51.DataType.INTEGER
|
|
5602
5681
|
})
|
|
5603
5682
|
], recruitment.prototype, "calledPosition", 2);
|
|
5604
5683
|
__decorateClass([
|
|
5605
|
-
(0,
|
|
5684
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5606
5685
|
allowNull: true,
|
|
5607
|
-
type:
|
|
5686
|
+
type: import_sequelize_typescript51.DataType.INTEGER
|
|
5608
5687
|
})
|
|
5609
5688
|
], recruitment.prototype, "status", 2);
|
|
5610
5689
|
__decorateClass([
|
|
5611
|
-
(0,
|
|
5690
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5612
5691
|
field: "created_by",
|
|
5613
5692
|
allowNull: true,
|
|
5614
|
-
type:
|
|
5693
|
+
type: import_sequelize_typescript51.DataType.STRING(60)
|
|
5615
5694
|
})
|
|
5616
5695
|
], recruitment.prototype, "createdBy", 2);
|
|
5617
5696
|
__decorateClass([
|
|
5618
|
-
(0,
|
|
5697
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5619
5698
|
field: "created_date",
|
|
5620
5699
|
allowNull: true,
|
|
5621
|
-
type:
|
|
5700
|
+
type: import_sequelize_typescript51.DataType.DATE
|
|
5622
5701
|
})
|
|
5623
5702
|
], recruitment.prototype, "createdDate", 2);
|
|
5624
5703
|
__decorateClass([
|
|
5625
|
-
(0,
|
|
5704
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5626
5705
|
field: "updated_by",
|
|
5627
5706
|
allowNull: true,
|
|
5628
|
-
type:
|
|
5707
|
+
type: import_sequelize_typescript51.DataType.STRING(60)
|
|
5629
5708
|
})
|
|
5630
5709
|
], recruitment.prototype, "updatedBy", 2);
|
|
5631
5710
|
__decorateClass([
|
|
5632
|
-
(0,
|
|
5711
|
+
(0, import_sequelize_typescript51.Column)({
|
|
5633
5712
|
field: "updated_date",
|
|
5634
5713
|
allowNull: true,
|
|
5635
|
-
type:
|
|
5714
|
+
type: import_sequelize_typescript51.DataType.DATE
|
|
5636
5715
|
})
|
|
5637
5716
|
], recruitment.prototype, "updatedDate", 2);
|
|
5638
5717
|
__decorateClass([
|
|
5639
|
-
(0,
|
|
5718
|
+
(0, import_sequelize_typescript51.BelongsTo)(() => recruitmentGroup)
|
|
5640
5719
|
], recruitment.prototype, "recruitmentGroup", 2);
|
|
5641
5720
|
recruitment = __decorateClass([
|
|
5642
|
-
(0,
|
|
5721
|
+
(0, import_sequelize_typescript51.Table)({
|
|
5643
5722
|
tableName: "recruitment",
|
|
5644
5723
|
timestamps: false
|
|
5645
5724
|
})
|
|
5646
5725
|
], recruitment);
|
|
5647
5726
|
|
|
5648
5727
|
// src/databases/tables/settings.ts
|
|
5649
|
-
var
|
|
5650
|
-
var settings = class extends
|
|
5728
|
+
var import_sequelize_typescript52 = require("sequelize-typescript");
|
|
5729
|
+
var settings = class extends import_sequelize_typescript52.Model {
|
|
5651
5730
|
};
|
|
5652
5731
|
__decorateClass([
|
|
5653
|
-
(0,
|
|
5732
|
+
(0, import_sequelize_typescript52.Column)({
|
|
5654
5733
|
primaryKey: true,
|
|
5655
5734
|
autoIncrement: true,
|
|
5656
|
-
type:
|
|
5735
|
+
type: import_sequelize_typescript52.DataType.INTEGER
|
|
5657
5736
|
})
|
|
5658
5737
|
], settings.prototype, "id", 2);
|
|
5659
5738
|
__decorateClass([
|
|
5660
|
-
(0,
|
|
5739
|
+
(0, import_sequelize_typescript52.Column)({
|
|
5661
5740
|
allowNull: true,
|
|
5662
|
-
type:
|
|
5741
|
+
type: import_sequelize_typescript52.DataType.STRING(255)
|
|
5663
5742
|
})
|
|
5664
5743
|
], settings.prototype, "key", 2);
|
|
5665
5744
|
__decorateClass([
|
|
5666
|
-
(0,
|
|
5745
|
+
(0, import_sequelize_typescript52.Column)({
|
|
5667
5746
|
allowNull: true,
|
|
5668
|
-
type:
|
|
5747
|
+
type: import_sequelize_typescript52.DataType.STRING
|
|
5669
5748
|
})
|
|
5670
5749
|
], settings.prototype, "value", 2);
|
|
5671
5750
|
__decorateClass([
|
|
5672
|
-
(0,
|
|
5751
|
+
(0, import_sequelize_typescript52.Column)({
|
|
5673
5752
|
allowNull: true,
|
|
5674
|
-
type:
|
|
5753
|
+
type: import_sequelize_typescript52.DataType.JSON
|
|
5675
5754
|
})
|
|
5676
5755
|
], settings.prototype, "data", 2);
|
|
5677
5756
|
__decorateClass([
|
|
5678
|
-
(0,
|
|
5757
|
+
(0, import_sequelize_typescript52.Column)({
|
|
5679
5758
|
field: "updated_by",
|
|
5680
5759
|
allowNull: true,
|
|
5681
|
-
type:
|
|
5760
|
+
type: import_sequelize_typescript52.DataType.STRING(60)
|
|
5682
5761
|
})
|
|
5683
5762
|
], settings.prototype, "updatedBy", 2);
|
|
5684
5763
|
__decorateClass([
|
|
5685
|
-
(0,
|
|
5764
|
+
(0, import_sequelize_typescript52.Column)({
|
|
5686
5765
|
field: "updated_date",
|
|
5687
5766
|
allowNull: true,
|
|
5688
|
-
type:
|
|
5767
|
+
type: import_sequelize_typescript52.DataType.DATE
|
|
5689
5768
|
})
|
|
5690
5769
|
], settings.prototype, "updatedDate", 2);
|
|
5691
5770
|
settings = __decorateClass([
|
|
5692
|
-
(0,
|
|
5771
|
+
(0, import_sequelize_typescript52.Table)({
|
|
5693
5772
|
tableName: "settings",
|
|
5694
5773
|
timestamps: false
|
|
5695
5774
|
})
|
|
5696
5775
|
], settings);
|
|
5697
5776
|
|
|
5698
5777
|
// src/databases/tables/userCenterV.ts
|
|
5699
|
-
var
|
|
5700
|
-
var userCenterV = class extends
|
|
5778
|
+
var import_sequelize_typescript53 = require("sequelize-typescript");
|
|
5779
|
+
var userCenterV = class extends import_sequelize_typescript53.Model {
|
|
5701
5780
|
};
|
|
5702
5781
|
__decorateClass([
|
|
5703
|
-
(0,
|
|
5704
|
-
type:
|
|
5782
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5783
|
+
type: import_sequelize_typescript53.DataType.INTEGER,
|
|
5705
5784
|
defaultValue: "0"
|
|
5706
5785
|
})
|
|
5707
5786
|
], userCenterV.prototype, "id", 2);
|
|
5708
5787
|
__decorateClass([
|
|
5709
|
-
(0,
|
|
5710
|
-
type:
|
|
5788
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5789
|
+
type: import_sequelize_typescript53.DataType.STRING(60)
|
|
5711
5790
|
})
|
|
5712
5791
|
], userCenterV.prototype, "uuid", 2);
|
|
5713
5792
|
__decorateClass([
|
|
5714
|
-
(0,
|
|
5715
|
-
type:
|
|
5793
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5794
|
+
type: import_sequelize_typescript53.DataType.STRING(100)
|
|
5716
5795
|
})
|
|
5717
5796
|
], userCenterV.prototype, "username", 2);
|
|
5718
5797
|
__decorateClass([
|
|
5719
|
-
(0,
|
|
5798
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5720
5799
|
field: "password_hash",
|
|
5721
5800
|
allowNull: true,
|
|
5722
|
-
type:
|
|
5801
|
+
type: import_sequelize_typescript53.DataType.STRING(255)
|
|
5723
5802
|
})
|
|
5724
5803
|
], userCenterV.prototype, "passwordHash", 2);
|
|
5725
5804
|
__decorateClass([
|
|
5726
|
-
(0,
|
|
5805
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5727
5806
|
field: "password_reset_token",
|
|
5728
5807
|
allowNull: true,
|
|
5729
|
-
type:
|
|
5808
|
+
type: import_sequelize_typescript53.DataType.STRING(255)
|
|
5730
5809
|
})
|
|
5731
5810
|
], userCenterV.prototype, "passwordResetToken", 2);
|
|
5732
5811
|
__decorateClass([
|
|
5733
|
-
(0,
|
|
5812
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5734
5813
|
field: "verification_token",
|
|
5735
5814
|
allowNull: true,
|
|
5736
|
-
type:
|
|
5815
|
+
type: import_sequelize_typescript53.DataType.STRING(255)
|
|
5737
5816
|
})
|
|
5738
5817
|
], userCenterV.prototype, "verificationToken", 2);
|
|
5739
5818
|
__decorateClass([
|
|
5740
|
-
(0,
|
|
5819
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5741
5820
|
allowNull: true,
|
|
5742
|
-
type:
|
|
5821
|
+
type: import_sequelize_typescript53.DataType.STRING(255)
|
|
5743
5822
|
})
|
|
5744
5823
|
], userCenterV.prototype, "email", 2);
|
|
5745
5824
|
__decorateClass([
|
|
5746
|
-
(0,
|
|
5825
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5747
5826
|
field: "auth_key",
|
|
5748
5827
|
allowNull: true,
|
|
5749
|
-
type:
|
|
5828
|
+
type: import_sequelize_typescript53.DataType.STRING(32)
|
|
5750
5829
|
})
|
|
5751
5830
|
], userCenterV.prototype, "authKey", 2);
|
|
5752
5831
|
__decorateClass([
|
|
5753
|
-
(0,
|
|
5832
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5754
5833
|
field: "access_token",
|
|
5755
5834
|
allowNull: true,
|
|
5756
|
-
type:
|
|
5835
|
+
type: import_sequelize_typescript53.DataType.STRING
|
|
5757
5836
|
})
|
|
5758
5837
|
], userCenterV.prototype, "accessToken", 2);
|
|
5759
5838
|
__decorateClass([
|
|
5760
|
-
(0,
|
|
5839
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5761
5840
|
field: "user_level",
|
|
5762
5841
|
allowNull: true,
|
|
5763
|
-
type:
|
|
5842
|
+
type: import_sequelize_typescript53.DataType.INTEGER
|
|
5764
5843
|
})
|
|
5765
5844
|
], userCenterV.prototype, "userLevel", 2);
|
|
5766
5845
|
__decorateClass([
|
|
5767
|
-
(0,
|
|
5846
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5768
5847
|
field: "user_authen",
|
|
5769
5848
|
allowNull: true,
|
|
5770
|
-
type:
|
|
5849
|
+
type: import_sequelize_typescript53.DataType.STRING(64)
|
|
5771
5850
|
})
|
|
5772
5851
|
], userCenterV.prototype, "userAuthen", 2);
|
|
5773
5852
|
__decorateClass([
|
|
5774
|
-
(0,
|
|
5853
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5775
5854
|
field: "user_type",
|
|
5776
5855
|
allowNull: true,
|
|
5777
|
-
type:
|
|
5856
|
+
type: import_sequelize_typescript53.DataType.INTEGER
|
|
5778
5857
|
})
|
|
5779
5858
|
], userCenterV.prototype, "userType", 2);
|
|
5780
5859
|
__decorateClass([
|
|
5781
|
-
(0,
|
|
5860
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5782
5861
|
allowNull: true,
|
|
5783
|
-
type:
|
|
5862
|
+
type: import_sequelize_typescript53.DataType.STRING(10)
|
|
5784
5863
|
})
|
|
5785
5864
|
], userCenterV.prototype, "prefix", 2);
|
|
5786
5865
|
__decorateClass([
|
|
5787
|
-
(0,
|
|
5866
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5788
5867
|
field: "first_name",
|
|
5789
5868
|
allowNull: true,
|
|
5790
|
-
type:
|
|
5869
|
+
type: import_sequelize_typescript53.DataType.STRING(100)
|
|
5791
5870
|
})
|
|
5792
5871
|
], userCenterV.prototype, "firstName", 2);
|
|
5793
5872
|
__decorateClass([
|
|
5794
|
-
(0,
|
|
5873
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5795
5874
|
field: "last_name",
|
|
5796
5875
|
allowNull: true,
|
|
5797
|
-
type:
|
|
5876
|
+
type: import_sequelize_typescript53.DataType.STRING(100)
|
|
5798
5877
|
})
|
|
5799
5878
|
], userCenterV.prototype, "lastName", 2);
|
|
5800
5879
|
__decorateClass([
|
|
5801
|
-
(0,
|
|
5880
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5802
5881
|
allowNull: true,
|
|
5803
|
-
type:
|
|
5882
|
+
type: import_sequelize_typescript53.DataType.STRING(20)
|
|
5804
5883
|
})
|
|
5805
5884
|
], userCenterV.prototype, "phone", 2);
|
|
5806
5885
|
__decorateClass([
|
|
5807
|
-
(0,
|
|
5886
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5808
5887
|
allowNull: true,
|
|
5809
|
-
type:
|
|
5888
|
+
type: import_sequelize_typescript53.DataType.SMALLINT
|
|
5810
5889
|
})
|
|
5811
5890
|
], userCenterV.prototype, "status", 2);
|
|
5812
5891
|
__decorateClass([
|
|
5813
|
-
(0,
|
|
5892
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5814
5893
|
field: "created_by",
|
|
5815
5894
|
allowNull: true,
|
|
5816
|
-
type:
|
|
5895
|
+
type: import_sequelize_typescript53.DataType.STRING(60)
|
|
5817
5896
|
})
|
|
5818
5897
|
], userCenterV.prototype, "createdBy", 2);
|
|
5819
5898
|
__decorateClass([
|
|
5820
|
-
(0,
|
|
5899
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5821
5900
|
field: "created_date",
|
|
5822
5901
|
allowNull: true,
|
|
5823
|
-
type:
|
|
5902
|
+
type: import_sequelize_typescript53.DataType.DATE
|
|
5824
5903
|
})
|
|
5825
5904
|
], userCenterV.prototype, "createdDate", 2);
|
|
5826
5905
|
__decorateClass([
|
|
5827
|
-
(0,
|
|
5906
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5828
5907
|
field: "updated_by",
|
|
5829
5908
|
allowNull: true,
|
|
5830
|
-
type:
|
|
5909
|
+
type: import_sequelize_typescript53.DataType.STRING(60)
|
|
5831
5910
|
})
|
|
5832
5911
|
], userCenterV.prototype, "updatedBy", 2);
|
|
5833
5912
|
__decorateClass([
|
|
5834
|
-
(0,
|
|
5913
|
+
(0, import_sequelize_typescript53.Column)({
|
|
5835
5914
|
field: "updated_date",
|
|
5836
5915
|
allowNull: true,
|
|
5837
|
-
type:
|
|
5916
|
+
type: import_sequelize_typescript53.DataType.DATE
|
|
5838
5917
|
})
|
|
5839
5918
|
], userCenterV.prototype, "updatedDate", 2);
|
|
5840
5919
|
userCenterV = __decorateClass([
|
|
5841
|
-
(0,
|
|
5920
|
+
(0, import_sequelize_typescript53.Table)({
|
|
5842
5921
|
tableName: "user_center_v",
|
|
5843
5922
|
timestamps: false,
|
|
5844
5923
|
comment: "VIEW"
|
|
@@ -5846,38 +5925,38 @@ userCenterV = __decorateClass([
|
|
|
5846
5925
|
], userCenterV);
|
|
5847
5926
|
|
|
5848
5927
|
// src/databases/tables/userRoleV.ts
|
|
5849
|
-
var
|
|
5850
|
-
var userRoleV = class extends
|
|
5928
|
+
var import_sequelize_typescript54 = require("sequelize-typescript");
|
|
5929
|
+
var userRoleV = class extends import_sequelize_typescript54.Model {
|
|
5851
5930
|
};
|
|
5852
5931
|
__decorateClass([
|
|
5853
|
-
(0,
|
|
5854
|
-
type:
|
|
5932
|
+
(0, import_sequelize_typescript54.Column)({
|
|
5933
|
+
type: import_sequelize_typescript54.DataType.INTEGER,
|
|
5855
5934
|
defaultValue: "0"
|
|
5856
5935
|
})
|
|
5857
5936
|
], userRoleV.prototype, "id", 2);
|
|
5858
5937
|
__decorateClass([
|
|
5859
|
-
(0,
|
|
5938
|
+
(0, import_sequelize_typescript54.Column)({
|
|
5860
5939
|
field: "website_th",
|
|
5861
5940
|
allowNull: true,
|
|
5862
|
-
type:
|
|
5941
|
+
type: import_sequelize_typescript54.DataType.STRING(60)
|
|
5863
5942
|
})
|
|
5864
5943
|
], userRoleV.prototype, "websiteTh", 2);
|
|
5865
5944
|
__decorateClass([
|
|
5866
|
-
(0,
|
|
5945
|
+
(0, import_sequelize_typescript54.Column)({
|
|
5867
5946
|
field: "website_en",
|
|
5868
5947
|
allowNull: true,
|
|
5869
|
-
type:
|
|
5948
|
+
type: import_sequelize_typescript54.DataType.STRING(60)
|
|
5870
5949
|
})
|
|
5871
5950
|
], userRoleV.prototype, "websiteEn", 2);
|
|
5872
5951
|
__decorateClass([
|
|
5873
|
-
(0,
|
|
5952
|
+
(0, import_sequelize_typescript54.Column)({
|
|
5874
5953
|
field: "website_fr",
|
|
5875
5954
|
allowNull: true,
|
|
5876
|
-
type:
|
|
5955
|
+
type: import_sequelize_typescript54.DataType.STRING(60)
|
|
5877
5956
|
})
|
|
5878
5957
|
], userRoleV.prototype, "websiteFr", 2);
|
|
5879
5958
|
userRoleV = __decorateClass([
|
|
5880
|
-
(0,
|
|
5959
|
+
(0, import_sequelize_typescript54.Table)({
|
|
5881
5960
|
tableName: "user_role_v",
|
|
5882
5961
|
timestamps: false,
|
|
5883
5962
|
comment: "VIEW"
|
|
@@ -5929,6 +6008,7 @@ userRoleV = __decorateClass([
|
|
|
5929
6008
|
member,
|
|
5930
6009
|
menu,
|
|
5931
6010
|
msModule,
|
|
6011
|
+
msProvince,
|
|
5932
6012
|
oauthAccessToken,
|
|
5933
6013
|
oauthRefreshToken,
|
|
5934
6014
|
recruitment,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msProvinceAttributes {
|
|
4
|
+
id: number;
|
|
5
|
+
code?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
geoId?: number;
|
|
8
|
+
courtId?: number;
|
|
9
|
+
createdBy?: string;
|
|
10
|
+
createdDate?: Date;
|
|
11
|
+
updatedBy?: string;
|
|
12
|
+
updatedDate?: Date;
|
|
13
|
+
}
|
|
14
|
+
declare class msProvince extends Model<msProvinceAttributes, msProvinceAttributes> implements msProvinceAttributes {
|
|
15
|
+
id: number;
|
|
16
|
+
code?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
geoId?: number;
|
|
19
|
+
courtId?: number;
|
|
20
|
+
createdBy?: string;
|
|
21
|
+
createdDate?: Date;
|
|
22
|
+
updatedBy?: string;
|
|
23
|
+
updatedDate?: Date;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { msProvince, type msProvinceAttributes };
|
|
@@ -0,0 +1,106 @@
|
|
|
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/msProvince.ts
|
|
29
|
+
var msProvince_exports = {};
|
|
30
|
+
__export(msProvince_exports, {
|
|
31
|
+
msProvince: () => msProvince
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msProvince_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msProvince = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
primaryKey: true,
|
|
40
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
41
|
+
})
|
|
42
|
+
], msProvince.prototype, "id", 2);
|
|
43
|
+
__decorateClass([
|
|
44
|
+
(0, import_sequelize_typescript.Column)({
|
|
45
|
+
allowNull: true,
|
|
46
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
47
|
+
})
|
|
48
|
+
], msProvince.prototype, "code", 2);
|
|
49
|
+
__decorateClass([
|
|
50
|
+
(0, import_sequelize_typescript.Column)({
|
|
51
|
+
allowNull: true,
|
|
52
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
53
|
+
})
|
|
54
|
+
], msProvince.prototype, "name", 2);
|
|
55
|
+
__decorateClass([
|
|
56
|
+
(0, import_sequelize_typescript.Column)({
|
|
57
|
+
field: "geo_id",
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
60
|
+
})
|
|
61
|
+
], msProvince.prototype, "geoId", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
64
|
+
field: "court_id",
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
67
|
+
})
|
|
68
|
+
], msProvince.prototype, "courtId", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
field: "created_by",
|
|
72
|
+
allowNull: true,
|
|
73
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
74
|
+
})
|
|
75
|
+
], msProvince.prototype, "createdBy", 2);
|
|
76
|
+
__decorateClass([
|
|
77
|
+
(0, import_sequelize_typescript.Column)({
|
|
78
|
+
field: "created_date",
|
|
79
|
+
allowNull: true,
|
|
80
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
81
|
+
})
|
|
82
|
+
], msProvince.prototype, "createdDate", 2);
|
|
83
|
+
__decorateClass([
|
|
84
|
+
(0, import_sequelize_typescript.Column)({
|
|
85
|
+
field: "updated_by",
|
|
86
|
+
allowNull: true,
|
|
87
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
88
|
+
})
|
|
89
|
+
], msProvince.prototype, "updatedBy", 2);
|
|
90
|
+
__decorateClass([
|
|
91
|
+
(0, import_sequelize_typescript.Column)({
|
|
92
|
+
field: "updated_date",
|
|
93
|
+
allowNull: true,
|
|
94
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
95
|
+
})
|
|
96
|
+
], msProvince.prototype, "updatedDate", 2);
|
|
97
|
+
msProvince = __decorateClass([
|
|
98
|
+
(0, import_sequelize_typescript.Table)({
|
|
99
|
+
tableName: "ms_province",
|
|
100
|
+
timestamps: false
|
|
101
|
+
})
|
|
102
|
+
], msProvince);
|
|
103
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
104
|
+
0 && (module.exports = {
|
|
105
|
+
msProvince
|
|
106
|
+
});
|