Created
September 6, 2021 09:51
-
-
Save bjoerntx/06c98e1b2d235d125292d3a4a2b441d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FormSection { | |
public string Name { get; set; } | |
public List<SmartFormField> FormFields { get; set; } | |
} | |
public class SmartFormField { | |
public string Name { get; set; } | |
public string Text { get; set; } | |
} | |
public class SmartTextFormField : SmartFormField { | |
public string TypeName { get; set; } = "SmartTextFormField"; | |
} | |
public class SmartCheckboxField : SmartFormField { | |
public bool Checked { get; set; } | |
public string TypeName { get; set; } = "SmartCheckboxField"; | |
} | |
public class SmartDropdownField : SmartFormField { | |
public string[] Items { get; set; } | |
public string TypeName { get; set; } = "SmartDropdownField"; | |
} | |
public class SmartDateField : SmartFormField { | |
public string Date { get; set; } | |
public string TypeName { get; set; } = "SmartDateField"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment