remove POCO interfaces

This commit is contained in:
2021-05-04 17:23:52 +02:00
parent 6d6983c9da
commit 8585c35ef3
173 changed files with 988 additions and 1805 deletions
+5 -23
View File
@@ -1,42 +1,24 @@
using System;
namespace zero.Core.Entities
namespace zero.Core.Entities
{
/// <summary>
/// A module can consist of unlimited properties and be rendered as you wish
/// The backoffice rendering is done by an IRenderer
/// </summary>
public class Module : IModule
{
/// <inheritdoc />
public string Id { get; set; }
/// <inheritdoc />
public uint Sort { get; set; }
/// <inheritdoc />
public bool IsActive { get; set; }
/// <inheritdoc />
public string ModuleTypeAlias { get; set; }
}
public interface IModule : IZeroIdEntity
public class Module : ZeroIdEntity
{
/// <summary>
/// Sort order
/// </summary>
uint Sort { get; set; }
public uint Sort { get; set; }
/// <summary>
/// Whether the module is visible in the frontend
/// </summary>
bool IsActive { get; set; }
public bool IsActive { get; set; }
/// <summary>
/// Alias of the used module type
/// </summary>
string ModuleTypeAlias { get; set; }
public string ModuleTypeAlias { get; set; }
}
}