1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| package cn.stylefeng.roses.kernel.migration.api.enums;
|
| import lombok.Getter;
|
| /**
| * 迁移类型枚举
| *
| * @author majianguo
| * @date 2021/7/6 16:25
| */
| @Getter
| public enum MigrationAggregationTypeEnum {
|
| /**
| * 全量迁移
| */
| MIGRATION_FULL("FULL", "全量迁移"),
|
| /**
| * 增量迁移
| */
| MIGRATION_INCREMENTAL("INCREMENTAL", "增量迁移");
|
| private final String code;
|
| private final String name;
|
| MigrationAggregationTypeEnum(String code, String name) {
| this.code = code;
| this.name = name;
| }
| }
|
|