package com.fs.company.domain;


import com.fs.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 黑名单对象 company_voice_blacklist
 * @author ZhuanZ（无密码）
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CompanyVoiceRoboticCallBlacklist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 业务类型
     */
    private String businessType;

    /**
     * 1手机号 2客户ID 3企微客户ID
     */
    private Integer targetType;

    /**
     * 对象值
     */
    private String targetValue;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 拉黑原因
     */
    private String reason;

    /**
     * 来源：1手工添加 2系统
     */
    private Integer source;

    /**
     * 状态：1生效 0禁用
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    /**
     * 逻辑删除：0否 1是
     */
    private Integer deleted;

    /**
     * 只看全局黑名单
     */
    private Boolean onlyGlobal;

}
