Progres dan Bursa Investasi

# fix:
- Bar progres berfungsi
- Urutan bursa investasi
# No issue
This commit is contained in:
2023-12-19 15:47:54 +08:00
parent 8ee62b875d
commit 414cf8f776
104 changed files with 1307 additions and 513 deletions

View File

@@ -22,7 +22,6 @@ model User {
UserSession UserSession?
Profile Profile?
Investasi Investasi[]
// Investor Investor[]
TransaksiInvestasi TransaksiInvestasi[]
}
@@ -124,19 +123,17 @@ model Investasi {
masterPembagianDevidenId String?
MasterPencarianInvestor MasterPencarianInvestor? @relation(fields: [masterPencarianInvestorId], references: [id])
masterPencarianInvestorId String?
ImageInvestasi Images? @relation(fields: [imagesId], references: [id])
imagesId String? @unique
ProspektusInvestasi ProspektusInvestasi?
MasterStatusInvestasi MasterStatusInvestasi? @relation(fields: [masterStatusInvestasiId], references: [id])
masterStatusInvestasiId String? @default("2")
ProspektusInvestasi ProspektusInvestasi?
BeritaInvestasi BeritaInvestasi[]
DokumenInvestasi DokumenInvestasi[]
// Investor Investor[]
TransaksiInvestasi TransaksiInvestasi[]
TransaksiInvestasi TransaksiInvestasi[]
MasterProgresInvestasi MasterProgresInvestasi? @relation(fields: [masterProgresInvestasiId], references: [id])
masterProgresInvestasiId String?
}
model MasterPencarianInvestor {
@@ -219,6 +216,15 @@ model MasterBank {
updatedAt DateTime @updatedAt
}
model MasterProgresInvestasi {
id String @id @default(cuid())
name String
active Boolean @default(true)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
Investasi Investasi[]
}
model TransaksiInvestasi {
id String @id @default(cuid())
Investasi Investasi @relation(fields: [investasiId], references: [id])
@@ -262,16 +268,3 @@ model MasterStatusTransaksiInvestasi {
TransaksiInvestasi TransaksiInvestasi[]
}
// model Investor {
// id String @id @default(cuid())
// totalBeli String
// jumlahLembar String
// active Boolean @default(true)
// createdAt DateTime @default(now())
// updatedAt DateTime @updatedAt
// Investasi Investasi? @relation(fields: [investasiId], references: [id])
// investasiId String?
// User User? @relation(fields: [userId], references: [id])
// userId String?
// }