package ta1.cis.model.response

import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize

@Parcelize
data class ResponsePertanyaan(
	@SerializedName("data")
	val data: List<DataItem?>? = null,
	@SerializedName("message")
	val message: String? = null,
	@SerializedName("status")
	val status: Int? = null
) : Parcelable

@Parcelize
data class OpsiItem(
	@SerializedName("no_opsi")
	val noOpsi: String? = null,
	@SerializedName("ket_opsi")
	val ketOpsi: String? = null
) : Parcelable

@Parcelize
data class DataItem(
	@SerializedName("kuesioner_pertanyaan_id")
	val kuesionerPertanyaanId: Int? = null,
	@SerializedName("tipe_opsi")
	val tipeOpsi: String? = null,
	@SerializedName("opsi")
	val opsi: List<OpsiItem?>? = null,
	@SerializedName("kategori")
	val kategori: String? = null,
	@SerializedName("kuesioner_id")
	val kuesionerId: String? = null,
	@SerializedName("pertanyaan")
	val pertanyaan: String? = null
) : Parcelable
