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

import com.xueyi.common.core.annotation.Correlation;
import com.xueyi.common.core.constant.basic.OperateConstants;
import com.xueyi.system.api.digitalmans.domain.dto.DmManDeviceDto;
import com.xueyi.system.emcs.domain.po.DmDeviceLogFilePo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.system.api.exception.domain.merge.MergeGroup.LOG_DmDevice_GROUP;

/**
 * 日志文件信息记录 数据传输对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DmDeviceLogFileDto extends DmDeviceLogFilePo {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 模块信息 */
    @Correlation(groupName = LOG_DmDevice_GROUP, keyType = OperateConstants.SubKeyType.RECEIVE)
    private DmManDeviceDto dmManDeviceDto;

}