package com.ruoyi.project.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 组织(客户)合并关系对象 tc_account_relation
 * 
 * @author ruoyi
 * @date 2024-04-22
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TcAccountRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 主体客户ID */
    @Excel(name = "主体客户ID")
    private Long accountId;

    /** 其他客户ID */
    @Excel(name = "其他客户ID")
    private Long otherAccountId;

    /** 删除标记（0：启用  1：停用） */
    @TableLogic
    private String delFlag;

    @Transient
    @TableField(exist = false)
    private String agentName;

}
