package com.cyksj.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.cyksj.model.BaseEntity;
import com.ejlchina.searcher.bean.DbIgnore;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/*
 *项目名: netflix-job
 *文件名: GroupsRelationExpiryRecord
 *创建者: JavaZou
 *创建时间:2023/9/4 16:48
 */
@Getter
@Setter
@SearchBean(tables = "groups_relation_expiry_record")
public class GroupsRelationExpiryRecord extends BaseEntity {
	private Long userId;

	private String nickname;

	/**
	 * 注册方式
	 */
	private String registerEnv;

	private String register;

	/**
	 * 联系方式
	 */
	private String contact;

	/**
	 * 是否加入了企业微信
	 */
	private Boolean isJoinCorpWx;

	private Long goodsId;

	private String goodsTitle;

	private Long relationId;

	private Date startTime;

	private Date expiryTime;

	private Long skuId;

	private String specVal;

	private Boolean isReBuy;

	private Long reBuyOrderId;

	private Date reBuyTime;

	private Long reBuyGoodsId;

	private String reBuyGoodsTitle;

	private Long reBuySkuId;

	private String reBuySpecVal;

	/**
	 * 分配时间
	 */
	private Date assignTime;

	private Long customerServiceId;

	/**
	 * 分配客服
	 */
	private String customerService;

	private String followId;

	/**
	 * 是否跟进
	 */
	private Boolean isFollow;

	/**
	 * 到期状态
	 * 0已到期
	 */
	private Integer accountStatus;

	@DbIgnore
	@TableField(exist = false)
	private String corpUserName;

	@DbIgnore
	@TableField(exist = false)
	private String corpHeadImgUrl;
}
