Created
March 7, 2023 16:33
-
-
Save bjoerntx/bf8297c487ddd92b16b597d9732f6506 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 SmartFormField { | |
public string Name { get; set; } | |
public string Text { get; set; } | |
public string DisplayName { 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 List<string> Items { get; set; } = new List<string>(); | |
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