from django.db import models
from django.contrib.auth.models import User


class IncomeExpense(models.Model):
    entry_type = models.CharField(max_length=100)
    amount = models.IntegerField()
    details = models.TextField()
    capture_date = models.DateField()
    username = models.ForeignKey(User, on_delete=models.CASCADE)


class UserBalance(models.Model):
    balance = models.IntegerField()
    username = models.ForeignKey(User, on_delete=models.CASCADE)

e13b7bb7165a9a477697b1ac6ead401bc80c294b
<mask token>


class UserBalance(models.Model):
    balance = models.IntegerField()
    username = models.ForeignKey(User, on_delete=models.CASCADE)

<mask token>


class IncomeExpense(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class UserBalance(models.Model):
    balance = models.IntegerField()
    username = models.ForeignKey(User, on_delete=models.CASCADE)

<mask token>


class IncomeExpense(models.Model):
    entry_type = models.CharField(max_length=100)
    amount = models.IntegerField()
    details = models.TextField()
    capture_date = models.DateField()
    username = models.ForeignKey(User, on_delete=models.CASCADE)


class UserBalance(models.Model):
    balance = models.IntegerField()
    username = models.ForeignKey(User, on_delete=models.CASCADE)

from django.db import models
from django.contrib.auth.models import User


class IncomeExpense(models.Model):
    entry_type = models.CharField(max_length=100)
    amount = models.IntegerField()
    details = models.TextField()
    capture_date = models.DateField()
    username = models.ForeignKey(User, on_delete=models.CASCADE)


class UserBalance(models.Model):
    balance = models.IntegerField()
    username = models.ForeignKey(User, on_delete=models.CASCADE)
