Add new enums to match Flutter project structure
All checks were successful
Build frontend / build (push) Successful in 39s
All checks were successful
Build frontend / build (push) Successful in 39s
- Add RentPropertyCondition (WithFurniture/WithoutFurniture) - Add RentPropertyType (Furnished/Unfurnished/SemiFurnished) - Add RentType (Monthly/Daily) - Add PropertyService (13 services for detailsJSON) - Add PropertyTerm (NoSmoking/NoAnimals/NoParties) - Add Currency (SYP/USD) - Update enums barrel file
This commit is contained in:
17
app/enums/RentPropertyType.js
Normal file
17
app/enums/RentPropertyType.js
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* RentPropertyType Enum
|
||||
* Sent as `type` field in RentPropertyDto
|
||||
*/
|
||||
const RentPropertyType = Object.freeze({
|
||||
FURNISHED: 0,
|
||||
UNFURNISHED: 1,
|
||||
SEMI_FURNISHED: 2,
|
||||
});
|
||||
|
||||
const RentPropertyTypeLabels = Object.freeze({
|
||||
[RentPropertyType.FURNISHED]: 'مفروش بالكامل',
|
||||
[RentPropertyType.UNFURNISHED]: 'غير مفروش',
|
||||
[RentPropertyType.SEMI_FURNISHED]: 'مفروش جزئياً',
|
||||
});
|
||||
|
||||
export { RentPropertyType, RentPropertyTypeLabels };
|
||||
Reference in New Issue
Block a user