Created static object provider + added some properties

This commit is contained in:
2024-10-05 12:18:32 +02:00
parent 66ddc22012
commit 9cf818c55d
30 changed files with 186 additions and 77 deletions

View File

@@ -2,16 +2,18 @@ using System.Text.Json.Serialization;
namespace HopFrame.Web.Admin.Models;
public class AdminPageProperty {
public sealed class AdminPageProperty {
public string Name { get; set; }
public string DisplayName { get; set; }
public string Description { get; set; }
public string Prefix { get; set; }
public bool DisplayInListing { get; set; } = true;
public bool Sortable { get; set; } = true;
public bool Editable { get; set; } = true;
public bool EditDisplayValue { get; set; } = true;
public bool Bold { get; set; }
public bool Ignore { get; set; }
[JsonIgnore]
public Type Type { get; set; }
}