30 lines
545 B
JavaScript
30 lines
545 B
JavaScript
|
import { userTable, userQuery, userItem, userList } from "../TestDao"
|
||
|
|
||
|
// extend actions for userTable
|
||
|
class userTableExt extends userTable {
|
||
|
getFirstUserName() {
|
||
|
return this.newQuery().first().getName()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// extend actions for userQuery
|
||
|
// class userQueryExt extends userQuery {
|
||
|
// extAction() {
|
||
|
//
|
||
|
// }
|
||
|
// }
|
||
|
|
||
|
// extend actions for userItem
|
||
|
class userItem {
|
||
|
getName() {
|
||
|
return this.name
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// extend actions for userList
|
||
|
// class userListExt extends userList {
|
||
|
// extAction() {
|
||
|
//
|
||
|
// }
|
||
|
// }
|