Rename custdata model to CustomerClassic

This commit is contained in:
Lance Edgar 2023-06-12 17:28:55 -05:00
parent 852a989bd5
commit 4952d2fa3d
2 changed files with 17 additions and 9 deletions

View file

@ -209,7 +209,7 @@ class Product(Base):
last_sold = sa.Column(sa.DateTime(), nullable=True)
class CustData(Base):
class CustomerClassic(Base):
"""
Represents a customer of the organization.
@ -275,3 +275,7 @@ class CustData(Base):
def __str__(self):
return "{} {}".format(self.first_name or '', self.last_name or '').strip()
# TODO: deprecate / remove this
CustData = CustomerClassic