import { EN_CoreEntities } from '../services/globals';
import { BaseEntity } from './generics/baseentity';


export class ServerInfo extends BaseEntity {
  public typeName: string = EN_CoreEntities.ServerInfo; //is used as Controller for URL queries
  version: string;
  server: string;
  status: number;
  message: string;
  databaseServer: string;
  databaseName: string;
  databaseStatus: string;

  userName: string;
  serviceLoginName: string;
  isLive: boolean;
  fileServer: string;
  lastDataLoaded: Date;
  clientVersion: string;
  firstOnlineTime: Date;
  lastOfflineTime: Date;
  attributes: any;
  officeFileServer: string;
  officeFileServerURL: string;
  officeFileServerVersion: string;
  officeFileServerDBServer: string;
  officeFileServerDBName: string;

  isNew() { return false; }
}
