package com.jeequan.jeepay.db.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.jeequan.jeepay.core.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_location_cache")
public class LocationCache extends BaseModel {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String address;

    /**
     * 经度
     */
    private String longitude;

    private String latitude;

    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "updateTime", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
