Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / meet / PeopleLocation.java
package com.newfiber.api.pc.model.meet;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 当前手机APP登录用户的定位信息
 * @description: TODO
 * @author: 张鸿志
 * @date: 2021/1/6 19:43
 * @version: v1.0
 */
@Data
@TableName("people_location")
@ApiModel("登录用的当前定位信息")
public class PeopleLocation implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("user_no")
    @ApiModelProperty("用户编号(唯一标识)")
    private String userNo;
    @TableField("x")
    @ApiModelProperty("经度")
    private String x;
    @TableField("y")
    @ApiModelProperty("纬度")
    private String y;
    @TableField("update_time")
    @ApiModelProperty("最后一次更新时间")
    private Date updateTime;
    /** 当前用户是否在线(0:不在线,1:在线) */
    @TableField(exist = false)
    private Integer state;
}