| 12345678910111213141516171819202122232425 |
- enum OperationType {
- CREATE
- READ
- UPDATE
- DELETE
- }
- model SysOperationLog {
- id String @id @map("_id") @default(auto()) @db.ObjectId
- username String?
- menuId String? @map("menu_id") @db.ObjectId
- description String
- type OperationType
- status Boolean
- method String
- path String
- body Json?
- response Json?
- ipAddress String @map("ip_address")
- callMethod String @map("call_method")
- createTime DateTime @default(now()) @map("create_time")
- updateTime DateTime @default(now()) @updatedAt @map("update_time")
- @@map("sys_operation_log")
- }
|