@admc-go-th/admc-library 1.0.138 → 1.1.137

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.
@@ -1,104 +1,104 @@
1
- import {
2
- Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
- } from "sequelize-typescript";
4
-
5
- export interface informationIndexGroupAttributes {
6
- id?: number;
7
- uuid?: string;
8
- keyName?: string;
9
- userId?: number;
10
- name: string;
11
- description?: string;
12
- sort?: number;
13
- status?: number;
14
- createdBy?: string;
15
- createdDate?: Date;
16
- updatedBy?: string;
17
- updatedDate?: Date;
18
- }
19
-
20
- @Table({
21
- tableName: "information_index_group",
22
- timestamps: false
23
- })
24
- export class informationIndexGroup extends Model<informationIndexGroupAttributes, informationIndexGroupAttributes> implements informationIndexGroupAttributes {
25
-
26
- @Column({
27
- primaryKey: true,
28
- autoIncrement: true,
29
- type: DataType.INTEGER
30
- })
31
- declare id?: number;
32
-
33
- @Column({
34
- allowNull: true,
35
- type: DataType.STRING(60)
36
- })
37
- declare uuid?: string;
38
-
39
- @Column({
40
- field: "key_name",
41
- allowNull: true,
42
- type: DataType.STRING(100)
43
- })
44
- declare keyName?: string;
45
-
46
- @Column({
47
- field: "user_id",
48
- allowNull: true,
49
- type: DataType.INTEGER
50
- })
51
- declare userId?: number;
52
-
53
- @Column({
54
- type: DataType.STRING(255)
55
- })
56
- declare name: string;
57
-
58
- @Column({
59
- allowNull: true,
60
- type: DataType.STRING(255)
61
- })
62
- declare description?: string;
63
-
64
- @Column({
65
- allowNull: true,
66
- type: DataType.INTEGER
67
- })
68
- declare sort?: number;
69
-
70
- @Column({
71
- allowNull: true,
72
- type: DataType.INTEGER
73
- })
74
- declare status?: number;
75
-
76
- @Column({
77
- field: "created_by",
78
- allowNull: true,
79
- type: DataType.STRING(60)
80
- })
81
- declare createdBy?: string;
82
-
83
- @Column({
84
- field: "created_date",
85
- allowNull: true,
86
- type: DataType.DATE
87
- })
88
- declare createdDate?: Date;
89
-
90
- @Column({
91
- field: "updated_by",
92
- allowNull: true,
93
- type: DataType.STRING(60)
94
- })
95
- declare updatedBy?: string;
96
-
97
- @Column({
98
- field: "updated_date",
99
- allowNull: true,
100
- type: DataType.DATE
101
- })
102
- declare updatedDate?: Date;
103
-
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface informationIndexGroupAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ keyName?: string;
9
+ userId?: number;
10
+ name: string;
11
+ description?: string;
12
+ sort?: number;
13
+ status?: number;
14
+ createdBy?: string;
15
+ createdDate?: Date;
16
+ updatedBy?: string;
17
+ updatedDate?: Date;
18
+ }
19
+
20
+ @Table({
21
+ tableName: "information_index_group",
22
+ timestamps: false
23
+ })
24
+ export class informationIndexGroup extends Model<informationIndexGroupAttributes, informationIndexGroupAttributes> implements informationIndexGroupAttributes {
25
+
26
+ @Column({
27
+ primaryKey: true,
28
+ autoIncrement: true,
29
+ type: DataType.INTEGER
30
+ })
31
+ declare id?: number;
32
+
33
+ @Column({
34
+ allowNull: true,
35
+ type: DataType.STRING(60)
36
+ })
37
+ declare uuid?: string;
38
+
39
+ @Column({
40
+ field: "key_name",
41
+ allowNull: true,
42
+ type: DataType.STRING(100)
43
+ })
44
+ declare keyName?: string;
45
+
46
+ @Column({
47
+ field: "user_id",
48
+ allowNull: true,
49
+ type: DataType.INTEGER
50
+ })
51
+ declare userId?: number;
52
+
53
+ @Column({
54
+ type: DataType.STRING(255)
55
+ })
56
+ declare name: string;
57
+
58
+ @Column({
59
+ allowNull: true,
60
+ type: DataType.STRING(255)
61
+ })
62
+ declare description?: string;
63
+
64
+ @Column({
65
+ allowNull: true,
66
+ type: DataType.INTEGER
67
+ })
68
+ declare sort?: number;
69
+
70
+ @Column({
71
+ allowNull: true,
72
+ type: DataType.INTEGER
73
+ })
74
+ declare status?: number;
75
+
76
+ @Column({
77
+ field: "created_by",
78
+ allowNull: true,
79
+ type: DataType.STRING(60)
80
+ })
81
+ declare createdBy?: string;
82
+
83
+ @Column({
84
+ field: "created_date",
85
+ allowNull: true,
86
+ type: DataType.DATE
87
+ })
88
+ declare createdDate?: Date;
89
+
90
+ @Column({
91
+ field: "updated_by",
92
+ allowNull: true,
93
+ type: DataType.STRING(60)
94
+ })
95
+ declare updatedBy?: string;
96
+
97
+ @Column({
98
+ field: "updated_date",
99
+ allowNull: true,
100
+ type: DataType.DATE
101
+ })
102
+ declare updatedDate?: Date;
103
+
104
104
  }
@@ -1,137 +1,137 @@
1
- import {
2
- Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
- } from "sequelize-typescript";
4
-
5
- export interface mdDownloadBkAttributes {
6
- id?: number;
7
- uuid?: string;
8
- keyName?: string;
9
- title?: string;
10
- description?: string;
11
- fileUuid?: string;
12
- totalDownload?: number;
13
- sort?: number;
14
- status?: number;
15
- hasExpire?: number;
16
- startDate?: Date;
17
- expireDate?: Date;
18
- createdBy?: string;
19
- createdDate?: Date;
20
- updatedBy?: string;
21
- updatedDate?: Date;
22
- }
23
-
24
- @Table({
25
- tableName: "md_download@bk",
26
- timestamps: false
27
- })
28
- export class mdDownloadBk extends Model<mdDownloadBkAttributes, mdDownloadBkAttributes> implements mdDownloadBkAttributes {
29
-
30
- @Column({
31
- primaryKey: true,
32
- autoIncrement: true,
33
- type: DataType.INTEGER
34
- })
35
- declare id?: number;
36
-
37
- @Column({
38
- allowNull: true,
39
- type: DataType.STRING(60)
40
- })
41
- declare uuid?: string;
42
-
43
- @Column({
44
- field: "key_name",
45
- allowNull: true,
46
- type: DataType.STRING(100)
47
- })
48
- declare keyName?: string;
49
-
50
- @Column({
51
- allowNull: true,
52
- type: DataType.STRING(255)
53
- })
54
- declare title?: string;
55
-
56
- @Column({
57
- allowNull: true,
58
- type: DataType.STRING
59
- })
60
- declare description?: string;
61
-
62
- @Column({
63
- field: "file_uuid",
64
- allowNull: true,
65
- type: DataType.STRING(60)
66
- })
67
- declare fileUuid?: string;
68
-
69
- @Column({
70
- field: "total_download",
71
- allowNull: true,
72
- type: DataType.INTEGER
73
- })
74
- declare totalDownload?: number;
75
-
76
- @Column({
77
- allowNull: true,
78
- type: DataType.INTEGER
79
- })
80
- declare sort?: number;
81
-
82
- @Column({
83
- allowNull: true,
84
- type: DataType.INTEGER
85
- })
86
- declare status?: number;
87
-
88
- @Column({
89
- field: "has_expire",
90
- allowNull: true,
91
- type: DataType.INTEGER
92
- })
93
- declare hasExpire?: number;
94
-
95
- @Column({
96
- field: "start_date",
97
- allowNull: true,
98
- type: DataType.DATE
99
- })
100
- declare startDate?: Date;
101
-
102
- @Column({
103
- field: "expire_date",
104
- allowNull: true,
105
- type: DataType.DATE
106
- })
107
- declare expireDate?: Date;
108
-
109
- @Column({
110
- field: "created_by",
111
- allowNull: true,
112
- type: DataType.STRING(60)
113
- })
114
- declare createdBy?: string;
115
-
116
- @Column({
117
- field: "created_date",
118
- allowNull: true,
119
- type: DataType.DATE
120
- })
121
- declare createdDate?: Date;
122
-
123
- @Column({
124
- field: "updated_by",
125
- allowNull: true,
126
- type: DataType.STRING(60)
127
- })
128
- declare updatedBy?: string;
129
-
130
- @Column({
131
- field: "updated_date",
132
- allowNull: true,
133
- type: DataType.DATE
134
- })
135
- declare updatedDate?: Date;
136
-
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface mdDownloadBkAttributes {
6
+ id?: number;
7
+ uuid?: string;
8
+ keyName?: string;
9
+ title?: string;
10
+ description?: string;
11
+ fileUuid?: string;
12
+ totalDownload?: number;
13
+ sort?: number;
14
+ status?: number;
15
+ hasExpire?: number;
16
+ startDate?: Date;
17
+ expireDate?: Date;
18
+ createdBy?: string;
19
+ createdDate?: Date;
20
+ updatedBy?: string;
21
+ updatedDate?: Date;
22
+ }
23
+
24
+ @Table({
25
+ tableName: "md_download@bk",
26
+ timestamps: false
27
+ })
28
+ export class mdDownloadBk extends Model<mdDownloadBkAttributes, mdDownloadBkAttributes> implements mdDownloadBkAttributes {
29
+
30
+ @Column({
31
+ primaryKey: true,
32
+ autoIncrement: true,
33
+ type: DataType.INTEGER
34
+ })
35
+ declare id?: number;
36
+
37
+ @Column({
38
+ allowNull: true,
39
+ type: DataType.STRING(60)
40
+ })
41
+ declare uuid?: string;
42
+
43
+ @Column({
44
+ field: "key_name",
45
+ allowNull: true,
46
+ type: DataType.STRING(100)
47
+ })
48
+ declare keyName?: string;
49
+
50
+ @Column({
51
+ allowNull: true,
52
+ type: DataType.STRING(255)
53
+ })
54
+ declare title?: string;
55
+
56
+ @Column({
57
+ allowNull: true,
58
+ type: DataType.STRING
59
+ })
60
+ declare description?: string;
61
+
62
+ @Column({
63
+ field: "file_uuid",
64
+ allowNull: true,
65
+ type: DataType.STRING(60)
66
+ })
67
+ declare fileUuid?: string;
68
+
69
+ @Column({
70
+ field: "total_download",
71
+ allowNull: true,
72
+ type: DataType.INTEGER
73
+ })
74
+ declare totalDownload?: number;
75
+
76
+ @Column({
77
+ allowNull: true,
78
+ type: DataType.INTEGER
79
+ })
80
+ declare sort?: number;
81
+
82
+ @Column({
83
+ allowNull: true,
84
+ type: DataType.INTEGER
85
+ })
86
+ declare status?: number;
87
+
88
+ @Column({
89
+ field: "has_expire",
90
+ allowNull: true,
91
+ type: DataType.INTEGER
92
+ })
93
+ declare hasExpire?: number;
94
+
95
+ @Column({
96
+ field: "start_date",
97
+ allowNull: true,
98
+ type: DataType.DATE
99
+ })
100
+ declare startDate?: Date;
101
+
102
+ @Column({
103
+ field: "expire_date",
104
+ allowNull: true,
105
+ type: DataType.DATE
106
+ })
107
+ declare expireDate?: Date;
108
+
109
+ @Column({
110
+ field: "created_by",
111
+ allowNull: true,
112
+ type: DataType.STRING(60)
113
+ })
114
+ declare createdBy?: string;
115
+
116
+ @Column({
117
+ field: "created_date",
118
+ allowNull: true,
119
+ type: DataType.DATE
120
+ })
121
+ declare createdDate?: Date;
122
+
123
+ @Column({
124
+ field: "updated_by",
125
+ allowNull: true,
126
+ type: DataType.STRING(60)
127
+ })
128
+ declare updatedBy?: string;
129
+
130
+ @Column({
131
+ field: "updated_date",
132
+ allowNull: true,
133
+ type: DataType.DATE
134
+ })
135
+ declare updatedDate?: Date;
136
+
137
137
  }
@@ -1,83 +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
-
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
83
  }