@@ -160,12 +160,6 @@ class InMemoryEntity {
160160 return false ;
161161 }
162162 }
163- get id ( ) {
164- return this . prop ( "_id" , "" ) ;
165- }
166- set id ( id ) {
167- this . setProp ( "_id" , id ) ;
168- }
169163 static get cls ( ) {
170164 return this . prototype . constructor . name ;
171165 }
@@ -176,12 +170,6 @@ class InMemoryEntity {
176170 getClsName ( ) {
177171 return this . constructor . name ;
178172 }
179- get slug ( ) {
180- return this . prop ( "slug" , "" ) ;
181- }
182- get isSystemEntity ( ) {
183- return Boolean ( this . prop ( "systemName" , "" ) ) ;
184- }
185173 /**
186174 * @summary get small identifying payload of object
187175 * @param byIdOnly if true, return only the id
@@ -220,6 +208,37 @@ class InMemoryEntity {
220208 }
221209 return filtered [ 0 ] ;
222210 }
211+ // Properties from BaseInMemoryEntitySchema
212+ get id ( ) {
213+ return this . prop ( "_id" , "" ) ;
214+ }
215+ set id ( id ) {
216+ this . setProp ( "_id" , id ) ;
217+ }
218+ get _id ( ) {
219+ return this . prop ( "_id" , "" ) ;
220+ }
221+ set _id ( id ) {
222+ this . setProp ( "_id" , id ) ;
223+ }
224+ get schemaVersion ( ) {
225+ return this . prop ( "schemaVersion" , "" ) ;
226+ }
227+ set schemaVersion ( schemaVersion ) {
228+ this . setProp ( "schemaVersion" , schemaVersion ) ;
229+ }
230+ get systemName ( ) {
231+ return this . prop ( "systemName" , "" ) ;
232+ }
233+ set systemName ( systemName ) {
234+ this . setProp ( "systemName" , systemName ) ;
235+ }
236+ get slug ( ) {
237+ return this . prop ( "slug" , "" ) ;
238+ }
239+ get isSystemEntity ( ) {
240+ return Boolean ( this . systemName ) ;
241+ }
223242}
224243exports . InMemoryEntity = InMemoryEntity ;
225244// Override if deepClone of config is required
0 commit comments