@admc-go-th/admc-library 1.0.120 → 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.
@@ -48,6 +48,7 @@ export * from "./menu";
48
48
  export * from "./msExecutive";
49
49
  export * from "./msExecutiveBoard";
50
50
  export * from "./msExecutiveGroup";
51
+ export * from "./msExecutiveLevel";
51
52
  export * from "./msExecutivePosition";
52
53
  export * from "./msGuidelines";
53
54
  export * from "./msHoliday";
@@ -14,7 +14,7 @@ export interface mdApplicationAttributes {
14
14
  url1?: string;
15
15
  target1?: string;
16
16
  url2?: string;
17
- target2?: any;
17
+ target2?: string;
18
18
  url3?: string;
19
19
  target3?: string;
20
20
  url4?: string;
@@ -110,9 +110,10 @@ export class mdApplication extends Model<mdApplicationAttributes, mdApplicationA
110
110
  declare url2?: string;
111
111
 
112
112
  @Column({
113
- allowNull: true
113
+ allowNull: true,
114
+ type: DataType.STRING(10)
114
115
  })
115
- declare target2?: any;
116
+ declare target2?: string;
116
117
 
117
118
  @Column({
118
119
  allowNull: true,
@@ -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
+ }
@@ -30,6 +30,7 @@ export { mdWords, mdWordsAttributes } from './mdWords.js';
30
30
  export { member, memberAttributes } from './member.js';
31
31
  export { a as msExecutive, m as msExecutiveAttributes, c as msExecutiveGroup, b as msExecutiveGroupAttributes, e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-B7lTHxSZ.js';
32
32
  export { msExecutiveBoard, msExecutiveBoardAttributes } from './msExecutiveBoard.js';
33
+ export { msExecutiveLevel, msExecutiveLevelAttributes } from './msExecutiveLevel.js';
33
34
  export { msGuidelines, msGuidelinesAttributes } from './msGuidelines.js';
34
35
  export { msHoliday, msHolidayAttributes } from './msHoliday.js';
35
36
  export { msProvince, msProvinceAttributes } from './msProvince.js';