@tomei/sso 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. package/__tests__/unit/components/group-object-privilege/group-object-privilege.spec.ts +4 -4
  2. package/__tests__/unit/components/group-privilege/group-privilege.spec.ts +3 -3
  3. package/__tests__/unit/components/user-object-privilege/user-object-privilege.spec.ts +3 -3
  4. package/__tests__/unit/components/user-privilege/user-privilege.spec.ts +3 -3
  5. package/dist/__tests__/unit/components/group-object-privilege/group-object-privilege.spec.js +4 -4
  6. package/dist/__tests__/unit/components/group-object-privilege/group-object-privilege.spec.js.map +1 -1
  7. package/dist/__tests__/unit/components/group-privilege/group-privilege.spec.js +3 -3
  8. package/dist/__tests__/unit/components/group-privilege/group-privilege.spec.js.map +1 -1
  9. package/dist/__tests__/unit/components/user-object-privilege/user-object-privilege.spec.js +3 -3
  10. package/dist/__tests__/unit/components/user-object-privilege/user-object-privilege.spec.js.map +1 -1
  11. package/dist/__tests__/unit/components/user-privilege/user-privilege.spec.js +3 -3
  12. package/dist/__tests__/unit/components/user-privilege/user-privilege.spec.js.map +1 -1
  13. package/dist/src/components/group/group.d.ts +23 -12
  14. package/dist/src/components/group/group.js +188 -42
  15. package/dist/src/components/group/group.js.map +1 -1
  16. package/dist/src/components/group-object-privilege/group-object-privilege.d.ts +1 -1
  17. package/dist/src/components/group-object-privilege/group-object-privilege.js +7 -7
  18. package/dist/src/components/group-object-privilege/group-object-privilege.js.map +1 -1
  19. package/dist/src/components/group-privilege/group-privilege.d.ts +1 -1
  20. package/dist/src/components/group-privilege/group-privilege.js +2 -2
  21. package/dist/src/components/group-privilege/group-privilege.js.map +1 -1
  22. package/dist/src/components/group-privilege/group-privilege.repository.d.ts +1 -1
  23. package/dist/src/components/group-privilege/group-privilege.repository.js +11 -3
  24. package/dist/src/components/group-privilege/group-privilege.repository.js.map +1 -1
  25. package/dist/src/components/login-user/login-user.js.map +1 -1
  26. package/dist/src/components/login-user/user.js +2 -2
  27. package/dist/src/components/login-user/user.js.map +1 -1
  28. package/dist/src/components/system/system.js +1 -1
  29. package/dist/src/components/system/system.js.map +1 -1
  30. package/dist/src/components/system-privilege/system-privilege.d.ts +4 -3
  31. package/dist/src/components/system-privilege/system-privilege.js +18 -11
  32. package/dist/src/components/system-privilege/system-privilege.js.map +1 -1
  33. package/dist/src/components/user-group/user-group.js +2 -1
  34. package/dist/src/components/user-group/user-group.js.map +1 -1
  35. package/dist/src/components/user-object-privilege/user-object-privilege.d.ts +1 -1
  36. package/dist/src/components/user-object-privilege/user-object-privilege.js +1 -1
  37. package/dist/src/components/user-object-privilege/user-object-privilege.js.map +1 -1
  38. package/dist/src/components/user-privilege/user-privilege.d.ts +1 -1
  39. package/dist/src/components/user-privilege/user-privilege.js +1 -1
  40. package/dist/src/components/user-privilege/user-privilege.js.map +1 -1
  41. package/dist/src/interfaces/group-object-privilege.interface.d.ts +1 -1
  42. package/dist/src/interfaces/group-privilege.interface.d.ts +1 -1
  43. package/dist/src/interfaces/group.interface.d.ts +1 -0
  44. package/dist/src/interfaces/system-privilege.interface.d.ts +1 -0
  45. package/dist/src/interfaces/user-object-privilege.interface.d.ts +1 -1
  46. package/dist/src/interfaces/user-privilege.interface.d.ts +1 -1
  47. package/dist/src/models/group-object-privilege.entity.d.ts +1 -1
  48. package/dist/src/models/group-object-privilege.entity.js +1 -1
  49. package/dist/src/models/group-object-privilege.entity.js.map +1 -1
  50. package/dist/src/models/group-privilege.entity.d.ts +1 -1
  51. package/dist/src/models/group-privilege.entity.js +1 -1
  52. package/dist/src/models/group-privilege.entity.js.map +1 -1
  53. package/dist/src/models/group.entity.d.ts +1 -0
  54. package/dist/src/models/group.entity.js +7 -0
  55. package/dist/src/models/group.entity.js.map +1 -1
  56. package/dist/src/models/system-privilege.entity.d.ts +1 -0
  57. package/dist/src/models/system-privilege.entity.js +8 -0
  58. package/dist/src/models/system-privilege.entity.js.map +1 -1
  59. package/dist/src/models/user-object-privilege.entity.d.ts +1 -1
  60. package/dist/src/models/user-object-privilege.entity.js +1 -1
  61. package/dist/src/models/user-object-privilege.entity.js.map +1 -1
  62. package/dist/src/models/user-privilege.entity.d.ts +1 -1
  63. package/dist/src/models/user-privilege.entity.js +1 -1
  64. package/dist/src/models/user-privilege.entity.js.map +1 -1
  65. package/dist/tsconfig.tsbuildinfo +1 -1
  66. package/migrations/20240527064926-create-system-privilege-table.js +66 -62
  67. package/migrations/20240527065342-create-group-table.js +4 -0
  68. package/migrations/20240528032229-user-privilege-table.js +2 -2
  69. package/migrations/20240528063003-create-group-privilege-table.js +12 -2
  70. package/migrations/20240528063051-create-group-object-privilege-table.js +2 -2
  71. package/migrations/20240528063107-create-user-object-privilege-table.js +2 -2
  72. package/package.json +8 -8
  73. package/src/components/group/group.ts +225 -60
  74. package/src/components/group-object-privilege/group-object-privilege.ts +9 -9
  75. package/src/components/group-privilege/group-privilege.repository.ts +16 -3
  76. package/src/components/group-privilege/group-privilege.ts +3 -3
  77. package/src/components/login-user/login-user.ts +0 -58
  78. package/src/components/login-user/user.ts +2 -4
  79. package/src/components/system/system.ts +1 -1
  80. package/src/components/system-privilege/system-privilege.ts +20 -12
  81. package/src/components/user-group/user-group.ts +2 -1
  82. package/src/components/user-object-privilege/user-object-privilege.ts +2 -2
  83. package/src/components/user-privilege/user-privilege.ts +2 -2
  84. package/src/interfaces/group-object-privilege.interface.ts +1 -1
  85. package/src/interfaces/group-privilege.interface.ts +1 -1
  86. package/src/interfaces/group.interface.ts +1 -0
  87. package/src/interfaces/system-privilege.interface.ts +1 -0
  88. package/src/interfaces/user-object-privilege.interface.ts +1 -1
  89. package/src/interfaces/user-privilege.interface.ts +1 -1
  90. package/src/models/group-object-privilege.entity.ts +1 -1
  91. package/src/models/group-privilege.entity.ts +1 -1
  92. package/src/models/group.entity.ts +6 -0
  93. package/src/models/system-privilege.entity.ts +7 -0
  94. package/src/models/user-object-privilege.entity.ts +1 -1
  95. package/src/models/user-privilege.entity.ts +1 -1
@@ -18,10 +18,10 @@ const system_1 = require("../system/system");
18
18
  const activity_history_1 = require("@tomei/activity-history");
19
19
  const sequelize_1 = require("sequelize");
20
20
  class SystemPrivilege extends general_1.ObjectBase {
21
- get PrivilegeCode() {
21
+ get SystemPrivilegeId() {
22
22
  return this.ObjectId;
23
23
  }
24
- set PrivilegeCode(value) {
24
+ set SystemPrivilegeId(value) {
25
25
  this.ObjectId = value;
26
26
  }
27
27
  get CreatedAt() {
@@ -41,7 +41,8 @@ class SystemPrivilege extends general_1.ObjectBase {
41
41
  this.ObjectType = 'SystemPrivilege';
42
42
  this.TableName = 'sso_SystemPrivilege';
43
43
  if (systemPrivilegeAttr) {
44
- this.ObjectId = systemPrivilegeAttr.PrivilegeCode;
44
+ this.SystemPrivilegeId = systemPrivilegeAttr.SystemPrivilegeId;
45
+ this.PrivilegeCode = systemPrivilegeAttr.PrivilegeCode;
45
46
  this.SystemCode = systemPrivilegeAttr.SystemCode;
46
47
  this.Description = systemPrivilegeAttr.Description;
47
48
  this.Status = systemPrivilegeAttr.Status;
@@ -52,7 +53,8 @@ class SystemPrivilege extends general_1.ObjectBase {
52
53
  }
53
54
  }
54
55
  setAttributes(systemPrivilegeAttr) {
55
- this.ObjectId = systemPrivilegeAttr.PrivilegeCode;
56
+ this.PrivilegeCode = systemPrivilegeAttr.PrivilegeCode;
57
+ this.SystemPrivilegeId = systemPrivilegeAttr.SystemPrivilegeId;
56
58
  this.SystemCode = systemPrivilegeAttr.SystemCode;
57
59
  this.Description = systemPrivilegeAttr.Description;
58
60
  this.Status = systemPrivilegeAttr.Status;
@@ -61,16 +63,17 @@ class SystemPrivilege extends general_1.ObjectBase {
61
63
  this._CreatedById = systemPrivilegeAttr.CreatedById;
62
64
  this._UpdatedById = systemPrivilegeAttr.UpdatedById;
63
65
  }
64
- static init(dbTransaction, PrivilegeCode) {
66
+ static init(dbTransaction, SystemPrivilegeId) {
65
67
  return __awaiter(this, void 0, void 0, function* () {
66
68
  try {
67
69
  const systemPrivilege = new SystemPrivilege();
68
- if (PrivilegeCode) {
69
- const systemPrivilegeAttr = yield this._Repository.findByPk(PrivilegeCode, {
70
+ if (SystemPrivilegeId) {
71
+ const systemPrivilegeAttr = yield this._Repository.findByPk(SystemPrivilegeId, {
70
72
  transaction: dbTransaction,
71
73
  });
72
74
  if (systemPrivilegeAttr) {
73
- systemPrivilege.ObjectId = systemPrivilegeAttr.PrivilegeCode;
75
+ systemPrivilege.PrivilegeCode = systemPrivilegeAttr.PrivilegeCode;
76
+ systemPrivilege.ObjectId = systemPrivilegeAttr.SystemPrivilegeId;
74
77
  systemPrivilege.SystemCode = systemPrivilegeAttr.SystemCode;
75
78
  systemPrivilege.Description = systemPrivilegeAttr.Description;
76
79
  systemPrivilege.Status = systemPrivilegeAttr.Status;
@@ -112,7 +115,8 @@ class SystemPrivilege extends general_1.ObjectBase {
112
115
  throw new general_1.ClassError('SystemPrivilege', 'SystemPrivilegeErrMsg03', 'System Privilege already exists');
113
116
  }
114
117
  const newSystemPrivilege = new SystemPrivilege();
115
- newSystemPrivilege.ObjectId = systemPrivilege.PrivilegeCode;
118
+ newSystemPrivilege.ObjectId = newSystemPrivilege.createId();
119
+ newSystemPrivilege.PrivilegeCode = systemPrivilege.PrivilegeCode;
116
120
  newSystemPrivilege.SystemCode = systemPrivilege.SystemCode;
117
121
  newSystemPrivilege.Description = systemPrivilege.Description;
118
122
  newSystemPrivilege.Status = 'Active';
@@ -121,7 +125,8 @@ class SystemPrivilege extends general_1.ObjectBase {
121
125
  newSystemPrivilege._CreatedAt = new Date();
122
126
  newSystemPrivilege._UpdatedAt = new Date();
123
127
  yield this._Repository.create({
124
- PrivilegeCode: newSystemPrivilege.ObjectId,
128
+ SystemPrivilegeId: newSystemPrivilege.ObjectId,
129
+ PrivilegeCode: newSystemPrivilege.PrivilegeCode,
125
130
  SystemCode: newSystemPrivilege.SystemCode,
126
131
  Description: newSystemPrivilege.Description,
127
132
  Status: newSystemPrivilege.Status,
@@ -134,7 +139,7 @@ class SystemPrivilege extends general_1.ObjectBase {
134
139
  const EntityValueAfter = newSystemPrivilege;
135
140
  const activity = new activity_history_1.Activity();
136
141
  activity.ActivityId = activity.createId();
137
- activity.Action = activity_history_1.ActionEnum.ADD;
142
+ activity.Action = activity_history_1.ActionEnum.CREATE;
138
143
  activity.Description = 'Add System Privilege';
139
144
  activity.EntityType = 'SystemPrivilege';
140
145
  activity.EntityId = newSystemPrivilege.SystemCode;
@@ -205,8 +210,10 @@ class SystemPrivilege extends general_1.ObjectBase {
205
210
  transaction: dbTransaction,
206
211
  });
207
212
  const tobeCreatePrivileges = privilegesConfig.filter((privilegeConfig) => !existingSystemPrivileges.find((existingPrivilege) => existingPrivilege.PrivilegeCode === privilegeConfig.privilegeCode));
213
+ const np = new SystemPrivilege();
208
214
  for (const privilegeConfig of tobeCreatePrivileges) {
209
215
  yield this._Repository.create({
216
+ SystemPrivilegeId: np.createId(),
210
217
  PrivilegeCode: privilegeConfig.privilegeCode,
211
218
  SystemCode: systemCode,
212
219
  Description: privilegeConfig.description,
@@ -1 +1 @@
1
- {"version":3,"file":"system-privilege.js","sourceRoot":"","sources":["../../../../src/components/system-privilege/system-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,mEAA+D;AAC/D,+EAA0E;AAG1E,0CAAmE;AACnE,6CAA0C;AAC1C,8DAA+D;AAE/D,yCAA+B;AAE/B,MAAa,eAAgB,SAAQ,oBAAU;IAa7C,IAAI,aAAa;QACf,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,aAAa,CAAC,KAAa;QAC7B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,WAAW;QACb,OAA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CAAC;wBACnC,WAAW,EAAE,QAAQ,CAAC,YAAY,CAAC;wBACnC,SAAS,EAAE,IAAI,IAAI,EAAE;wBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;qBACtB,EACD;wBACE,WAAW,EAAE,aAAa;qBAC3B,CACF,CAAC;iBACH;gBAED,OAAO,mBAAmB,CAAC;aAC5B;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AAtWH,0CAuWC;AAlUgB,2BAAW,GAAG,IAAI,uDAAyB,EAAE,CAAC;AAC9C,iCAAiB,GAAG,IAAI,oCAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"system-privilege.js","sourceRoot":"","sources":["../../../../src/components/system-privilege/system-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,mEAA+D;AAC/D,+EAA0E;AAG1E,0CAAmE;AACnE,6CAA0C;AAC1C,8DAA+D;AAE/D,yCAA+B;AAE/B,MAAa,eAAgB,SAAQ,oBAAU;IAc7C,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,iBAAiB,CAAC,KAAa;QACjC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAKD,YAAoB,mBAA0C;QAC5D,KAAK,EAAE,CAAC;QAzCV,eAAU,GAAG,iBAAiB,CAAC;QAC/B,cAAS,GAAG,qBAAqB,CAAC;QAyChC,IAAI,mBAAmB,EAAE;YACvB,IAAI,CAAC,iBAAiB,GAAG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AC,QAAQ,EAAE;wBAChC,aAAa,EAAE,eAAe,CAAC,aAAa;wBAC5C,UAAU,EAAE,UAAU;wBACtB,WAAW,EAAE,eAAe,CAAC,WAAW;wBACxC,MAAM,EAAE,QAAQ;wBAChB,WAAW,EAAE,QAAQ,CAAC,YAAY,CAAC;wBACnC,WAAW,EAAE,QAAQ,CAAC,YAAY,CAAC;wBACnC,SAAS,EAAE,IAAI,IAAI,EAAE;wBACrB,SAAS,EAAE,IAAI,IAAI,EAAE;qBACtB,EACD;wBACE,WAAW,EAAE,aAAa;qBAC3B,CACF,CAAC;iBACH;gBAED,OAAO,mBAAmB,CAAC;aAC5B;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AA9WH,0CA+WC;AAzUgB,2BAAW,GAAG,IAAI,uDAAyB,EAAE,CAAC;AAC9C,iCAAiB,GAAG,IAAI,oCAAgB,EAAE,CAAC"}
@@ -133,7 +133,8 @@ class UserGroup extends general_1.ObjectBase {
133
133
  InheritGroupSystemAccessYN: this.InheritGroupSystemAccessYN,
134
134
  };
135
135
  const activity = new activity_history_1.Activity();
136
- activity.Action = activity_history_1.ActionEnum.ADD;
136
+ activity.ActivityId = activity.createId();
137
+ activity.Action = activity_history_1.ActionEnum.CREATE;
137
138
  activity.Description = 'Assign user to group.';
138
139
  activity.EntityType = 'UserGroup';
139
140
  activity.EntityId = this.UserGroupId.toString();
@@ -1 +1 @@
1
- {"version":3,"file":"user-group.js","sourceRoot":"","sources":["../../../../src/components/user-group/user-group.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,mEAA8D;AAI9D,0CAAkD;AAClD,8DAA+D;AAE/D,MAAa,SAAU,SAAQ,oBAAU;IAgBvC,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,WAA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AAC,eAAe,CAClD,UAAU,EACV,iBAAiB,CAClB,CAAC;gBAGF,IAAI,CAAC,YAAY,EAAE;oBACjB,MAAM,IAAI,oBAAU,CAClB,WAAW,EACX,mBAAmB,EACnB,kDAAkD,CACnD,CAAC;iBACH;gBASD,MAAM,aAAa,GAAG,MAAM,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC;oBACxD,KAAK,EAAE;wBACL,MAAM;wBACN,SAAS;qBACV;oBACD,WAAW,EAAE,aAAa;iBAC3B,CAAC,CAAC;gBAEH,IAAI,aAAa,EAAE;oBACjB,OAAO,IAAI,SAAS,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;iBAC1D;gBAED,OAAO,IAAI,CAAC;aACb;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AAhSH,8BAiSC;AAjQgB,qBAAW,GAAG,IAAI,2CAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"user-group.js","sourceRoot":"","sources":["../../../../src/components/user-group/user-group.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,mEAA8D;AAI9D,0CAAkD;AAClD,8DAA+D;AAE/D,MAAa,SAAU,SAAQ,oBAAU;IAgBvC,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAID,YAAoB,aAA8B;QAChD,KAAK,EAAE,CAAC;QAlCV,eAAU,GAAG,WAAW,CAAC;QACzB,cAAS,GAAG,eAAe,CAAC;QAM5B,4BAAuB,GAAG,GAAG,CAAC;QAC9B,+BAA0B,GAAG,G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,CAAC,OAAO,CAAC;oBACxD,KAAK,EAAE;wBACL,MAAM;wBACN,SAAS;qBACV;oBACD,WAAW,EAAE,aAAa;iBAC3B,CAAC,CAAC;gBAEH,IAAI,aAAa,EAAE;oBACjB,OAAO,IAAI,SAAS,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;iBAC1D;gBAED,OAAO,IAAI,CAAC;aACb;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AAjSH,8BAkSC;AAlQgB,qBAAW,GAAG,IAAI,2CAAmB,EAAE,CAAC"}
@@ -5,7 +5,7 @@ export declare class UserObjectPrivilege extends ObjectBase {
5
5
  ObjectName: string;
6
6
  ObjectPrivilegeId: number;
7
7
  UserId: number;
8
- PrivilegeCode: string;
8
+ SystemPrivilegeId: string;
9
9
  ObjectId: string;
10
10
  ObjectType: string;
11
11
  Status: ObjectStatus;
@@ -31,7 +31,7 @@ class UserObjectPrivilege extends general_1.ObjectBase {
31
31
  if (userObjectPrivilegeAttr) {
32
32
  this.ObjectPrivilegeId = userObjectPrivilegeAttr.ObjectPrivilegeId;
33
33
  this.UserId = userObjectPrivilegeAttr.UserId;
34
- this.PrivilegeCode = userObjectPrivilegeAttr.PrivilegeCode;
34
+ this.SystemPrivilegeId = userObjectPrivilegeAttr.SystemPrivilegeId;
35
35
  this.ObjectId = userObjectPrivilegeAttr.ObjectId;
36
36
  this.ObjectType = userObjectPrivilegeAttr.ObjectType;
37
37
  this.Status = userObjectPrivilegeAttr.Status;
@@ -1 +1 @@
1
- {"version":3,"file":"user-object-privilege.js","sourceRoot":"","sources":["../../../../src/components/user-object-privilege/user-object-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,yFAAmF;AAInF,MAAa,mBAAoB,SAAQ,oBAAU;IAcjD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;I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AE;wBAC3B,OAAO,IAAI,mBAAmB,CAC5B,uBAAuB,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAC7C,CAAC;qBACH;yBAAM;wBACL,MAAM,IAAI,oBAAU,CAClB,qBAAqB,EACrB,6BAA6B,EAC7B,+BAA+B,CAChC,CAAC;qBACH;iBACF;gBACD,OAAO,mBAAmB,CAAC;aAC5B;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AAxEH,kDAyEC;AA3CgB,+BAAW,GAAG,IAAI,gEAA6B,EAAE,CAAC"}
1
+ {"version":3,"file":"user-object-privilege.js","sourceRoot":"","sources":["../../../../src/components/user-object-privilege/user-object-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AACxD,yFAAmF;AAInF,MAAa,mBAAoB,SAAQ,oBAAU;IAcjD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAID,YAAoB,uBAAkD;QACpE,KAAK,EAAE,CAAC;QAhCV,cAAS,GAAG,yBAAyB,CAAC;QAiCpC,IAAI,uBAAuB,EAAE;YAC3B,IAAI,CAAC,iBAAiB,GAAG,uBAAuB,CAAC,iBAAiB,CAAC;YACnE,IAAI,CAAC,MAAM,GAAG,uBAAuB,CAAC,MAAM,CAAC;YAC7C,IAAI,CAAC,iBAAiB,GAAG,uBAAuB,CAAC,iBAAiB,CAAC;YACnE,IAAI,CAAC,QAAQ,GAAG,uBAAuB,CAAC,QAAQ,CAAC;YACjD,IAAI,CAAC,UAAU,GAAG,uBAAuB,CAAC,UAAU,CAAC;YACrD,IAAI,CAAC,MAAM,GAAG,uBAAuB,CAAC,MAAM,CAAC;YAC7C,IAAI,CAAC,UAAU,GAAG,uBAAuB,CAAC,SAAS,CAAC;YACpD,IAAI,CAAC,UAAU,GAAG,uBAAuB,CAAC,SAAS,CAAC;YACpD,IAAI,CAAC,YAAY,GAAG,uBAAuB,CAAC,WAAW,CAAC;YACxD,IAAI,CAAC,YAAY,GAAG,uBAAuB,CAAC,WAAW,CAAC;SACzD;IACH,CAAC;IAEM,MAAM,CAAO,IAAI,CAAC,aAAmB,EAAE,iBAA0B;;YACtE,IAAI;gBACF,MAAM,mBAAmB,GAAG,IAAI,mBAAmB,EAAE,CAAC;gBACtD,IAAI,iBAAiB,EAAE;oBACrB,MAAM,uBAAuB,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;wBAC7D,KAAK,EAAE,EAAE,iBAAiB,EAAE;wBAC5B,WAAW,EAAE,aAAa;qBAC3B,CAAC,CAAC;oBACH,IAAI,uBAAuB,EAAE;wBAC3B,OAAO,IAAI,mBAAmB,CAC5B,uBAAuB,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAC7C,CAAC;qBACH;yBAAM;wBACL,MAAM,IAAI,oBAAU,CAClB,qBAAqB,EACrB,6BAA6B,EAC7B,+BAA+B,CAChC,CAAC;qBACH;iBACF;gBACD,OAAO,mBAAmB,CAAC;aAC5B;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AAxEH,kDAyEC;AA3CgB,+BAAW,GAAG,IAAI,gEAA6B,EAAE,CAAC"}
@@ -6,7 +6,7 @@ export declare class UserPrivilege extends ObjectBase {
6
6
  ObjectId: string;
7
7
  UserPrivilegeId: number;
8
8
  UserId: number;
9
- PrivilegeCode: string;
9
+ SystemPrivilegeId: string;
10
10
  Status: string;
11
11
  private _CreatedById;
12
12
  private _UpdatedById;
@@ -32,7 +32,7 @@ class UserPrivilege extends general_1.ObjectBase {
32
32
  if (userPrivilegeAttr) {
33
33
  this.UserPrivilegeId = userPrivilegeAttr.UserPrivilegeId;
34
34
  this.UserId = userPrivilegeAttr.UserId;
35
- this.PrivilegeCode = userPrivilegeAttr.PrivilegeCode;
35
+ this.SystemPrivilegeId = userPrivilegeAttr.SystemPrivilegeId;
36
36
  this.Status = userPrivilegeAttr.Status;
37
37
  this._CreatedById = userPrivilegeAttr.CreatedById;
38
38
  this._UpdatedById = userPrivilegeAttr.UpdatedById;
@@ -1 +1 @@
1
- {"version":3,"file":"user-privilege.js","sourceRoot":"","sources":["../../../../src/components/user-privilege/user-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AAExD,2EAAsE;AAEtE,MAAa,aAAc,SAAQ,oBAAU;IAc3C,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAID,YAAoB,iBAAsC;QACxD,KAAK,EAAE,CAAC;QAhCV,cAAS,GAAG,mBAAmB,CAAC;QAChC,eAAU,GAAG,eAAe,CAAC;QAgC3B,IAAI,iBAAiB,EAAE;YACrB,IAAI,CAAC,eAAe,GAAG,iBAAiB,CAAC,eAAe,CAAC;YACzD,IAAI,CAAC,MAAM,GAAG,iBAAiB,CAAC,MAAM,CAAC;YACvC,IAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC,aAAa,CAAC;YACrD,IAAI,CAAC,MAAM,GAAG,iBAAiB,CAAC,MAAM,CAAC;YACvC,IAAI,CAAC,YAAY,GAAG,iBAAiB,CAAC,WAAW,CAAC;YAClD,IAAI,CAAC,YAAY,GAAG,iBAAiB,CAAC,WAAW,CAAC;YAClD,IAAI,CAAC,UAAU,GAAG,iBAAiB,CAAC,SAAS,CAAC;YAC9C,IAAI,CAAC,UAAU,GAAG,iBAAiB,CAAC,SAAS,CAAC;SAC/C;IACH,CAAC;IAEM,MAAM,CAAO,IAAI,CAAC,aAAmB,EAAE,eAAwB;;YACpE,IAAI;gBACF,IAAI,aAAa,GAAG,IAAI,aAAa,EAAE,CAAC;gBACxC,IAAI,eAAe,EAAE;oBACnB,MAAM,iBAAiB,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;wBACvD,KAAK,EAAE,EAAE,eAAe,EAAE;wBAC1B,WAAW,EAAE,aAAa;qBAC3B,CAAC,CAAC;oBACH,IAAI,iBAAiB,EAAE;wBACrB,aAAa,GAAG,IAAI,aAAa,CAAC,iBAAiB,CAAC,CAAC;qBACtD;yBAAM;wBACL,MAAM,IAAI,oBAAU,CAClB,eAAe,EACf,uBAAuB,EACvB,yBAAyB,CAC1B,CAAC;qBACH;iBACF;gBACD,OAAO,aAAa,CAAC;aACtB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;;AApEH,sCAqEC;AAvCgB,yBAAW,GAAG,IAAI,mDAAuB,EAAE,CAAC"}
1
+ {"version":3,"file":"user-privilege.js","sourceRoot":"","sources":["../../../../src/components/user-privilege/user-privilege.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAwD;AAExD,2EAAsE;AAEtE,MAAa,aAAc,SAAQ,oBAAU;IAc3C,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAID,YAAoB,iBAAsC;QACxD,KAAK,EAAE,CAA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7 @@ import { ObjectStatus } from '../enum/object-status.enum';
2
2
  export interface IGroupObjectPrivilegeAttr {
3
3
  GroupObjectPrivilegeId?: number;
4
4
  GroupCode: string;
5
- PrivilegeCode: string;
5
+ SystemPrivilegeId: string;
6
6
  ObjectId: string;
7
7
  ObjectType: string;
8
8
  Status: ObjectStatus;
@@ -1,7 +1,7 @@
1
1
  export interface IGroupPrivilegeAttr {
2
2
  GroupPrivilegeId?: number;
3
3
  GroupCode: string;
4
- PrivilegeCode: string;
4
+ SystemPrivilegeId: string;
5
5
  Status: string;
6
6
  CreatedById: number;
7
7
  UpdatedById: number;
@@ -7,6 +7,7 @@ export interface IGroupAttr {
7
7
  ParentGroupCode: string;
8
8
  InheritParentPrivilegeYN: string;
9
9
  InheritParentSystemAccessYN: string;
10
+ Path: string;
10
11
  Status: string;
11
12
  CreatedById: number;
12
13
  UpdatedById: number;
@@ -1,4 +1,5 @@
1
1
  export interface ISystemPrivilegeAttr {
2
+ SystemPrivilegeId: string;
2
3
  PrivilegeCode: string;
3
4
  SystemCode: string;
4
5
  Description: string;
@@ -2,7 +2,7 @@ import { ObjectStatus } from '../enum/object-status.enum';
2
2
  export interface IUserObjectPrivilegeAttr {
3
3
  ObjectPrivilegeId: number;
4
4
  UserId: number;
5
- PrivilegeCode: string;
5
+ SystemPrivilegeId: string;
6
6
  ObjectId: string;
7
7
  ObjectType: string;
8
8
  Status: ObjectStatus;
@@ -1,7 +1,7 @@
1
1
  export interface IUserPrivilegeAttr {
2
2
  UserPrivilegeId: number;
3
3
  UserId: number;
4
- PrivilegeCode: string;
4
+ SystemPrivilegeId: string;
5
5
  Status: string;
6
6
  CreatedById: number;
7
7
  UpdatedById: number;
@@ -6,7 +6,7 @@ import { ObjectStatus } from '../enum/object-status.enum';
6
6
  export default class GroupObjectPrivilegeModel extends Model {
7
7
  GroupObjectPrivilegeId: number;
8
8
  GroupCode: string;
9
- PrivilegeCode: string;
9
+ SystemPrivilegeId: string;
10
10
  ObjectId: string;
11
11
  ObjectType: string;
12
12
  Status: ObjectStatus;
@@ -39,7 +39,7 @@ __decorate([
39
39
  allowNull: false,
40
40
  }),
41
41
  __metadata("design:type", String)
42
- ], GroupObjectPrivilegeModel.prototype, "PrivilegeCode", void 0);
42
+ ], GroupObjectPrivilegeModel.prototype, "SystemPrivilegeId", void 0);
43
43
  __decorate([
44
44
  (0, sequelize_typescript_1.Column)({
45
45
  type: sequelize_typescript_1.DataType.STRING,
@@ -1 +1 @@
1
- {"version":3,"file":"group-object-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/group-object-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,iDAAwC;AACxC,uEAA6D;AAC7D,mEAA0D;AAQ3C,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,4BAAK;CAqE3D,CAAA;AApEC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,IAAI;KACpB,CAAC;;yEAC6B;AAE/B;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,sBAAU,CAAC;IAC5B,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;KAC1B,CAAC;;4DACgB;AAElB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,iCAAoB,CAAC;IACtC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,SAAS,EAAE,KAAK;KACjB,CAAC;;gEACoB;AAEtB;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,SAAS,EAAE,KAAK;KACjB,CAAC;;2DACe;AAEjB;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,SAAS,EAAE,KAAK;KACjB,CAAC;;6DACiB;AAEnB;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,SAAS,EAAE,KAAK;KACjB,CAAC;;yDACmB;AAErB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;8DACkB;AAEpB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;8DACkB;AAEpB;IAAC,gCAAS;8BACC,IAAI;4DAAC;AAEhB;IAAC,gCAAS;8BACC,IAAI;4DAAC;AAEhB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,iCAAoB,CAAC;8BAC3B,iCAAoB;4DAAC;AAEhC;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,sBAAU,CAAC;8BACrB,sBAAU;wDAAC;AAElB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;gEAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;gEAAC;AApED,yBAAyB;IAN7C,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,0BAA0B;QACrC,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,yBAAyB,CAqE7C;kBArEoB,yBAAyB"}
1
+ {"version":3,"file":"group-object-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/group-object-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;A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6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;8DACkB;AAEpB;IAAC,gCAAS;8BACC,IAAI;4DAAC;AAEhB;IAAC,gCAAS;8BACC,IAAI;4DAAC;AAEhB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,iCAAoB,CAAC;8BAC3B,iCAAoB;4DAAC;AAEhC;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,sBAAU,CAAC;8BACrB,sBAAU;wDAAC;AAElB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;gEAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;gEAAC;AApED,yBAAyB;IAN7C,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,0BAA0B;QACrC,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,yBAAyB,CAqE7C;kBArEoB,yBAAyB"}
@@ -5,7 +5,7 @@ import SystemPrivilegeModel from './system-privilege.entity';
5
5
  export default class GroupPrivilegeModel extends Model {
6
6
  GroupPrivilegeId: number;
7
7
  GroupCode: string;
8
- PrivilegeCode: string;
8
+ SystemPrivilegeId: string;
9
9
  Status: string;
10
10
  CreatedById: number;
11
11
  UpdatedById: number;
@@ -38,7 +38,7 @@ __decorate([
38
38
  allowNull: false,
39
39
  }),
40
40
  __metadata("design:type", String)
41
- ], GroupPrivilegeModel.prototype, "PrivilegeCode", void 0);
41
+ ], GroupPrivilegeModel.prototype, "SystemPrivilegeId", void 0);
42
42
  __decorate([
43
43
  (0, sequelize_typescript_1.Column)({
44
44
  type: sequelize_typescript_1.DataType.CHAR(20),
@@ -1 +1 @@
1
- {"version":3,"file":"group-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/group-privilege.ent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EAAE,KAAK;KACjB,CAAC;;8DACwB;AAE1B;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QACvB,YAAY,EAAE,QAAQ;KACvB,CAAC;;mDACa;AAEf;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;wDACkB;AAEpB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;wDACkB;AAEpB;IAAC,gCAAS;8BACC,IAAI;sDAAC;AAEhB;IAAC,gCAAS;8BACC,IAAI;sDAAC;AAEhB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,iCAAoB,CAAC;8BAC3B,iCAAoB;sDAAC;AAEhC;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,sBAAU,CAAC;8BACrB,sBAAU;kDAAC;AAElB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;0DAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;0DAAC;AAxDD,mBAAmB;IANvC,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,oBAAoB;QAC/B,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,mBAAmB,CAyDvC;kBAzDoB,mBAAmB"}
@@ -14,6 +14,7 @@ export default class GroupModel extends Model {
14
14
  InheritParentPrivilegeYN: string;
15
15
  InheritParentSystemAccessYN: string;
16
16
  Status: string;
17
+ Path: string;
17
18
  CreatedById: number;
18
19
  UpdatedById: number;
19
20
  CreatedAt: Date;
@@ -75,6 +75,13 @@ __decorate([
75
75
  }),
76
76
  __metadata("design:type", String)
77
77
  ], GroupModel.prototype, "Status", void 0);
78
+ __decorate([
79
+ (0, sequelize_typescript_1.Column)({
80
+ allowNull: false,
81
+ type: sequelize_typescript_1.DataType.STRING(10),
82
+ }),
83
+ __metadata("design:type", String)
84
+ ], GroupModel.prototype, "Path", void 0);
78
85
  __decorate([
79
86
  (0, sequelize_typescript_1.ForeignKey)(() => user_entity_1.default),
80
87
  (0, sequelize_typescript_1.Column)({
@@ -1 +1 @@
1
- {"version":3,"file":"group.entity.js","sourceRoot":"","sources":["../../../src/models/group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAU8B;AAC9B,+CAAiC;AACjC,6DAAwD;AACxD,2DAAiD;AACjD,qEAA2D;AAC3D,mFAAwE;AACxE,6EAAkE;AAQnD,IAAM,UAAU,kBAAhB,MAAM,UAAW,SAAQ,4BAAK;CA4F5C,CAAA;AA3FC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;KAC1B,CAAC;;6CACgB;AAElB;IAAC,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;KAC1B,CAAC;;wCACW;AAEb;IAAC,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,GAAG,CAAC;KAC3B,CAAC;;+CACkB;AAEpB;IAAC,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,IAAI,CAAC;KAC5B,CAAC;;wCACkB;AAEpB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAA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BAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;iDAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;iDAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,YAAU,EAAE,iBAAiB,CAAC;8BAClC,UAAU;+CAAC;AAExB;IAAC,IAAA,8BAAO,EAAC,GAAG,EAAE,CAAC,YAAU,CAAC;;+CACA;AAE1B;IAAC,IAAA,8BAAO,EAAC,GAAG,EAAE,CAAC,2BAAc,CAAC;;8CACD;AAE7B;IAAC,IAAA,8BAAO,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;;mDACI;AAEvC;IAAC,IAAA,8BAAO,EAAC,GAAG,EAAE,CAAC,uCAAyB,CAAC;;yDACU;AAEnD;IAAC,IAAA,8BAAO,EAAC,GAAG,EAAE,CAAC,oCAAsB,CAAC;;uDACQ;AAjG3B,UAAU;IAN9B,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,WAAW;QACtB,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,UAAU,CAkG9B;kBAlGoB,UAAU"}
@@ -2,6 +2,7 @@ import { Model } from 'sequelize-typescript';
2
2
  import System from './system.entity';
3
3
  import User from './user.entity';
4
4
  export default class SystemPrivilegeModel extends Model {
5
+ SystemPrivilegeId: string;
5
6
  PrivilegeCode: string;
6
7
  SystemCode: string;
7
8
  Description: string;
@@ -18,6 +18,14 @@ let SystemPrivilegeModel = class SystemPrivilegeModel extends sequelize_typescri
18
18
  __decorate([
19
19
  (0, sequelize_typescript_1.Column)({
20
20
  primaryKey: true,
21
+ allowNull: false,
22
+ type: sequelize_typescript_1.DataType.STRING(30),
23
+ field: 'SystemPrivilegeId',
24
+ }),
25
+ __metadata("design:type", String)
26
+ ], SystemPrivilegeModel.prototype, "SystemPrivilegeId", void 0);
27
+ __decorate([
28
+ (0, sequelize_typescript_1.Column)({
21
29
  allowNull: false,
22
30
  type: sequelize_typescript_1.DataType.STRING(50),
23
31
  field: 'PrivilegeCode',
@@ -1 +1 @@
1
- {"version":3,"file":"system-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/system-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAU8B;AAC9B,mDAAqC;AACrC,+CAAiC;AACjC,mEAAyD;AAQ1C,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,4BAAK;CA6DtD,CAAA;AA5DC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,KAAK,EAAE,eAAe;KACvB,CAAC;;2DACoB;AAEtB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,uBAAM,CAAC;IACxB,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,KAAK,EAAE,YAAY;KACpB,CAAC;;wDACiB;AAEnB;IAAC,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,IAAI,CAAC;QAC3B,KAAK,EAAE,aAAa;KACrB,CAAC;;yDACkB;AAEpB;IAAC,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;KACxB,CAAC;;oDACa;AAEf;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;yDACkB;AAEpB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;yDACkB;AAEpB;IAAC,gCAAS;8BACC,IAAI;uDAAC;AAEhB;IAAC,gCAAS;8BACC,IAAI;uDAAC;AAEhB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,uBAAM,CAAC;8BAChB,uBAAM;oDAAC;AAEf;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;2DAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;2DAAC;AAEpB;IAAC,IAAA,oCAAa,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,GAAG,EAAE,CAAC,+BAAkB,CAAC;;kDACvC;AA5DM,oBAAoB;IANxC,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,qBAAqB;QAChC,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,oBAAoB,CA6DxC;kBA7DoB,oBAAoB"}
1
+ {"version":3,"file":"system-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/system-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAU8B;AAC9B,mDAAqC;AACrC,+CAAiC;AACjC,mEAAyD;AAQ1C,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,4BAAK;CAoEtD,CAAA;AAnEC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,KAAK,EAAE,mBAAmB;KAC3B,CAAC;;+DACwB;AAE1B;IAAC,IAAA,6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DAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;2DAAC;AAEpB;IAAC,IAAA,oCAAa,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,GAAG,EAAE,CAAC,+BAAkB,CAAC;;kDACvC;AAnEM,oBAAoB;IANxC,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,qBAAqB;QAChC,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,oBAAoB,CAoExC;kBApEoB,oBAAoB"}
@@ -5,7 +5,7 @@ import { ObjectStatus } from '../enum/object-status.enum';
5
5
  export default class UserObjectPrivilegeModel extends Model {
6
6
  ObjectPrivilegeId: number;
7
7
  UserId: number;
8
- PrivilegeCode: string;
8
+ SystemPrivilegeId: string;
9
9
  ObjectId: string;
10
10
  ObjectType: string;
11
11
  Status: ObjectStatus;
@@ -38,7 +38,7 @@ __decorate([
38
38
  allowNull: false,
39
39
  }),
40
40
  __metadata("design:type", String)
41
- ], UserObjectPrivilegeModel.prototype, "PrivilegeCode", void 0);
41
+ ], UserObjectPrivilegeModel.prototype, "SystemPrivilegeId", void 0);
42
42
  __decorate([
43
43
  (0, sequelize_typescript_1.Column)({
44
44
  type: sequelize_typescript_1.DataType.STRING,
@@ -1 +1 @@
1
- {"version":3,"file":"user-object-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/user-object-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,uEAA6D;AAC7D,mEAA0D;AAQ3C,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,4BAAK;CAqE1D,CAAA;AApEC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,SAAS,EAAE,KAAK;QAChB,aAAa,EA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,EAAE,CAAC,iCAAoB,CAAC;8BAC3B,iCAAoB;2DAAC;AAEhC;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;+DAAC;AAEpB;IAAC,IAAA,gCAAS,EAAC,GAAG,EAAE,CAAC,qBAAI,EAAE,aAAa,CAAC;8BACtB,qBAAI;+DAAC;AApED,wBAAwB;IAN5C,IAAA,4BAAK,EAAC;QACL,SAAS,EAAE,yBAAyB;QACpC,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,WAAW;QACtB,SAAS,EAAE,WAAW;KACvB,CAAC;GACmB,wBAAwB,CAqE5C;kBArEoB,wBAAwB"}
1
+ {"version":3,"file":"user-object-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/user-object-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,uEAA6D;AAC7D,mEAA0D;AAQ3C,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,4BAAK;CAqE1D,CAAA;AApEC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,IAAI;KACpB,CAAC;;mEACwB;AAE1B;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;KACvB,CAAC;;wDACa;AAEf;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,iCAAoB,CAAC;IACtC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,SAAS,EAAE,KAAK;KACjB,CAAC;;mEACwB;AAE1B;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,M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AAwB"}
@@ -4,7 +4,7 @@ import SystemPrivilegeModel from './system-privilege.entity';
4
4
  export default class UserPrivilegeModel extends Model {
5
5
  UserPrivilegeId: number;
6
6
  UserId: number;
7
- PrivilegeCode: string;
7
+ SystemPrivilegeId: string;
8
8
  Status: string;
9
9
  CreatedById: number;
10
10
  UpdatedById: number;
@@ -39,7 +39,7 @@ __decorate([
39
39
  allowNull: false,
40
40
  }),
41
41
  __metadata("design:type", String)
42
- ], UserPrivilegeModel.prototype, "PrivilegeCode", void 0);
42
+ ], UserPrivilegeModel.prototype, "SystemPrivilegeId", void 0);
43
43
  __decorate([
44
44
  (0, sequelize_typescript_1.Column)({
45
45
  type: sequelize_typescript_1.DataType.CHAR(20),
@@ -1 +1 @@
1
- {"version":3,"file":"user-privilege.entity.js","sourceRoot":"","sources":["../../../src/models/user-privilege.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAS8B;AAC9B,+CAAiC;AACjC,uEAA6D;AAQ9C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4BAAK;CA0DpD,CAAA;AAzDC;IAAC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,IAAI;KACpB,CAAC;;2DACsB;AAExB;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,qBAAI,CAAC;IACtB,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,KAAK,EAAE,QAAQ;KAChB,CAAC;;kDACa;AAEf;IAAC,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,iCAAoB,CAAC;IACtC,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,SAAS,EAAE,KAAK;KACjB,CAAC;;yDACoB;AAEtB;IAAC,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