Skip to content

Commit

Permalink
Added DAO to class names to keep with that pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadam14 committed Dec 27, 2023
1 parent 915ecf0 commit 84aa833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entities/models/dao.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class RecordDAO(AuditMixin, Base):
field_name: Mapped[str]
field_value: Mapped[str]

class FilingPeriod(AuditMixin, Base):
class FilingPeriodDAO(AuditMixin, Base):
__tablename__ = "filing_period"
id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True)
name: Mapped[str]
Expand All @@ -78,7 +78,7 @@ class FilingPeriod(AuditMixin, Base):
due: Mapped[datetime]
filing_type: Mapped[FilingType] = mapped_column(Enum(FilingType))

class Filing(AuditMixin, Base):
class FilingDAO(AuditMixin, Base):
__tablename__ = "filing"
id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True)
lei: Mapped[str]
Expand Down

0 comments on commit 84aa833

Please sign in to comment.