Working on data and sztl
This commit is contained in:
34
SessionZero/Data/SzObject.cs
Normal file
34
SessionZero/Data/SzObject.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System.Collections.Generic;
|
||||
using SessionZero.Data.Sztl;
|
||||
|
||||
namespace SessionZero.Data;
|
||||
|
||||
public class SzObject
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Uuid { get; set; }
|
||||
public string TemplateId { get; set; }
|
||||
|
||||
public Dictionary<string, SzField> Fields { get; set; } = new();
|
||||
public Dictionary<string, SzFieldGroup> FieldGroups { get; set; } = new();
|
||||
|
||||
public virtual object? GetFieldValue(string fieldPath)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public virtual T GetFieldValue<T>(string fieldPath)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public virtual string GetFieldValueAsString(string fieldPath)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public virtual string SetFieldValue(string fieldPath, object value)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user