Пример #1
0
class InvestorType(Enum):
    """Investor Type constants."""

    new_investor = Constant('New Investor',
                            'e6a01052-8c36-4a32-b5b9-fc2be4b34408')
    existing_investor = Constant('Existing Investor',
                                 '40e33f91-f565-4b89-8e18-cfefae192245')
Пример #2
0
class Programme(Enum):
    """Programme constants."""

    great_branded = Constant('GREAT Branded',
                             '3117da1b-ac76-4b03-af7e-2487d931491c')
    great_challenge_fund = Constant('GREAT Challenge Fund',
                                    '1abe5563-6482-41d8-b566-6a9ee9e37c5f')
    grown_in_britain = Constant('Grown in Britain',
                                'd352a68f-aaf4-4c43-b39d-9bca67a8322e')
Пример #3
0
class Involvement(Enum):
    """Level of Involvemnet constants."""

    no_involvement = Constant('No Involvement',
                              '945f13e9-9a27-4921-8d2d-8daf5a4c59a8')
    hq_and_post_only = Constant('HQ and Post Only',
                                'bb68ba20-ef54-472d-9a1e-309c1eaa79c4')
    post_only = Constant('Post Only', '1a01c63b-26ad-46eb-b8aa-c925c2395ec9')
    hq_only = Constant('HQ Only', '9c22137d-648e-4ecb-8fe7-652ac6a4f53a')
Пример #4
0
class SpecificProgramme(Enum):
    """Specific Investment Programme constants."""

    innovation_gateway = Constant('Innovation Gateway',
                                  '8803a907-a9be-4fce-9482-b9bd3dece344')
    space = Constant('Space', '1c91dd94-cae4-4ea4-b37e-8ef88cb10e7f')
    advanced_engineering_supply_chain = Constant(
        'Advanced Engineering Supply Chain',
        '6513f918-4263-4516-8abb-8e4a6a4de857',
    )
Пример #5
0
class InvestmentActivityType(Enum):
    """Investment Activity type constants."""

    change = Constant('Change', '931f96a9-bd15-49c0-b8ee-ab3ad7ff27b2')
    risk = Constant('Risk', '9810a38f-95f6-4cb4-87f4-369eef23d2ca')
    issue = Constant('Issue', '6aa82e79-bfab-4466-8d92-e108fd4c0b42')
    spi_interaction = Constant('SPI Interaction',
                               'fa6ed4db-4e1d-4903-988b-3e8be45b37c2')
    internal_interaction = Constant('Internal Interaction',
                                    'c50d2f7a-57cd-435e-bf87-d04c1dab11e6')
Пример #6
0
class ProjectManagerRequestStatus(Enum):
    """Project manager request status constants."""

    requested = Constant('Requested', '1fcebb43-244f-47e7-81f8-97790afa6383')
    rejected = Constant('Rejected', 'ad60c3ba-03d5-47de-b31f-a9f5ad1bc220')
    assigned = Constant('Assigned', '9fc09623-f84f-450e-994b-3234c6d3248c')
    re_requested = Constant('Re-requested',
                            '993f31d9-549d-4c0d-95f0-0f86e62e949d')
    self_assigned = Constant('Self assigned',
                             'd50b8f0c-20c1-484e-9018-b98e9631b08b')
Пример #7
0
class AssetClassInterest(Enum):
    """Asset class interest constants."""

    biofuel = Constant(
        'Biofuel',
        '66507830-595d-432e-8521-9daf11785265',
    )
    biomass = Constant(
        'Biomass',
        'f2b6c1a7-4d4f-4fd9-884b-5e1f5b3525be',
    )
Пример #8
0
class ProfileType(Enum):
    """Specific profile type constants."""

    large = Constant(
        'Large',
        '32451551-28d9-4aff-bc25-45e4cfb15265',
    )
    growth = Constant(
        'Growth',
        '38a38617-84d9-41d0-bf01-d8f027cd109b',
    )
Пример #9
0
class FDISICGrouping(Enum):
    """FDI SIC Grouping constants."""

    retail = Constant(
        'Retails & wholesale trade, repair of motor vehicles & motor',
        'c7ba3108-5fb3-486c-8d29-e71b1c0e29cd',
    )
    electric = Constant(
        'Electricity, Gas, Water and waste',
        '3b847399-84a6-4d98-b135-104bfdb9f5fa',
    )
Пример #10
0
class LargeCapitalInvestmentTypes(Enum):
    """Investment types for large capital constants."""

    direct_investment_in_project_equity = Constant(
        'Direct Investment in Project Equity',
        '4170d99a-02fc-46ee-8fd4-3fe786717708',
    )
Пример #11
0
class DealTicketSize(Enum):
    """Deal ticket size constants."""

    up_to_forty_nine_million = Constant(
        'Up to £49 million',
        '56492c50-aa12-404d-a14e-1eaae24ac6ee',
    )
Пример #12
0
class RequiredChecksConducted(Enum):
    """Required checks conducted constants."""

    cleared = Constant(
        'Cleared',
        '02d6fc9b-fbb9-4621-b247-d86f2487898e',
    )
    issues_identified = Constant(
        'Issues identified',
        '9beab8fc-1094-49b4-97d0-37bc7a9de631',
    )
    not_yet_checked = Constant(
        'Not yet checked',
        '81fafe5a-ed32-4f46-bdc5-2cafedf828e8',
    )
    checks_not_required = Constant(
        'Checks not required',
        'e6f66f9d-ed12-4bfd-9dd0-ac7e44f35034',
    )
Пример #13
0
class EventType(Enum):
    """Event type constants."""

    seminar = Constant('Seminar', '771f654d-e6b1-4fad-8a89-b6ac44147830')
    exhibition = Constant('Exhibition', '2fade471-e868-4ea9-b125-945eb90ae5d4')
Пример #14
0
class LocationType(Enum):
    """Location type constants."""

    hq = Constant('HQ', 'b71fa81c-0c22-44c6-ab6f-13b9e045dc10')
    post = Constant('Post', '6043fe88-9fc4-428e-8243-a20076e5c811')
Пример #15
0
class BusinessTypeConstant(Enum):
    """
    Business type constants.

    Note:
        These are automatically loaded to the database via a post_migrate signal receiver (which
        runs whenever the migrate command is run).
        The signal receiver only creates and updates business types; it does not delete them.
        See datahub.company.signals for the implementation.

    """

    charity = Constant('Charity', '9dd14e94-5d95-e211-a939-e4115bead28a')
    company = Constant('Company', '98d14e94-5d95-e211-a939-e4115bead28a')
    government_dept_or_other_public_body = Constant(
        'Government department or other public body',
        '9cd14e94-5d95-e211-a939-e4115bead28a',
    )
    intermediary = Constant('Intermediary',
                            '9bd14e94-5d95-e211-a939-e4115bead28a')
    limited_partnership = Constant(
        'Limited partnership',
        '8b6eaf7e-03e7-e611-bca1-e4115bead28a',
    )
    limited_liability_partnership = Constant(
        'Limited liability partnership',
        'b70764b9-e523-46cf-8297-4c694ecbc5ce',
    )
    partnership = Constant('Partnership',
                           '9ad14e94-5d95-e211-a939-e4115bead28a')
    sole_trader = Constant('Sole Trader',
                           '99d14e94-5d95-e211-a939-e4115bead28a')
    private_limited_company = Constant(
        'Private limited company',
        '6f75408b-03e7-e611-bca1-e4115bead28a',
    )
    public_limited_company = Constant(
        'Public limited company',
        'dac8c591-03e7-e611-bca1-e4115bead28a',
    )
    # These are called UK establishments by Companies House and in law, but we are calling them
    # branches in the front end.
    uk_establishment = Constant(
        'UK branch of foreign company (BR)',
        'b0730fc6-fcce-4071-bdab-ba8de4f4fc98',
    )
    community_interest_company = Constant(
        'Community interest company',
        '34e4cb83-e5e1-421e-ac90-8a52edcc209c',
    )