@@ -546,6 +546,26 @@ model WecomPushTemplate {
|
||||
@@map("wecom_push_template")
|
||||
}
|
||||
|
||||
/// 企微群机器人经营报告推送(日报 / 周报 / 月报,与事件消息推送分开)
|
||||
model WecomReportPush {
|
||||
id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
|
||||
kind String @unique @db.VarChar(16)
|
||||
name String @db.VarChar(64)
|
||||
webhookUrl String @map("webhook_url") @db.VarChar(512)
|
||||
enabled Boolean @default(false)
|
||||
mentionWecomUserId String? @map("mention_wecom_user_id") @db.VarChar(64)
|
||||
sendHour Int @default(20) @map("send_hour")
|
||||
sendMinute Int @default(0) @map("send_minute")
|
||||
sendWeekday Int @default(1) @map("send_weekday")
|
||||
sendMonthDay Int @default(1) @map("send_month_day")
|
||||
lastSentPeriod String? @map("last_sent_period") @db.VarChar(16)
|
||||
lastSentAt DateTime? @map("last_sent_at") @db.DateTime(3)
|
||||
createdAt DateTime @default(now()) @map("created_at") @db.DateTime(3)
|
||||
updatedAt DateTime @updatedAt @map("updated_at") @db.DateTime(3)
|
||||
|
||||
@@map("wecom_report_push")
|
||||
}
|
||||
|
||||
/// HQ 语言模型 API 配置(非超管仅可见/可开关自己创建的)
|
||||
model LlmApiConfig {
|
||||
id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
|
||||
|
||||
Reference in New Issue
Block a user