create moduletypes in code
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using zero.Core.Entities;
|
||||
|
||||
namespace zero.TestData
|
||||
{
|
||||
public class DownloadModule : Module
|
||||
{
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
using zero.Core.Entities;
|
||||
|
||||
namespace zero.TestData
|
||||
{
|
||||
public class GalleryModule : Module
|
||||
{
|
||||
public List<string> ImageIds { get; set; } = new List<string>();
|
||||
|
||||
public bool IsBigger { get; set; }
|
||||
|
||||
public bool IsFirstImageBigger { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using zero.Core.Entities;
|
||||
|
||||
namespace zero.TestData
|
||||
{
|
||||
public class HeadlineModule : Module
|
||||
{
|
||||
public string Headline { get; set; }
|
||||
|
||||
public string Subline { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using zero.Core.Entities;
|
||||
|
||||
namespace zero.TestData
|
||||
{
|
||||
public class RichtextModule : Module
|
||||
{
|
||||
public string Text { get; set; }
|
||||
|
||||
public bool IsBigger { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using zero.Core.Entities;
|
||||
|
||||
namespace zero.TestData
|
||||
{
|
||||
public class TextWithImageModule : Module
|
||||
{
|
||||
public string Headline { get; set; }
|
||||
|
||||
public string Text { get; set; }
|
||||
|
||||
public string ImageId { get; set; }
|
||||
|
||||
public bool IsLeftAligned { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user