package com.xueyi.system.api.digitalmans.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xueyi.common.core.annotation.Excel;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.common.core.constant.basic.EntityConstants.REMARK;
import static com.xueyi.common.core.constant.basic.EntityConstants.SORT;
import static com.xueyi.common.core.constant.basic.EntityConstants.STATUS;

/**
 * 访客 持久化对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "dm_man_ext", excludeProperty = { STATUS, SORT, REMARK })
public class DmDigitalmanExtPo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 数字人id */
    @Excel(name = "数字人扩展表ID")
    protected Long id;

    /** 访客电话 */
    @Excel(name = "snCode")
    protected String snCode;


    /** 技能信息 */
    @Excel(name = "ip地址")
    protected String ipAddr;

    /** 访客公司 */
    @Excel(name = "访客公司")
    protected String license;

    /** 组织id */
    protected Long deptId;

    /** 数字人id */
    protected String manCode;

    /** 在线状态 */
    protected Integer isOnline;

    protected String deviceId;

    protected String setSpace;


    @Override
    public String toString() {
        return "DmDigitalmanExtPo{" +
                "id=" + id +
                ", snCode='" + snCode + '\'' +
                ", ipAddr='" + ipAddr + '\'' +
                ", license='" + license + '\'' +
                ", deptId=" + deptId +
                ", manCode='" + manCode + '\'' +
                ", isOnline=" + isOnline +
                ", deviceId='" + deviceId + '\'' +
                ", setSpace='" + setSpace + '\'' +
                '}';
    }
}