22 lines
701 B
JavaScript
22 lines
701 B
JavaScript
/**
|
|
* RentPropertyCondition Enum
|
|
* Furniture condition of the property
|
|
* Sent as `propertyType` field in API
|
|
*/
|
|
const RentPropertyCondition = Object.freeze({
|
|
WITH_FURNITURE: 0,
|
|
WITHOUT_FURNITURE: 1,
|
|
});
|
|
|
|
const RentPropertyConditionLabels = Object.freeze({
|
|
[RentPropertyCondition.WITH_FURNITURE]: 'مفروش',
|
|
[RentPropertyCondition.WITHOUT_FURNITURE]: 'غير مفروش',
|
|
});
|
|
|
|
const RentPropertyConditionTranslationKeys = Object.freeze({
|
|
[RentPropertyCondition.WITH_FURNITURE]: 'rentCondition.furnished',
|
|
[RentPropertyCondition.WITHOUT_FURNITURE]: 'rentCondition.unfurnished',
|
|
});
|
|
|
|
export { RentPropertyCondition, RentPropertyConditionLabels, RentPropertyConditionTranslationKeys };
|