All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.stylefeng.roses.kernel.migration.api.pojo.MigrationAggregationPOJO Maven / Gradle / Ivy

There is a newer version: 7.3.4
Show newest version
package cn.stylefeng.roses.kernel.migration.api.pojo;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

/**
 * 数据迁移聚合类
 *
 * @author majianguo
 * @date 2021/7/6 16:10
 */
@Data
public class MigrationAggregationPOJO extends BaseRequest {

    /**
     * 应用和模块名称列表
     */
    @NotNull(message = "模块名称不能为空", groups = {export.class, restore.class})
    @ChineseDescription("应用和模块名称列表")
    private List appAndModuleNameList;

    /**
     * 数据集
     */
    @NotNull(message = "数据集不能为空", groups = {restore.class})
    @ChineseDescription("数据集")
    private Map data;

    /**
     * 导出
     */
    public @interface export {

    }

    /**
     * 恢复
     */
    public @interface restore {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy