| 12345678910111213141516171819202122232425 |
- enum OperationType {
- CREATE
- READ
- UPDATE
- DELETE
- }
- model OperationLog {
- id Int @id @default(autoincrement())
- username String?
- menuId Int? @map("menu_id")
- 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")
- }
|