Browse Source

【更新】更新tenant表库名和字段id

fengshuonan 4 years ago
parent
commit
1b71192a70

+ 3 - 3
guns-base-support/guns-core/src/main/java/cn/stylefeng/guns/core/tenant/entity/TenantInfo.java

@ -14,7 +14,7 @@ import java.util.Date;
 * @author stylefeng
 * @since 2019-06-16
 */
@TableName("tenant_info")
@TableName("sys_tenant_info")
@Data
public class TenantInfo implements Serializable {
@ -23,8 +23,8 @@ public class TenantInfo implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "tenant_id", type = IdType.ASSIGN_ID)
    private Long tenantId;
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 租户名称