feat: implement financial recurrence, privacy settings, and premium DateTimePicker overhaul

This commit is contained in:
Erik Silva
2026-01-25 20:17:36 -03:00
parent 416bd83ea7
commit e4935941fc
43 changed files with 3238 additions and 765 deletions

View File

@@ -44,6 +44,7 @@ model Group {
pixKey String?
pixName String?
status GroupStatus @default(ACTIVE)
showTotalInPublic Boolean @default(true)
}
enum GroupStatus {
@@ -63,6 +64,7 @@ model Player {
number Int?
position String @default("MEI")
level Int @default(3)
isLeader Boolean @default(false)
groupId String
createdAt DateTime @default(now())
group Group @relation(fields: [groupId], references: [id])
@@ -167,6 +169,7 @@ model FinancialEvent {
isRecurring Boolean @default(false)
recurrenceInterval String? // 'MONTHLY', 'WEEKLY'
recurrenceEndDate DateTime?
showTotalInPublic Boolean @default(true)
}
model Payment {