package cn.yyxx.eyuangame.core.entity

/**
 * @author #Suyghur.
 * Created on 2021/06/21
 */
class ResultInfo {

    /**
     * 1是成功，非1失败
     */
    var code: Int = -1

    /**
     * 返回信息
     */
    var msg: String = ""

    /**
     * 返回的数据
     */
    var data: String = ""

    init {
        code = -1
        msg = ""
        data = ""
    }

    override fun toString(): String {
        return "ResultInfo(code=$code, msg='$msg', data='$data')"
    }

}