@@ -3,6 +3,7 @@ from django.contrib.auth.models import User
|
||||
|
||||
# Create your models here.
|
||||
class Transaction(models.Model):
|
||||
trade_id = models.CharField(max_length=20, default='MANUAL')
|
||||
crypto_currency = models.CharField(max_length=10)
|
||||
owner = models.ForeignKey(User, on_delete=models.CASCADE)
|
||||
amount_before_fee = models.DecimalField(max_digits=24, decimal_places=10)
|
||||
|
||||
Reference in New Issue
Block a user