You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.3 KiB
C#

using DS.Module.Core.Data;
namespace DS.WMS.Core.Sys.Dtos;
/// <summary>
/// 企业用户注册审核
/// </summary>
public class TenantApplyAuditReq
{
/// <summary>
/// 审核信息
/// </summary>
public CommonAuditInput AuditInfo { get; set; }
/// <summary>
/// 授权用户数
/// </summary>
public int AuthUserNum { get; set; }
/// <summary>
/// 授权Ids
/// </summary>
public List<long> PermissionIds { get; set; }
/// <summary>
/// 模块授权列表
/// </summary>
public List<PermissionAuth> PermissionAuthList { get; set; }
/// <summary>
/// 数据库信息
/// </summary>
public DbInfo DbInfo { get; set; }
}
/// <summary>
/// 模块授权
/// </summary>
public class PermissionAuth
{
/// <summary>
/// 模块Id
/// </summary>
public long PermissionId { get; set; }
/// <summary>
/// 授权数
/// </summary>
public int AuthNum { get; set; }
}
/// <summary>
/// 数据库链接信息
/// </summary>
public class DbInfo
{
/// <summary>
/// 数据库类型
/// </summary>
public SqlSugar.DbType DbType { get; set; } = SqlSugar.DbType.MySql;
/// <summary>
/// 数据库链接字符串
/// </summary>
public string Connection { get; set; }
}