1.加入ai对话框 模块日报功能
This commit is contained in:
@@ -17,6 +17,10 @@ public class AdminUserRespDTO {
|
||||
* 用户ID
|
||||
*/
|
||||
private Long id;
|
||||
/**
|
||||
* 用户账号
|
||||
*/
|
||||
private String username;
|
||||
/**
|
||||
* 用户昵称
|
||||
*/
|
||||
|
||||
@@ -49,6 +49,9 @@ public class TenantRespVO {
|
||||
@Schema(description = "账号数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
||||
private Integer accountCount;
|
||||
|
||||
@Schema(description = "租户提示词", example = "")
|
||||
private String tenantPrompt;
|
||||
|
||||
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@@ -50,6 +50,9 @@ public class TenantSaveReqVO {
|
||||
@NotNull(message = "账号数量不能为空")
|
||||
private Integer accountCount;
|
||||
|
||||
@Schema(description = "租户提示词", example = "")
|
||||
private String tenantPrompt;
|
||||
|
||||
// ========== 仅【创建】时,需要传递的字段 ==========
|
||||
|
||||
@Schema(description = "用户账号", requiredMode = Schema.RequiredMode.REQUIRED, example = "yudao")
|
||||
|
||||
@@ -85,5 +85,9 @@ public class TenantDO extends BaseDO {
|
||||
* 账号数量
|
||||
*/
|
||||
private Integer accountCount;
|
||||
/**
|
||||
* 租户提示词
|
||||
*/
|
||||
private String tenantPrompt;
|
||||
|
||||
}
|
||||
|
||||
@@ -394,6 +394,7 @@ CREATE TABLE IF NOT EXISTS "system_tenant" (
|
||||
"package_id" bigint NOT NULL,
|
||||
"expire_time" timestamp NOT NULL,
|
||||
"account_count" int NOT NULL,
|
||||
"tenant_prompt" varchar(2000) DEFAULT '',
|
||||
"creator" varchar(64) DEFAULT '',
|
||||
"create_time" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updater" varchar(64) DEFAULT '',
|
||||
|
||||
Reference in New Issue
Block a user