sale_receipt_validation_questions

This model contains the questions and their options and status used to validate a sale receipt's legitimacy.

Model

FieldTypeNullableDefault value

id

int4

question

varchar

options

json

order

int4

is_active

bool

created_at

timestamp

updated_at

timestamp

Description of fields

id

This is the primary key

question

This is an actual question that is used to validate the receipt.

options

Comma-separated list of possible answers for the questions. The format of the options which mentioned below.

[
    {"A": "हाँ" }, 
    {"B": "नहीं"},
    {"C": "दिख नहीं रहा है"}
]

order

The order in which the question should be displayed.

is_active

Flag indicating whether the question is currently in use.

Last updated