filtros
This commit is contained in:
@@ -9,3 +9,31 @@ class Timbres(models.Model):
|
||||
serie = models.CharField(max_length=10)
|
||||
tipo = models.CharField(max_length=35)
|
||||
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
class Meta:
|
||||
ordering = ('-created_at',)
|
||||
|
||||
|
||||
class ErroresTimbres(models.Model):
|
||||
uuid = models.CharField(max_length=36)
|
||||
description = models.TextField()
|
||||
rfcc = models.CharField(max_length=13)
|
||||
folio = models.CharField(max_length=55)
|
||||
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
class Meta:
|
||||
ordering = ('uuid',)
|
||||
abstract = True
|
||||
|
||||
class Clientes(models.Model):
|
||||
RFC = models.CharField(max_length=13, unique=True)
|
||||
Nombre = models.CharField(max_length=100)
|
||||
|
||||
|
||||
Activo = models.BooleanField(default=True)
|
||||
fecha_baja = models.DateField(blank=True)
|
||||
|
||||
class Meta:
|
||||
ordering = ('RFC',)
|
||||
abstract =True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user