package com.fs.qw.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("qw_external_contact_transfer_company_audit")
public class QwExternalContactTransferCompanyAudit {

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

    @ApiModelProperty("企微主体ID")
    private Long qwCompanyId;

    @ApiModelProperty("企微CorpID")
    private String corpId;

    @ApiModelProperty("企微主体名称")
    private String corpName;

    @ApiModelProperty("接替公司ID")
    private Long companyId;

    @ApiModelProperty("接替公司名称")
    private String companyName;

    @ApiModelProperty("接替公司销售ID")
    private Long companyUserId;

    @ApiModelProperty("接替公司销售名称")
    private String companyUserName;

    @ApiModelProperty("接替企微用户ID")
    private Long qwUserId;

    @ApiModelProperty("接替企微用户ID(企微)")
    private String qwUserExtId;

    @ApiModelProperty("接替企微用户名称")
    private String qwUserName;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("转接类型 1在职转接 2离职转接")
    private Integer transferType;

    @ApiModelProperty("状态 1待审核 2审核通过 3审核被拒")
    private Integer status;

    @ApiModelProperty("被拒原因")
    private String reason;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("审核时间")
    private LocalDateTime auditTime;

    @ApiModelProperty("审核人")
    private String auditBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("提审公司")
    private Long operCompanyId;
}
