package com.linkwechat.wecom.domain;

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 com.fasterxml.jackson.annotation.JsonFormat;
import com.linkwechat.common.core.domain.BaseEntity;
import com.linkwechat.common.utils.SnowFlakeUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.experimental.SuperBuilder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.Date;


/**
 * 客户标签关系对象 we_flower_customer_tag_rel
 * 
 * @author ruoyi
 * @date 2020-09-19
 */
@Data
@TableName("we_flower_customer_tag_rel")
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class WeFlowerCustomerTagRel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    @ApiModelProperty(value = "企业id")
    @TableField("corp_id")
    private String corpId;

    @ApiModelProperty(value = "企微成员id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty(value = "客户id")
    @TableField("external_userid")
    private String externalUserid;

    @ApiModelProperty(value = "标签id")
    @TableField("tag_id")
    private String tagId;
}
