import {environment} from '../environments/environment';

export class AppConfigModel {
  public Server = 'https://c5016.biukop.com.au:8080/api/v1/';
  public Socket = 'ws://c5016.biukop.com.au:8080/api/v1/';
  public SessionStorageKey = 'sk';
  public Version ? = environment.appVersion;
  constructor(payload: Partial<AppConfigModel>) {
    this.Server = payload.Server || 'https://c5016.biukop.com.au:8080/api/v1/';
    this.Socket = payload.Socket || 'ws://c5016.biukop.com.au:8080/api/v1/';
    this.SessionStorageKey = payload.SessionStorageKey || 'sk';
    this.Version = environment.appVersion;
  }
}
