add status in model
This commit is contained in:
parent
028770a52c
commit
ad8fd797d2
|
@ -55,9 +55,10 @@ class VerificableCredential(models.Model):
|
||||||
class Status(models.IntegerChoices):
|
class Status(models.IntegerChoices):
|
||||||
ENABLE = 1, _("Enable")
|
ENABLE = 1, _("Enable")
|
||||||
REQUIRED = 2, _("Required")
|
REQUIRED = 2, _("Required")
|
||||||
ISSUED = 3, _("Issued")
|
DENEGATED = 3, _("Denegated")
|
||||||
REVOKED = 4, _("Revoked")
|
ISSUED = 4, _("Issued")
|
||||||
EXPIRED = 5, _("Expired")
|
REVOKED = 5, _("Revoked")
|
||||||
|
EXPIRED = 6, _("Expired")
|
||||||
|
|
||||||
id_string = models.CharField(max_length=250)
|
id_string = models.CharField(max_length=250)
|
||||||
verified = models.BooleanField()
|
verified = models.BooleanField()
|
||||||
|
|
Loading…
Reference in New Issue