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

import com.xueyi.common.core.annotation.Correlation;
import com.xueyi.common.core.constant.basic.OperateConstants;
import com.xueyi.system.resource.domain.po.DmBackgroundPo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.system.resource.domain.merge.MergeGroup.Background_Resource_GROUP;

/**
 * 背景图素材 数据传输对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DmBackgroundDto extends DmBackgroundPo {

    @Serial
    private static final long serialVersionUID = 1L;

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