SerializeObjectExtensions, IAcModelDtoBase improvements

This commit is contained in:
Loretta 2024-11-17 16:56:01 +01:00
parent 3928343996
commit 4b540745e0
3 changed files with 7 additions and 3 deletions

View File

@ -10,7 +10,7 @@ namespace AyCode.Core.Extensions;
public static class SerializeObjectExtensions
{
private static readonly JsonSerializerSettings Options = new()
public static readonly JsonSerializerSettings Options = new()
{
//TypeNameHandling = TypeNameHandling.All,
PreserveReferencesHandling = PreserveReferencesHandling.Objects,

View File

@ -2,7 +2,11 @@
namespace AyCode.Interfaces;
public interface IAcModelDtoBase : IEntityGuid
public interface IAcModelDtoBaseEmpty
{
}
public interface IAcModelDtoBase : IEntityGuid, IAcModelDtoBaseEmpty
{
}

View File

@ -5,7 +5,7 @@ using AyCode.Interfaces.Profiles.Dtos;
namespace AyCode.Interfaces.Users.Dtos;
public interface IAcUserDtoMinBase : IEntityGuid
public interface IAcUserDtoMinBase : IAcModelDtoBase
{
public Guid AffiliateId { get; set; }
}