import RecordsTableColumn from '@osm/Components/DataTable/RecordsTableColumn'; import RecordsPage from '@osm/Components/Pages/RecordsPage'; import User from '@osm/Models/User'; import UsersRecordDialog from '@osm/Views/Users/UsersRecordDialog'; import collect from 'collect.js'; import {Children} from 'mithril'; export default class UsersRecords extends RecordsPage { modelType = User; recordDialogType = UsersRecordDialog; recordPageRouteName = 'users.show'; title = __('Utenti'); tableColumns() { return collect({ id: {__('ID')}, username: {__('Nome utente')}, email: {__('Email')}, createdAt: {__('Creato il')}, updatedAt: {__('Aggiornato il')} }); } }