feat: 新增数字藏品模块
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Domain.Entities.Auditing;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Domain.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 数字藏品定义表
|
||||
/// 用于定义数字藏品
|
||||
/// </summary>
|
||||
[SugarTable("DC_Collectibles")]
|
||||
public class CollectiblesAggregateRoot:FullAuditedAggregateRoot<Guid>
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Domain.Entities;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 藏品用户信息表
|
||||
/// </summary>
|
||||
[SugarTable("DC_CollectiblesUserExtraInfo")]
|
||||
public class CollectiblesUserExtraInfoEntity: Entity<Guid>
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Domain.Entities.Auditing;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Domain.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 数字藏品用户存储表
|
||||
/// 表示用户与藏品的库存关系
|
||||
/// </summary>
|
||||
[SugarTable("DC_CollectiblesUserStore")]
|
||||
public class CollectiblesUserStoreAggregateRoot:FullAuditedAggregateRoot<Guid>
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Domain.Entities.Auditing;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Domain.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 交易市场货物
|
||||
/// 用于表示交易市场货物的情况
|
||||
/// </summary>
|
||||
[SugarTable("DC_MarketGoods")]
|
||||
public class MarketGoodsAggregateRoot:FullAuditedAggregateRoot<Guid>
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using SqlSugar;
|
||||
using Volo.Abp.Domain.Entities.Auditing;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Domain.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 挂机表
|
||||
/// 表示用户与挂机道具之间的关系
|
||||
/// 用于定时任务处理自动挖矿
|
||||
/// </summary>
|
||||
[SugarTable("DC_OnHook")]
|
||||
public class OnHookAggregateRoot:FullAuditedAggregateRoot<Guid>
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using Volo.Abp.Domain.Services;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Domain.Managers;
|
||||
|
||||
/// <summary>
|
||||
/// 市场领域服务
|
||||
/// 处理交易市场相关业务,例如交易等
|
||||
/// </summary>
|
||||
public class MarketManager:DomainService
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using Volo.Abp.Domain.Services;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Domain.Managers;
|
||||
|
||||
/// <summary>
|
||||
/// 矿池领域服务
|
||||
/// 处理矿池相关业务,例如挖矿等
|
||||
/// </summary>
|
||||
public class MiningPoolManager:DomainService
|
||||
{
|
||||
|
||||
}
|
||||
@@ -9,18 +9,11 @@
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\framework\Yi.Framework.Mapster\Yi.Framework.Mapster.csproj" />
|
||||
<ProjectReference Include="..\..\..\framework\Yi.Framework.SqlSugarCore.Abstractions\Yi.Framework.SqlSugarCore.Abstractions.csproj" />
|
||||
<ProjectReference Include="..\..\..\module\audit-logging\Yi.Framework.AuditLogging.Domain\Yi.Framework.AuditLogging.Domain.csproj" />
|
||||
<ProjectReference Include="..\..\..\module\bbs\Yi.Framework.Bbs.Domain\Yi.Framework.Bbs.Domain.csproj" />
|
||||
<ProjectReference Include="..\..\..\module\chat-hub\Yi.Framework.ChatHub.Domain\Yi.Framework.ChatHub.Domain.csproj" />
|
||||
<ProjectReference Include="..\..\..\module\rbac\Yi.Framework.Rbac.Domain\Yi.Framework.Rbac.Domain.csproj" />
|
||||
<ProjectReference Include="..\..\..\module\tenant-management\Yi.Framework.TenantManagement.Domain\Yi.Framework.TenantManagement.Domain.csproj" />
|
||||
<ProjectReference Include="..\Yi.Framework.DigitalCollectibles.Domain.Shared\Yi.Framework.DigitalCollectibles.Domain.Shared.csproj" />
|
||||
<ProjectReference Include="..\Yi.Framework.DigitalCollectibles.Domain.Shared\Yi.Framework.DigitalCollectibles.Domain.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="EventHandlers\" />
|
||||
<Folder Include="Entities\" />
|
||||
<Folder Include="Managers\" />
|
||||
<Folder Include="Repositories\" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -2,23 +2,12 @@ using Volo.Abp.Caching;
|
||||
using Volo.Abp.Domain;
|
||||
using Volo.Abp.Modularity;
|
||||
using Yi.Framework.DigitalCollectibles.Domain.Shared;
|
||||
using Yi.Framework.AuditLogging.Domain;
|
||||
using Yi.Framework.Bbs.Domain;
|
||||
using Yi.Framework.ChatHub.Domain;
|
||||
using Yi.Framework.Mapster;
|
||||
using Yi.Framework.Rbac.Domain;
|
||||
using Yi.Framework.TenantManagement.Domain;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Domain
|
||||
{
|
||||
[DependsOn(
|
||||
typeof(YiFrameworkDigitalCollectiblesDomainSharedModule),
|
||||
|
||||
typeof(YiFrameworkTenantManagementDomainModule),
|
||||
typeof(YiFrameworkRbacDomainModule),
|
||||
typeof(YiFrameworkBbsDomainModule),
|
||||
typeof(YiFrameworkChatHubDomainModule),
|
||||
typeof(YiFrameworkAuditLoggingDomainModule),
|
||||
|
||||
typeof(YiFrameworkMapsterModule),
|
||||
typeof(AbpDddDomainModule),
|
||||
|
||||
Reference in New Issue
Block a user