无关风月
2024-07-11 eb6b6dbb35a9f029e0b7d269773685c19fd40976
cloud-server-management/src/main/java/com/dsh/course/entity/PushOrder.java
New file
@@ -0,0 +1,51 @@
package com.dsh.course.entity;
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 lombok.Data;
/**
 * 推单设置
 */
@Data
@TableName("t_sys_push_order")
public class PushOrder {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    /**
     * 企业id
     */
    @TableField("companyId")
    private Integer companyId;
    /**
     * 推单距离(公里)
     */
    @TableField("pushDistance")
    private Double pushDistance;
    /**
     * 推单时间(秒)
     */
    @TableField("pushTime")
    private Integer pushTime;
    /**
     * 推单占所有司机百分比
     */
    @TableField("driverProportion")
    private Double driverProportion;
    /**
     * 推单次数(1=第一轮,2=第二轮,3=第三轮)
     */
    @TableField("type")
    private Integer type;
    /**
     * 推单单据类型(1=专车)
     */
    @TableField("pushType")
    private Integer pushType;
}