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

import com.xueyi.common.core.annotation.Correlation;
import com.xueyi.common.core.constant.basic.OperateConstants;
import com.xueyi.system.digitalmans.domain.po.DmActionPo;
import com.xueyi.system.resource.domain.dto.DmResourcesDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.system.api.digitalmans.domain.merge.MergeGroup.Action_Resource_GROUP;

/**
 * 动作管理
 数据传输对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DmActionDto extends DmActionPo {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 模块信息 */
    @Correlation(groupName = Action_Resource_GROUP, keyType = OperateConstants.SubKeyType.RECEIVE)
    private DmResourcesDto resource;

}