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

import java.util.Date;

import com.xueyi.common.core.annotation.Correlation;
import com.xueyi.common.core.annotation.Correlations;
import com.xueyi.common.core.constant.basic.OperateConstants;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.common.core.constant.basic.EntityConstants.REMARK;
import static com.xueyi.system.api.digitalmans.domain.merge.MergeGroup.Reception_Staff_GROUP;

/**
 * 接待模式管理 持久化对象
 *
 * @author yinruoxi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "dm_reception", excludeProperty = { REMARK })
public class DmReceptionPo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 负责人 */
    @Excel(name = "负责人")
    protected String headName;

    /** 负责人id */
    @Excel(name = "负责人")
    @Correlations({
            @Correlation(groupName = Reception_Staff_GROUP, keyType = OperateConstants.SubKeyType.MAIN)
    })
    protected Long headId;

    /** 接待日期 */
    @Excel(name = "接待日期")
    protected Date receptionTime;

    /** 触发状态 */
    @Excel(name = "触发状态")
    protected String status;

    /** 开场白 */
    @Excel(name = "开场白")
    protected String welcome;

    /** 数字人id */
    @Excel(name = "数字人id")
    protected Long manId;

}