CustomerResponseDTO.java 5.4 KB
package cn.com.glsx.entmicro.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

public class CustomerResponseDTO implements Serializable {

    /**
     * 客户名称
     */
    @ApiModelProperty(notes = "客户名称")
    private String customerName;

    /**
     * 客户电话
     */
    @ApiModelProperty(notes = "客户电话")
    private String customerPhone;

    /**
     * '外部联系人头像'
     */
    @ApiModelProperty(notes = "外部联系人头像")
    private String avatar;

    /**
     * 微信号
     */
    @ApiModelProperty(notes = "微信号")
    private String wechatId;

    /**
     * 企业内部标识
     */
    @ApiModelProperty(notes = "企业内部标识")
    private String userid;

    /**
     * 性别 0-未知 1-男性 2-女性
     */
    @ApiModelProperty(notes = "性别 0-未知 1-男性 2-女性")
    private Integer customerSex;

    /**
     * 用户类型 1.微信 2.企微
     */
    @ApiModelProperty(notes = "主键")
    private Integer type;

    /**
     * 客户职位
     */
    @ApiModelProperty(notes = "客户职位")
    private String position;

    /**
     * 所在企业的简称
     */
    @ApiModelProperty(notes = "所在企业的简称")
    private String corpName;

    /**
     * 所在企业的主体名称
     */
    @ApiModelProperty(notes = "所在企业的主体名称")
    private String corpFullName;


    /**
     * 删除时间
     */
    @ApiModelProperty(notes = "删除时间")
    private Date deleteTime;

    /**
     * 商户号
     */
    @ApiModelProperty(notes = "商户号")
    private Integer accountId;

    /**
     * 数据侧内部标识
     */
    @ApiModelProperty(notes = "数据侧内部标识")
    private String oneId;

    /**
     * 客户来源
     */
    @ApiModelProperty(notes = "客户来源")
    private Integer addWay;

    /**
     * 商户号
     */
    @ApiModelProperty(notes = "商户号")
    private Integer merchantid;

    /**
     * 渠道
     */
    @ApiModelProperty(notes = "渠道")
    private String state;

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getWechatId() {
        return wechatId;
    }

    public void setWechatId(String wechatId) {
        this.wechatId = wechatId;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Integer getCustomerSex() {
        return customerSex;
    }

    public void setCustomerSex(Integer customerSex) {
        this.customerSex = customerSex;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getCorpFullName() {
        return corpFullName;
    }

    public void setCorpFullName(String corpFullName) {
        this.corpFullName = corpFullName;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getOneId() {
        return oneId;
    }

    public void setOneId(String oneId) {
        this.oneId = oneId;
    }

    public Integer getAddWay() {
        return addWay;
    }

    public void setAddWay(Integer addWay) {
        this.addWay = addWay;
    }

    public Integer getMerchantid() {
        return merchantid;
    }

    public void setMerchantid(Integer merchantid) {
        this.merchantid = merchantid;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "CustomerResponseDTO{" +
                "customerName='" + customerName + '\'' +
                ", customerPhone='" + customerPhone + '\'' +
                ", avatar='" + avatar + '\'' +
                ", wechatId='" + wechatId + '\'' +
                ", userid='" + userid + '\'' +
                ", customerSex=" + customerSex +
                ", type=" + type +
                ", position='" + position + '\'' +
                ", corpName='" + corpName + '\'' +
                ", corpFullName='" + corpFullName + '\'' +
                ", deleteTime=" + deleteTime +
                ", accountId=" + accountId +
                ", oneId='" + oneId + '\'' +
                ", addWay=" + addWay +
                ", merchantid=" + merchantid +
                ", state='" + state + '\'' +
                '}';
    }
}