Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Project < ActiveRecord::Base
- enum offer_type_code: {
- sale: 'sale',
- rent: 'rent',
- purchase: 'purchase',
- sublease: 'sublease'
- }
- enum project_state_code: {
- in_preparation: 'in_preparation',
- under_construction: 'under_construction',
- finished: 'finished',
- approved: 'approved'
- }
- enum standard_code: {
- standard: 'standard',
- higher_standard: 'higher_standard',
- bare: 'bare'
- }
- enum construction_code: {
- reinforced_concrete: 'reinforced_concrete',
- brick: 'brick',
- reinforced_concrete_with_brick: 'reinforced_concrete_with_brick',
- itong: 'itong',
- straw: 'straw',
- ceramics: 'ceramics',
- wood: 'wood',
- mounted_wood: 'mounted_wood'
- }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement