mirror of https://github.com/abpframework/abp
parent
4099af8cc1
commit
9e8a18ceae
@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using JetBrains.Annotations;
|
||||
using Volo.Abp.Data;
|
||||
|
||||
namespace Volo.Abp.MultiTenancy
|
||||
{
|
||||
[Serializable]
|
||||
public class TenantInfo
|
||||
{
|
||||
public Guid Id { get; }
|
||||
|
||||
public string Name { get; }
|
||||
|
||||
public ConnectionStrings ConnectionStrings { get; }
|
||||
|
||||
private TenantInfo()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public TenantInfo(Guid id, [NotNull] string name)
|
||||
{
|
||||
Check.NotNull(name, nameof(name));
|
||||
|
||||
Id = id;
|
||||
Name = name;
|
||||
|
||||
ConnectionStrings = new ConnectionStrings();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue