ask-and-trust - v1.1.0
    Preparing search index...

    Represents input data for creating a new survey answer. This class is used to validate the survey answer data before storing it in the database.

    • content: the answer content for the survey question.
    • question: the question to which this answer is associated (relation to Questions).
    • createdAt: timestamp of when the answer was created (automatically set).

    The class uses the following decorators:

    • @Field(): Exposes the property in the GraphQL schema (via type-graphql).
    Index

    Constructors

    Properties

    Constructors

    Properties

    content: string