package com.cpxt.biz.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 路线状态
 * @TableName biz_customer_route_state
 */
@TableName(value ="biz_customer_route_state")
@Data
public class BizCustomerRouteState implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 路线ID
     */
    private Integer routeId;

    /**
     * 今日订单数
     */
    private Integer todayOrders;

    /**
     * 完成订单数
     */
    private Integer finishOrders;

    /**
     * 完成率
     */
    @TableField(exist = false)
    private Double finishRate;

    /**
     * 平均配送时长（秒）
     */
    private Integer avgTimes;

    /**
     * 当前订单
     */
    private String currentOrder;

    /**
     * 当前车辆ID
     */
    private Integer currentCarId;

    /**
     * 当前司机ID
     */
    private Integer currentDriverId;

    /**
     * 当前副驾ID
     */
    private Integer currentCopilotId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}