first things

This commit is contained in:
Roland Fieger
2021-09-22 12:37:40 +02:00
parent 074df0adec
commit 5e15db793b
53 changed files with 2065 additions and 229 deletions

View File

@@ -0,0 +1,12 @@
using System.Collections.Generic;
namespace Datamodels.Lookups
{
public sealed class LookupCategory
{
public long Id { get; set; }
public string CategoryName { get; set; }
public bool IsActive { get; set; } = true;
public List<LookupValue> LookupValues { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using Newtonsoft.Json;
namespace Datamodels.Lookups
{
public sealed class LookupValue {
public long Id { get; set; }
public string Value { get; set; }
public bool IsActive { get; set; } = true;
[JsonIgnore]
public LookupCategory LookupCategory { get; set; }
}
}