Browse Source

Inherit aggregate roots from FullAuditedAggregateRoot

pull/961/head
Halil ibrahim Kalkan 7 years ago
parent
commit
2de21f72d6
  1. 4
      modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/ApiResources/ApiResource.cs
  2. 5
      modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/Clients/Client.cs
  3. 4
      modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/IdentityResources/IdentityResource.cs

4
modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/ApiResources/ApiResource.cs

@ -3,11 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using IdentityServer4;
using JetBrains.Annotations;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;
namespace Volo.Abp.IdentityServer.ApiResources
{
public class ApiResource : AggregateRoot<Guid>
public class ApiResource : FullAuditedAggregateRoot<Guid>
{
[NotNull]
public virtual string Name { get; protected set; }

5
modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/Clients/Client.cs

@ -4,12 +4,11 @@ using System.Linq;
using IdentityServer4;
using IdentityServer4.Models;
using JetBrains.Annotations;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Guids;
using Volo.Abp.Domain.Entities.Auditing;
namespace Volo.Abp.IdentityServer.Clients
{
public class Client : AggregateRoot<Guid>
public class Client : FullAuditedAggregateRoot<Guid>
{
public virtual string ClientId { get; set; }

4
modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/IdentityResources/IdentityResource.cs

@ -2,11 +2,11 @@
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;
namespace Volo.Abp.IdentityServer.IdentityResources
{
public class IdentityResource : AggregateRoot<Guid>
public class IdentityResource : FullAuditedAggregateRoot<Guid>
{
public virtual string Name { get; set; }

Loading…
Cancel
Save