Skip to content

Commit

Permalink
Move TenantEto to the Volo.Abp.MultiTenancy.Abstractions project
Browse files Browse the repository at this point in the history
  • Loading branch information
gdlcf88 committed Nov 10, 2023
1 parent 2d37677 commit e0873c3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<ItemGroup>
<ProjectReference Include="..\Volo.Abp.VirtualFileSystem\Volo.Abp.VirtualFileSystem.csproj" />
<ProjectReference Include="..\Volo.Abp.Localization\Volo.Abp.Localization.csproj" />
<ProjectReference Include="..\Volo.Abp.Auditing.Contracts\Volo.Abp.Auditing.Contracts.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Volo.Abp.Localization;
using Volo.Abp.Auditing;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Volo.Abp.MultiTenancy.Localization;
using Volo.Abp.VirtualFileSystem;
Expand All @@ -7,7 +8,8 @@ namespace Volo.Abp.MultiTenancy;

[DependsOn(
typeof(AbpVirtualFileSystemModule),
typeof(AbpLocalizationModule)
typeof(AbpLocalizationModule),
typeof(AbpAuditingContractsModule)
)]
public class AbpMultiTenancyAbstractionsModule : AbpModule
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
using System;
using Volo.Abp.Auditing;
using Volo.Abp.EventBus;

namespace Volo.Abp.TenantManagement;
namespace Volo.Abp.MultiTenancy;

[Serializable]
[EventName("abp.multi_tenancy.tenant")]
public class TenantEto : IHasEntityVersion
{
public Guid Id { get; set; }

public string Name { get; set; }
public string Name { get; set; } = default!;

Check warning on line 13 in framework/src/Volo.Abp.MultiTenancy.Abstractions/Volo/Abp/MultiTenancy/TenantEto.cs

View check run for this annotation

Codecov / codecov/patch

framework/src/Volo.Abp.MultiTenancy.Abstractions/Volo/Abp/MultiTenancy/TenantEto.cs#L13

Added line #L13 was not covered by tests

public int EntityVersion { get; set; }
}

0 comments on commit e0873c3

Please sign in to comment.