Class InquiryField
A single submitted field/value pair of an Inquiry. The set depends on the form, so it varies per inquiry rather than following a fixed schema.
public sealed record InquiryField : IInquiryField
- Inheritance
-
objectInquiryField
- Implements
Properties
Id
The id of the field row. Server-assigned (auto-increment).
[JsonPropertyName("id")]
public long? Id { get; init; }
Property Value
- long?
InquiryId
The id of the Inquiry the field belongs to.
[JsonPropertyName("inquiryId")]
public string? InquiryId { get; init; }
Property Value
- string
Name
The form field name, lower-cased. A field submitted with several values has one row per value. The fields the contact form stores on the Inquirer or the Inquiry itself (name, address, e-mail, message and the like) do not appear here.
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
- string
Value
The submitted value.
[JsonPropertyName("value")]
public string? Value { get; init; }
Property Value
- string