feat: 添加多租户界面及种子数据
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace Yi.Framework.TenantManagement.Application.Contracts.Dtos
|
||||
{
|
||||
public class TenantCreateInput
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string TenantConnectionString { get; set; }
|
||||
|
||||
public SqlSugar.DbType DbType { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Ddd.Application.Contracts;
|
||||
|
||||
namespace Yi.Framework.TenantManagement.Application.Contracts.Dtos
|
||||
{
|
||||
public class TenantGetListInput
|
||||
public class TenantGetListInput: PagedAllResultRequestDto
|
||||
{
|
||||
public string? Name { get; set; }
|
||||
//public int? EntityVersion { get; set; }
|
||||
|
||||
//public string? TenantConnectionString { get; set; }
|
||||
|
||||
//public DbType? DbType { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@@ -9,5 +10,12 @@ namespace Yi.Framework.TenantManagement.Application.Contracts.Dtos
|
||||
{
|
||||
public class TenantGetListOutputDto:EntityDto<Guid>
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int EntityVersion { get; set; }
|
||||
|
||||
public string TenantConnectionString { get; set; }
|
||||
|
||||
public SqlSugar.DbType DbType { get; set; }
|
||||
public DateTime CreationTime { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@@ -9,5 +10,13 @@ namespace Yi.Framework.TenantManagement.Application.Contracts.Dtos
|
||||
{
|
||||
public class TenantGetOutputDto:EntityDto<Guid>
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int EntityVersion { get; set; }
|
||||
|
||||
public string TenantConnectionString { get; set; }
|
||||
|
||||
public SqlSugar.DbType DbType { get; set; }
|
||||
|
||||
public DateTime CreationTime { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Data;
|
||||
|
||||
namespace Yi.Framework.TenantManagement.Application.Contracts.Dtos
|
||||
{
|
||||
public class TenantUpdateInput
|
||||
{
|
||||
public string? Name { get; set; }
|
||||
public int? EntityVersion { get; set; }
|
||||
|
||||
public string? TenantConnectionString { get; set; }
|
||||
|
||||
public SqlSugar.DbType? DbType { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user