package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 线索分配日志对象 clew_assign_log
 *
 * @author ruoyi
 * @date 2024-12-19
 */
@Data
public class ClewAssignLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 线索ID */
    @Excel(name = "线索ID")
    private Long clewId;

    /** 使用的配置ID */
    @Excel(name = "配置ID")
    private Long configId;

    /** 分配的用户ID */
    @Excel(name = "分配用户ID")
    private Long assignedUserId;

    /** 分配时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "分配时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date assignTime;

    /** 分配规则（ROUND_ROBIN轮询/DEFAULT默认） */
    @Excel(name = "分配规则")
    private String assignRule;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 分配用户名称（用于显示，不存储到数据库） */
    private String assignedUserName;

    /** 配置名称（用于显示，不存储到数据库） */
    private String configName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setClewId(Long clewId) 
    {
        this.clewId = clewId;
    }

    public Long getClewId() 
    {
        return clewId;
    }

    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }

    public void setAssignedUserId(Long assignedUserId) 
    {
        this.assignedUserId = assignedUserId;
    }

    public Long getAssignedUserId() 
    {
        return assignedUserId;
    }

    public void setAssignTime(Date assignTime) 
    {
        this.assignTime = assignTime;
    }

    public Date getAssignTime() 
    {
        return assignTime;
    }

    public void setAssignRule(String assignRule) 
    {
        this.assignRule = assignRule;
    }

    public String getAssignRule() 
    {
        return assignRule;
    }

    public void setRemark(String remark) 
    {
        this.remark = remark;
    }

    public String getRemark() 
    {
        return remark;
    }

    public void setAssignedUserName(String assignedUserName) 
    {
        this.assignedUserName = assignedUserName;
    }

    public String getAssignedUserName() 
    {
        return assignedUserName;
    }

    public void setConfigName(String configName) 
    {
        this.configName = configName;
    }

    public String getConfigName() 
    {
        return configName;
    }
}