From 1a1fd2397d8360a6cda9fb1c979f0846f5d73fc1 Mon Sep 17 00:00:00 2001 From: "jozsef.b@aycode.com" <9Rj@D}fVwBaN> Date: Sat, 20 Jan 2024 10:35:41 +0100 Subject: [PATCH] Add IAcSerialiyationToJson interface --- AyCode.Core/Interfaces/IAcSerializableToJson.cs | 5 +++++ AyCode.Interfaces/AyCode.Interfaces.csproj | 4 ++++ AyCode.Interfaces/Entities/IEntity.cs | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 AyCode.Core/Interfaces/IAcSerializableToJson.cs diff --git a/AyCode.Core/Interfaces/IAcSerializableToJson.cs b/AyCode.Core/Interfaces/IAcSerializableToJson.cs new file mode 100644 index 0000000..e8ac9fc --- /dev/null +++ b/AyCode.Core/Interfaces/IAcSerializableToJson.cs @@ -0,0 +1,5 @@ +namespace AyCode.Core.Interfaces; + +public interface IAcSerializableToJson +{ +} \ No newline at end of file diff --git a/AyCode.Interfaces/AyCode.Interfaces.csproj b/AyCode.Interfaces/AyCode.Interfaces.csproj index e72a4bf..ef82ca1 100644 --- a/AyCode.Interfaces/AyCode.Interfaces.csproj +++ b/AyCode.Interfaces/AyCode.Interfaces.csproj @@ -11,4 +11,8 @@ + + + + diff --git a/AyCode.Interfaces/Entities/IEntity.cs b/AyCode.Interfaces/Entities/IEntity.cs index e211572..bc8b3e5 100644 --- a/AyCode.Interfaces/Entities/IEntity.cs +++ b/AyCode.Interfaces/Entities/IEntity.cs @@ -1,10 +1,11 @@  using System.ComponentModel.DataAnnotations; +using AyCode.Core.Interfaces; namespace AyCode.Interfaces.Entities { - public interface IEntity + public interface IEntity : IAcSerializableToJson { }