from django.db.models import IntegerChoices
from django.utils.translation import gettext_lazy as _


class ChatStatus(IntegerChoices):
    OPEN = (1, _('Open'))
    CLOSE = (0, _('Close'))


class AuthorStatus(IntegerChoices):
    ONLINE = (1, _('Online'))
    OFFLINE = (0, _('Offline'))

from django.db.models import IntegerChoices
from django.utils.translation import gettext_lazy as _


class ChatStatus(IntegerChoices):
    OPEN = (1, _('Open'))
    CLOSE = (0, _('Close'))


class AuthorStatus(IntegerChoices):
    ONLINE = (1, _('Online'))
    OFFLINE = (0, _('Offline'))
