package com.aiotagro.cattletrade.business.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;

import java.util.Date;

/**
 * 项圈客户端实体
 *
 * @author System
 * @date 2025-01-16
 */
@Data
@TableName(value = "xq_client", autoResultMap = true)
public class XqClient {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("org_id")
    private Integer orgId;

    private Integer uid;

    @TableField("deviceId")
    private String deviceId;

    private Long sn;

    private Integer state;

    private String longitude;

    private String latitude;

    private String altitude;

    @TableField("gps_state")
    private String gpsState;

    private Integer nsat;

    private String rsrp;

    private String battery;

    private String temperature;

    private Long steps;

    @TableField("acc_x")
    private String accX;

    @TableField("acc_y")
    private String accY;

    @TableField("acc_z")
    private String accZ;

    @TableField("bandge_status")
    private Integer bandgeStatus;

    private String ver;

    private Date time;

    private Date uptime;

    @TableField("y_steps")
    private Long ySteps;

    @TableField("is_wear")
    private Integer isWear;

    @TableField("is_temperature")
    private Integer isTemperature;

    @TableField("source_id")
    private Long sourceId;

    private String loctime;

    @TableField("subType")
    private Integer subType;

    private Integer frequency;

    @TableField("vehicle_id")
    private Integer vehicleId;

    @TableField("evening_frequency")
    private Integer eveningFrequency;

    @TableField("tenant_id")
    private Integer tenantId;
    
    /**
     * 运单ID
     */
    @TableField("delivery_id")
    private Integer deliveryId;
    
    /**
     * 运单号
     */
    @TableField("delivery_number")
    private String deliveryNumber;

    /**
     * 车牌号
     */
    @TableField("license_plate")
    private String licensePlate;
}
