package com.gxwebsoft.hjm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 黄家明_gps轨迹
 *
 * @author 科技小王子
 * @since 2025-06-11 12:03:50
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "HjmGpsLog对象", description = "黄家明_gps轨迹")
public class HjmGpsLog implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "车辆ID")
    private Integer carId;

    @Schema(description = "gps编号")
    private String gpsNo;

    @Schema(description = "经度")
    private String longitude;

    @Schema(description = "纬度")
    private String latitude;

    @Schema(description = "设备当前时间")
    private String ddmmyy;

    @Schema(description = "时分秒")
    private String hhmmss;

    @Schema(description = "速度")
    private String speed;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "状态, 0正常, 1冻结")
    private Integer status;

    @Schema(description = "租户id")
    private Integer tenantId;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Schema(description = "操作员电话")
    @TableField(exist = false)
    private String phone;

    @Schema(description = "车辆编号")
    @TableField(exist = false)
    private String carNo;

    @Schema(description = "司机ID")
    @TableField(exist = false)
    private Integer driverId;

}
