first things
This commit is contained in:
12
Datamodels/Lookups/LookupCategory.cs
Normal file
12
Datamodels/Lookups/LookupCategory.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
14
Datamodels/Lookups/LookupValue.cs
Normal file
14
Datamodels/Lookups/LookupValue.cs
Normal 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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user