package com.crm.rely.backend.core.pojo.table;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author houn
 * @Date 2023/2/20 12:39
 * @PackageName:com.crm.rely.backend.core.pojo.table
 * @ClassName: CustomAllocationRosterTable
 * @Description: TODO
 */
@Data
@Entity
@Table(name = "custom_allocation_roster")
public class CustomAllocationRosterTable extends BaseTable {
    /**
     *
     */
    private Long customId;
    /**
     *
     */
    private Long cId;
    /**
     *
     */
    private Long agentId;
    /**
     * 分配后代理(销售)ID,作为入金后转归属凭证
     */
    private Long allocationAgentId;
    /**
     * 0:未分配 1:已分配 2:成功(跟进成功 入金完成) 3:不分配(长期跟进无果后 不在分配的状态)
     */
    private Integer status;

    private Integer number;

    private Date allocationTime;

    private String sourceCode;
    private String sourceName;
    private String sourceNameEn;

    private Integer followTag;

    private Date followTime;

    private Date completeTime;
}
