package com.yeejoin.amos.boot.module.jg.biz.edit.event;

import com.yeejoin.amos.boot.module.jg.api.dto.BizRelationDataDto;
import com.yeejoin.amos.boot.module.jg.api.dto.FieldChangeMeta;
import lombok.Getter;
import org.typroject.tyboot.core.foundation.context.RequestContextModel;

import java.util.List;

/**
 * @author Administrator
 */
@Getter
public class BaseBizDataChangeEvent extends EmptyDataChangeEvent {

    private final List<FieldChangeMeta> data;

    public BaseBizDataChangeEvent(Object source, BizRelationDataDto bizRelationData, List<FieldChangeMeta> data, RequestContextModel requestContext) {
        super(source, bizRelationData, requestContext);
        this.data = data;
    }
}
