# These tables live in Supabase Postgres (pickker_users, pickker_customer_profiles,
# pickker_picker_profiles) and are accessed via accounts.supabase_client, not Django's
# ORM. The classes below just hold the shared choice constants used by forms/views.


class Role:
    CUSTOMER = 'customer'
    PICKER = 'picker'
    ADMIN = 'admin'

    SIGNUP_CHOICES = [(CUSTOMER, 'Customer'), (PICKER, 'Picker')]


class AccountType:
    B2C = 'b2c'
    B2B = 'b2b'

    CHOICES = [(B2C, 'Individual'), (B2B, 'Business')]


class VehicleType:
    MOTORCYCLE = 'motorcycle'
    CAR = 'car'
    BICYCLE = 'bicycle'
    NONE = 'none'

    CHOICES = [(MOTORCYCLE, 'Motorcycle'), (CAR, 'Car'), (BICYCLE, 'Bicycle'), (NONE, 'None')]


class SourceType:
    MARKET = 'market'
    WAREHOUSE = 'warehouse'
    SHOP = 'shop'

    CHOICES = [(MARKET, 'Market stall'), (WAREHOUSE, 'Warehouse'), (SHOP, "Picker's own shop")]
