MerchantStore.java
1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
package com.diligrp.rider.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
/**
* 商家店铺表
* merchant_store表
*/
@Data
@TableName("merchant_store")
public class MerchantStore {
@TableId(type = IdType.AUTO)
private Long id;
/** 店铺名称 */
private String name;
/** 店铺封面图 */
private String thumb;
/** 所属城市ID */
private Long cityId;
/** 店铺地址 */
private String address;
/** 经度 */
private String lng;
/** 纬度 */
private String lat;
/** 营业状态:0=打烊 1=营业 */
private Integer operatingState;
/** 是否自动接单:0=否 1=是 */
private Integer automaticOrder;
/** 配送类型:1=外卖配送 2=到店自提 */
private Integer shippingType;
/** 免运费门槛(订单金额满X元免运费,0=不免) */
private BigDecimal freeShipping;
/** 起送金额(订单金额低于此值不接单,0=不限) */
private BigDecimal upToSend;
/** 营业日期JSON,如[1,2,3,4,5]表示周一到周五 */
private String openDate;
/** 营业时间JSON,如["09:00","22:00"] */
private String openTime;
/** 店铺简介 */
private String about;
/** 关联账号ID(merchant_users表) */
private Long accountId;
/**
* 关联接入方 AppKey(为空=平台自建门店)
* 外部系统同步门店时写入,用于标识门店归属哪个接入方
*/
private String appKey;
/**
* 接入方自己系统的门店ID(外部门店编号)
* 推单时传此字段,中台自动匹配门店经纬度
* 平台自建门店也可手动填入,便于与外部系统对账
*/
private String outStoreId;
/** 排序 */
private Integer listOrder;
/** 是否删除 */
@TableLogic
private Integer isDel;
private Long addTime;
}