mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-07 02:58:02 +00:00
9 lines
253 B
Python
9 lines
253 B
Python
from django.db import models
|
|
from accounts.models import Customer
|
|
|
|
|
|
class Invoice(models.Model):
|
|
customer = models.ForeignKey(
|
|
Customer, on_delete=models.CASCADE, related_name="invoices"
|
|
)
|
|
total_cents = models.PositiveIntegerField()
|