Add IAcSerialiyationToJson interface
This commit is contained in:
parent
e7456a42bc
commit
1a1fd2397d
|
|
@ -0,0 +1,5 @@
|
||||||
|
namespace AyCode.Core.Interfaces;
|
||||||
|
|
||||||
|
public interface IAcSerializableToJson
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
@ -11,4 +11,8 @@
|
||||||
<Folder Include="Sessions\" />
|
<Folder Include="Sessions\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\AyCode.Core\AyCode.Core.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using AyCode.Core.Interfaces;
|
||||||
|
|
||||||
|
|
||||||
namespace AyCode.Interfaces.Entities
|
namespace AyCode.Interfaces.Entities
|
||||||
{
|
{
|
||||||
public interface IEntity
|
public interface IEntity : IAcSerializableToJson
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue