客户扫码关联关系
parent
a992b75005
commit
09951f4bd3
@ -0,0 +1,91 @@
|
||||
package com.kiisoo.ic.customer.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description 客户表
|
||||
* @Author Caps
|
||||
* @Date 2020-04-07
|
||||
*/
|
||||
@Data
|
||||
@TableName ("op_customer")
|
||||
public class OpCustomer {
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 微信openId
|
||||
*/
|
||||
private String wechatOpenId;
|
||||
|
||||
/**
|
||||
* 微信uniId
|
||||
*/
|
||||
private String wechatUniId;
|
||||
|
||||
private String wechatXxxId;
|
||||
|
||||
/**
|
||||
* 会员ID
|
||||
*/
|
||||
private Long memberId;
|
||||
|
||||
/**
|
||||
* 客户类型 1 微信 2 企业微信
|
||||
*/
|
||||
private Long type;
|
||||
|
||||
/**
|
||||
* 客户名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 客户描述
|
||||
*/
|
||||
private String desc;
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
private String mail;
|
||||
|
||||
/**
|
||||
* 品牌ID(考虑下沉)
|
||||
*/
|
||||
private Long brandId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package com.kiisoo.ic.customer.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description 导购客户关系表
|
||||
* @Author Caps
|
||||
* @Date 2020-04-07
|
||||
*/
|
||||
@Data
|
||||
@TableName ("op_seller_customer_relation")
|
||||
public class OpSellerCustomerRelation {
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 导购ID
|
||||
*/
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 客户ID
|
||||
*/
|
||||
private Long customerId;
|
||||
|
||||
/**
|
||||
* 店铺ID
|
||||
*/
|
||||
private Long storeId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.kiisoo.ic.customer.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.kiisoo.ic.customer.entity.OpCustomer;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 客户
|
||||
*/
|
||||
@Repository
|
||||
public interface OpCustomerDOMapper extends BaseMapper<OpCustomer> {
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.kiisoo.ic.customer.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.kiisoo.ic.customer.entity.OpSellerCustomerRelation;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 导购客户
|
||||
*/
|
||||
@Repository
|
||||
public interface OpSellerCustomerRelationDOMapper extends BaseMapper<OpSellerCustomerRelation> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue