Skip to content

Commit 674e309

Browse files
committed
Add missing UserStats model
1 parent f2f4326 commit 674e309

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

licensechain/models.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,14 @@ class LicenseStats(BaseLicenseChainModel):
175175
revenue: float = 0.0
176176

177177

178+
class UserStats(BaseLicenseChainModel):
179+
"""User statistics model."""
180+
181+
total: int = 0
182+
active: int = 0
183+
inactive: int = 0
184+
185+
178186
class ValidationResult(BaseLicenseChainModel):
179187
"""License validation result model."""
180188

0 commit comments

Comments
 (0)