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

import com.baomidou.mybatisplus.annotation.TableName;
import com.xueyi.common.core.annotation.Correlation;
import com.xueyi.common.core.annotation.Correlations;
import com.xueyi.common.core.annotation.Excel;
import com.xueyi.common.core.constant.basic.OperateConstants;
import com.xueyi.common.core.web.entity.base.BaseEntity;
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.Skill_Action_GROUP;

/**
 * 技能管理 持久化对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "dm_init_skills", excludeProperty = { REMARK })
public class DmInitSkillsPo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 技能code */
    @Excel(name = "技能code")
    protected String skillCode;

    /** 技能描述 */
    @Excel(name = "技能描述")
    protected String info;

    /** 数字人回复 */
    @Excel(name = "数字人回复")
    protected String resp;

    @Correlations({
            @Correlation(groupName = Skill_Action_GROUP, keyType = OperateConstants.SubKeyType.MAIN)
    })
    /** 数字人动作 */
    @Excel(name = "数字人动作")
    protected Long motionId;

    /** 动作名称 */
    @Excel(name = "动作名称")
    protected String motionName;


    /** 执行动作 */
    @Excel(name = "执行动作")
    protected String executeAction;

    protected String auth;

}