SerializeObjectExtensions, IAcModelDtoBase improvements
This commit is contained in:
parent
3928343996
commit
4b540745e0
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,11 @@
|
|||
|
||||
namespace AyCode.Interfaces;
|
||||
|
||||
public interface IAcModelDtoBase : IEntityGuid
|
||||
public interface IAcModelDtoBaseEmpty
|
||||
{
|
||||
}
|
||||
|
||||
public interface IAcModelDtoBase : IEntityGuid, IAcModelDtoBaseEmpty
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue