import { TransactionItemModel } from './data/models/transaction-item.model';
import { TransactionTaxModel } from './data/models/transaction-tax.model';
import { TransactionModel } from './data/models/transaction.model';

export enum TransactionPaymentType {
  MIDTRANS = 'midtrans',
  BANK_TRANSFER = 'bank transfer',
  QRIS = 'qris',
  COUNTER = 'counter',
  CASH = 'cash',
  CC = 'credit card',
  DEBIT = 'debit',
  EMONEY = 'e-money',
}

export enum TransactionType {
  COUNTER = 'counter', // transaksi yang dibuat dari POS / Counter
  ADMIN = 'admin', // transaksi yang dibuat dari ADMIN page booking
  ONLINE = 'online', // transaksi yang dibuat dari USER booking online
}

export enum TransactionUserType {
  GROUP = 'group',
  VIP = 'vip',
}

export const TransactionModels = [
  TransactionModel,
  TransactionItemModel,
  TransactionTaxModel,
];

export enum DemographyNationality {
  LOCAL = 'local',
  FOREIGN = 'foreign',
  MIX = 'mix',
  FOREIGNER = 'foreigner',
}
