package com.sqx.modules.timedtask.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("rider_location")
public class RiderLocation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)

    @ApiModelProperty("主键id")
    private Long id;


    @ApiModelProperty("骑手id")
    private Long userId;


    @ApiModelProperty("骑手当前经度")
    private Double lng;


    @ApiModelProperty("骑手当前纬度")
    private Double lat;

    @ApiModelProperty("骑手当前省")
    private String province;

    @ApiModelProperty("骑手当前市")
    private String city;

    @ApiModelProperty("骑手当前区")
    private String district;

    public RiderLocation() {}
}