from enum import Enum


class ExtendedEnum(Enum):
    @classmethod
    def list(cls):
        return list(map(lambda c: c.value, cls))


class MobileOSEnum(ExtendedEnum):
    AOS = "AOS"
    IOS = "IOS"


class UserGroupEnum(ExtendedEnum):
    USER = "user"
    ADMIN = "admin"
