/**
 * OwnerType Enum
 * Backend values for owner sub-types
 * Used in: Owner registration (Owner/Add)
 */
const OwnerType = Object.freeze({
  PERSON: 0,
  REAL_ESTATE_AGENCY: 1,
});

// Map value → Arabic label
const OwnerTypeLabels = Object.freeze({
  [OwnerType.PERSON]: 'شخص',
  [OwnerType.REAL_ESTATE_AGENCY]: 'وكالة عقارية',
});

const OwnerTypeTranslationKeys = Object.freeze({
  [OwnerType.PERSON]: 'ownerType.person',
  [OwnerType.REAL_ESTATE_AGENCY]: 'ownerType.agency',
});

export { OwnerType, OwnerTypeLabels, OwnerTypeTranslationKeys };
