@tomei/sso 0.45.2 → 0.45.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/components/group/group.js +1 -1
- package/dist/src/components/group/group.js.map +1 -1
- package/dist/src/models/group-reporting-user.entity.js +12 -3
- package/dist/src/models/group-reporting-user.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/group/group.ts +1 -1
- package/src/models/group-reporting-user.entity.ts +12 -3
package/package.json
CHANGED
@@ -72,13 +72,22 @@ export default class GroupReportingUserModel extends Model {
|
|
72
72
|
@UpdatedAt
|
73
73
|
UpdatedAt: Date;
|
74
74
|
|
75
|
-
@BelongsTo(() => User,
|
75
|
+
@BelongsTo(() => User, {
|
76
|
+
as: 'CreatedByUser',
|
77
|
+
foreignKey: 'CreatedById',
|
78
|
+
})
|
76
79
|
CreatedByUser: User;
|
77
80
|
|
78
|
-
@BelongsTo(() => User,
|
81
|
+
@BelongsTo(() => User, {
|
82
|
+
as: 'UpdatedByUser',
|
83
|
+
foreignKey: 'UpdatedById',
|
84
|
+
})
|
79
85
|
UpdatedByUser: User;
|
80
86
|
|
81
|
-
@BelongsTo(() => User,
|
87
|
+
@BelongsTo(() => User, {
|
88
|
+
as: 'User',
|
89
|
+
foreignKey: 'UserId',
|
90
|
+
})
|
82
91
|
User: User;
|
83
92
|
|
84
93
|
@BelongsTo(() => GroupModel, 'GroupCode')
|