Working on data and sztl
This commit is contained in:
@@ -1,25 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace SessionZero.Data.Sztl;
|
||||
|
||||
public class SztlField
|
||||
{
|
||||
public required string Id { get; set; }
|
||||
public required SztlFieldType FieldType { get; set; }
|
||||
public object? Value { get; set; } = null;
|
||||
|
||||
public bool TrySetValue()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public T TryGetValue<T>()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
public enum SztlFieldType
|
||||
{
|
||||
Number, Text, Textbox, Bool, Object, Formula
|
||||
public required SzFieldType Type { get; set; }
|
||||
public object? DefaultValue { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public bool IsList { get; set; }
|
||||
public bool IsTextBlock { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user