You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
1.7 KiB
Java
125 lines
1.7 KiB
Java
package com.kiisoo.ic.customer.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
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 {
|
|
|
|
public OpCustomer() {
|
|
}
|
|
|
|
public OpCustomer(String name, String phone) {
|
|
this.name = name;
|
|
this.phone = phone;
|
|
}
|
|
|
|
/**
|
|
* 主键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;
|
|
|
|
/**
|
|
* 客户描述
|
|
*/
|
|
@TableField("`desc`")
|
|
private String desc;
|
|
|
|
/**
|
|
* 邮箱
|
|
*/
|
|
private String mail;
|
|
|
|
/**
|
|
* 品牌ID(考虑下沉)
|
|
*/
|
|
private Long brandId;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private Date createTime;
|
|
|
|
/**
|
|
* 修改时间
|
|
*/
|
|
private Date updateTime;
|
|
|
|
/**
|
|
* 创建人
|
|
*/
|
|
private String createBy;
|
|
|
|
/**
|
|
* 修改人
|
|
*/
|
|
private String updateBy;
|
|
|
|
/**
|
|
* 注册时间
|
|
*/
|
|
@TableField(exist = false)
|
|
private Date registerTime;
|
|
|
|
/**
|
|
* 店铺id
|
|
*/
|
|
@TableField(exist = false)
|
|
private Long shopId;
|
|
|
|
/**
|
|
* 是否有效1有效2无效
|
|
*/
|
|
@TableField(exist = false)
|
|
private Integer validType;
|
|
|
|
/**
|
|
* 微信头像
|
|
*/
|
|
private String avatarUrl;
|
|
|
|
}
|