from django.db import models


class TeleSettings(models.Model):
    tg_token = models.CharField(max_length=200, verbose_name='token')
    tg_chat = models.CharField(max_length=200, verbose_name='id chat')
    tg_text = models.TextField(verbose_name='message text')

    def __str__(self):
        return self.tg_chat

    class Meta:
        verbose_name = 'Настройка'
        verbose_name_plural = 'Настройки'
