ExtStore.java 1023 Bytes
package com.diligrp.rider.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * 外部门店表
 * 接入方通过 API 注册/同步自己系统的门店到配送中台
 * 与 AppKey 绑定,一个应用可有多个门店
 */
@Data
@TableName("ext_store")
public class ExtStore {

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

    /** 所属应用 AppKey */
    private String appKey;

    /** 接入方自己系统的门店ID(外部系统的原始ID,用于对账) */
    private String outStoreId;

    /** 门店名称 */
    private String name;

    /** 门店地址 */
    private String address;

    /** 经度 */
    private String lng;

    /** 纬度 */
    private String lat;

    /** 所属城市ID */
    private Long cityId;

    /** 门店联系电话 */
    private String phone;

    /** 营业状态:0=关闭 1=营业 */
    private Integer status;

    /** 备注 */
    private String remark;

    private Long createTime;

    private Long updateTime;
}