remove POCO interfaces
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user