mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	@@ -17,7 +17,7 @@ import org.dromara.common.mybatis.core.domain.BaseEntity;
 | 
			
		||||
public class SysOssConfig extends BaseEntity {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 主建
 | 
			
		||||
     * 主键
 | 
			
		||||
     */
 | 
			
		||||
    @TableId(value = "oss_config_id")
 | 
			
		||||
    private Long ossConfigId;
 | 
			
		||||
 
 | 
			
		||||
@@ -25,9 +25,9 @@ import lombok.EqualsAndHashCode;
 | 
			
		||||
public class SysOssConfigBo extends BaseEntity {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 主建
 | 
			
		||||
     * 主键
 | 
			
		||||
     */
 | 
			
		||||
    @NotNull(message = "主建不能为空", groups = {EditGroup.class})
 | 
			
		||||
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
 | 
			
		||||
    private Long ossConfigId;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
@@ -25,7 +25,7 @@ public class SysOssConfigVo implements Serializable {
 | 
			
		||||
    private static final long serialVersionUID = 1L;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 主建
 | 
			
		||||
     * 主键
 | 
			
		||||
     */
 | 
			
		||||
    private Long ossConfigId;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1186,7 +1186,7 @@ create table sys_oss_config (
 | 
			
		||||
alter table sys_oss_config add constraint pk_sys_oss_config primary key (oss_config_id);
 | 
			
		||||
 | 
			
		||||
comment on table sys_oss_config                 is '对象存储配置表';
 | 
			
		||||
comment on column sys_oss_config.oss_config_id  is '主建';
 | 
			
		||||
comment on column sys_oss_config.oss_config_id  is '主键';
 | 
			
		||||
comment on column sys_oss_config.tenant_id      is '租户编码';
 | 
			
		||||
comment on column sys_oss_config.config_key     is '配置key';
 | 
			
		||||
comment on column sys_oss_config.access_key     is 'accesskey';
 | 
			
		||||
@@ -1237,7 +1237,7 @@ create table sys_client (
 | 
			
		||||
alter table sys_client add constraint pk_sys_client primary key (id);
 | 
			
		||||
 | 
			
		||||
comment on table sys_client                         is '系统授权表';
 | 
			
		||||
comment on column sys_client.id                     is '主建';
 | 
			
		||||
comment on column sys_client.id                     is '主键';
 | 
			
		||||
comment on column sys_client.client_id              is '客户端id';
 | 
			
		||||
comment on column sys_client.client_key             is '客户端key';
 | 
			
		||||
comment on column sys_client.client_secret          is '客户端秘钥';
 | 
			
		||||
 
 | 
			
		||||
@@ -1188,7 +1188,7 @@ create table if not exists sys_oss_config
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
comment on table sys_oss_config                 is '对象存储配置表';
 | 
			
		||||
comment on column sys_oss_config.oss_config_id  is '主建';
 | 
			
		||||
comment on column sys_oss_config.oss_config_id  is '主键';
 | 
			
		||||
comment on column sys_oss_config.tenant_id      is '租户编码';
 | 
			
		||||
comment on column sys_oss_config.config_key     is '配置key';
 | 
			
		||||
comment on column sys_oss_config.access_key     is 'accessKey';
 | 
			
		||||
@@ -1238,7 +1238,7 @@ create table sys_client (
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
comment on table sys_client                         is '系统授权表';
 | 
			
		||||
comment on column sys_client.id                     is '主建';
 | 
			
		||||
comment on column sys_client.id                     is '主键';
 | 
			
		||||
comment on column sys_client.client_id              is '客户端id';
 | 
			
		||||
comment on column sys_client.client_key             is '客户端key';
 | 
			
		||||
comment on column sys_client.client_secret          is '客户端秘钥';
 | 
			
		||||
 
 | 
			
		||||
@@ -817,7 +817,7 @@ create table sys_oss (
 | 
			
		||||
-- OSS对象存储动态配置表
 | 
			
		||||
-- ----------------------------
 | 
			
		||||
create table sys_oss_config (
 | 
			
		||||
    oss_config_id   bigint(20)    not null                  comment '主建',
 | 
			
		||||
    oss_config_id   bigint(20)    not null                  comment '主键',
 | 
			
		||||
    tenant_id       varchar(20)             default '000000'comment '租户编号',
 | 
			
		||||
    config_key      varchar(20)   not null  default ''      comment '配置key',
 | 
			
		||||
    access_key      varchar(255)            default ''      comment 'accessKey',
 | 
			
		||||
 
 | 
			
		||||
@@ -2988,7 +2988,7 @@ ON [PRIMARY]
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
EXEC sp_addextendedproperty
 | 
			
		||||
    'MS_Description', N'主建',
 | 
			
		||||
    'MS_Description', N'主键',
 | 
			
		||||
    'SCHEMA', N'dbo',
 | 
			
		||||
    'TABLE', N'sys_oss_config',
 | 
			
		||||
    'COLUMN', N'oss_config_id'
 | 
			
		||||
@@ -3150,7 +3150,7 @@ ON [PRIMARY]
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
EXEC sp_addextendedproperty
 | 
			
		||||
    'MS_Description', N'主建',
 | 
			
		||||
    'MS_Description', N'主键',
 | 
			
		||||
    'SCHEMA', N'dbo',
 | 
			
		||||
    'TABLE', N'sys_client',
 | 
			
		||||
    'COLUMN', N'id'
 | 
			
		||||
 
 | 
			
		||||
@@ -98,7 +98,7 @@ create table sys_client (
 | 
			
		||||
alter table sys_client add constraint pk_sys_client primary key (id);
 | 
			
		||||
 | 
			
		||||
comment on table sys_client                         is '系统授权表';
 | 
			
		||||
comment on column sys_client.id                     is '主建';
 | 
			
		||||
comment on column sys_client.id                     is '主键';
 | 
			
		||||
comment on column sys_client.client_id              is '客户端id';
 | 
			
		||||
comment on column sys_client.client_key             is '客户端key';
 | 
			
		||||
comment on column sys_client.client_secret          is '客户端秘钥';
 | 
			
		||||
 
 | 
			
		||||
@@ -97,7 +97,7 @@ create table sys_client (
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
comment on table sys_client                         is '系统授权表';
 | 
			
		||||
comment on column sys_client.id                     is '主建';
 | 
			
		||||
comment on column sys_client.id                     is '主键';
 | 
			
		||||
comment on column sys_client.client_id              is '客户端id';
 | 
			
		||||
comment on column sys_client.client_key             is '客户端key';
 | 
			
		||||
comment on column sys_client.client_secret          is '客户端秘钥';
 | 
			
		||||
 
 | 
			
		||||
@@ -250,7 +250,7 @@ ON [PRIMARY]
 | 
			
		||||
GO
 | 
			
		||||
 | 
			
		||||
EXEC sp_addextendedproperty
 | 
			
		||||
'MS_Description', N'主建',
 | 
			
		||||
'MS_Description', N'主键',
 | 
			
		||||
'SCHEMA', N'dbo',
 | 
			
		||||
'TABLE', N'sys_client',
 | 
			
		||||
'COLUMN', N'id'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user