package com.yidianling.tests.list.model.bean

import com.google.gson.annotations.SerializedName

/**
 * 测试Model
 * Created by zqk on 17-11-22.
 */
data class Test(
                //测试项目id
                @SerializedName(value = "id", alternate = ["recommendedId"])
                val id: Int,
                //封面url
                @SerializedName(value = "cover", alternate = ["recommendedUrl","shareImage"])
                val cover: String?,
                //测试标题
                @SerializedName(value = "name", alternate = ["recommendedTitle"])
                val name: String?,
                //测试数量
                @SerializedName(value = "test_num", alternate = ["recommendedNum","visitNum"])
                val count: String,
                @SerializedName("test_result_id")
                val testResultId: Int,
                //价格
                @SerializedName(value = "price", alternate = ["recommendedPrice"])
                val price : String,
                //人气（点击数）
                @SerializedName(value = "hits", alternate = ["recommendedHits"])
                val hits : String,
                //是否免费 1.付费 2.免费
                val isFree : Int,
                //内容
                @SerializedName(value = "desc", alternate = ["recommendedContent"])
                val desc : String,
                //支付ID
                val pay_id : String?,
                //红包金额
                @SerializedName(value = "coupon_money", alternate = ["couponMoney"])
                val coupon_money : Float?)