package com.za.bean.request

data class SaveEleOrderRequest(
    val taskOrderId: Int? = null,
    val userOrderId: Int? = null,
    val state: Int? = null,
    val hasDamage: Int? = null, //是否有算上 1 有
    val hasSuccess: Int? = null, // 作业是否完成  1成功 0失败
    val customerSignPath: String? = null, //客户签名照片
    val recipientSignPath: String? = null, //接车人签名
    val waitstaffSignPath: String? = null, //服务人员签名
    val damageFileList: List<String?>? = null, //损伤文件列表
    val userOrderCode: String? = null, //仅在历史补传电子工单时传
    val tyreNumber: Int? = null, //小轮个数
    val lng: Double? = null,
    val lat: Double? = null,
    val isFinish: Boolean = false, //订单是否完成进入历史  true  完成
    /**
     * 操作时间(时间戳)
     */
    val operateTime: String? = null,

    /**
     * 0 正常上传  1离线补传
     */
    val offlineMode: Int? = null)

data class QueryEleOrderRequest(val taskOrderId: Int? = null,
                                val userOrderId: Int? = null,
                                val userOrderCode: String? = null)


data class ElectronOrderResponse(val id: Int? = null,
                                 val userOrderId: Int? = null,
                                 val state: Int? = null,
                                 val hasDamage: Int? = null, //1 有损伤 2 无损伤
                                 val hasSuccess: Int? = null,
                                 val customerSignPath: String? = null,
                                 val recipientSignPath: String? = null,
                                 val waitstaffSignPath: String? = null,//
                                 val createTime: String? = null,
                                 val updateTime: String? = null,
                                 val damageFileList: List<String>? = null,
                                 val vinNo: String? = null,
                                 val plateNumberBean: PlateNumberBean? = null,
                                 val serviceId: Int? = null,
                                 val serviceName: String? = null,
                                 val flowId: Int? = null,
                                 val serviceTerm: String? = null)

data class PlateNumberBean(val value: String? = null)