
rails generate scaffold_controller Setup/Lookup lookup_type:string name:string value:string --no-migration
rails generate scaffold_controller Setup/Employee name:string role:string encrypted_access_code:string --no-migration

rails generate scaffold_controller Setup/Customer name:string company:string contact_no:string email:string membership:references membership_type:string membership_authentication_code:string --no-migration
rails generate scaffold_controller Setup/Zone name:string is_active:boolean created_by:string --no-migration
rails generate scaffold_controller Setup/DiningFacility zone:references name:string status:string type:string seater:integer order_by:integer created_by:string is_active:boolean --no-migration

rails generate scaffold_controller Setup/Menu name:string is_active:boolean valid_days:string valid_time_from:time valid_time_to:time created_by:string --no-migration

rails generate scaffold_controller Setup/MenuCategory menu:references name:string alt_name:string order_by:integer menu_category:references --no-migration
rails generate scaffold_controller Setup/MenuItem item_code:string name:string alt_name:string type:string menu_category:references menu_item:references min_selectable_item:integer max_selectable_item:integer options:json attributes:json created_by:string --no-migration

rails generate scaffold_controller Setup/OrderQueueProcessByZone order_queue_station:references zone:references --no-migration
rails generate scaffold_controller Setup/OrderQueueStation station_name:string is_active:boolean processing_items:json print_copy:boolean printer_name:string font_size:integer cut_per_item:boolean use_alternate_name:boolean created_by:string --no-migration

rails generate scaffold_controller Setup/PaymentMethodSetting payment_method:string is_active:boolean gateway_communication_type:string gateway_url:string auth_token:string merchant_account:references --no-migration

rails generate scaffold Setup/TaxProfile name:string rate:decimal inclusive:boolean order_by:integer created_by:string --no-migration --skip-model
rails generate scaffold_controller Setup/CashierTerminal name:string is_active:boolean is_currently_login:boolean auto_print_receipt:string printer_name:string header:json footer:json font:string font_size:string show_tax:boolean show_cashier:boolean show_guest_info:boolean --no-migration

rails generate scaffold_controller Settings/OrderQueueStation station_name:string is_active:boolean processing_items:json print_copy:boolean printer_name:string font_size:integer cut_per_item:boolean use_alternate_name:boolean created_by:string --no-migration

rails generate scaffold_controller transactions/Sale cashier:references cashier_name:string requested_by:string requested_at:datetime receipt_no:string receipt_date:datetime customer:references payment_status:string sale_status:string total_amount:decimal total_discount:decimal total_tax:decimal tax_type:string grand_total:decimal rounding_adjustment:decimal amount_received:decimal amount_changed:decimal --no-migration

rails g model shift_sale cashier_terminal:references shift_started_at:datetime shift_closed_at:datetime employee:references opening_balance:decimal closing_balance:decimal total_revenue:decimal total_discounts:decimal total_taxes:decimal grand_total:decimal nett_sales:decimal cash_sales:decimal credit_sales:decimal other_sales:decimal commercial_taxes:decimal cash_in:decimal cash_out:decimal 
