from enum import Enum

class Gender(Enum):
    MALE = "MALE"
    FEMALE = "FEMALE"

    @classmethod
    def choices(cls):
        return tuple((i.value, i.name) for i in cls)
    
    @classmethod
    def to_list(cls):
        return [e.value for e in cls]
    
    @classmethod
    def to_list_for_reports(cls):
        list = ['ALL']
        return list + Gender.to_list()
    
    @classmethod
    def to_list_for_input(cls):
        list = [None]
        return list + Gender.to_list()