text: from django.db import models
  
  # Create your models here.
  class Cliente(models.Model):
      nome = models.CharField(max_length=150)
      cpf = models.CharField(max_length=14)
      num = models.CharField(max_length=50)
      endereco = models.CharField(max_length=150)
      cidade = models.CharField(max_length=150)
      limite = models.DecimalField(max_digits=9, decimal_places=2)
      situacao = models.BooleanField(default=True)
      def __str__(self):
          return self.nome
  class Cheque(models.Model):
      cliente = models.ForeignKey(Cliente, on_delete=models.CASCADE, related_name='cheques')
      banco = models.CharField(max_length=25)
      numero = models.IntegerField(default=0)
      valor = models.DecimalField(max_digits=20, decimal_places=2)
      emissao = models.DateField()
      vencimento = models.DateField()
      sem_fundos = models.BooleanField(default=False)
      def __str__(self):
          return self.banco